diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-03 12:21:54 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-03 12:22:10 -0400 |
commit | 3434650848e500d605447388ef7e069ee1515b72 (patch) | |
tree | da05e1bc5dbf5ef321d258f524518e9631dc7574 /src/amount.h | |
parent | 9bdcbffb150387d64e7eff630aaad84fb0d696b1 (diff) | |
download | fork-ledger-3434650848e500d605447388ef7e069ee1515b72.tar.gz fork-ledger-3434650848e500d605447388ef7e069ee1515b72.tar.bz2 fork-ledger-3434650848e500d605447388ef7e069ee1515b72.zip |
Removed the binary caching code, and the XML, QIF and Gnucash parsers.
Diffstat (limited to 'src/amount.h')
-rw-r--r-- | src/amount.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/amount.h b/src/amount.h index d3101f13..1e41e148 100644 --- a/src/amount.h +++ b/src/amount.h @@ -671,51 +671,6 @@ public: /*@}*/ - /** @name Serialization - */ - /*@{*/ - - /** An amount may be deserialized from an input stream or a character - pointer, and it may be serialized to an output stream. The methods - used are: - - read(istream) reads an amount from the given input stream. It - must have been put there using `write(ostream)'. The required - flow of logic is: - amount_t::current_pool->write(out) - amount.write(out) // write out all amounts - amount_t::current_pool->read(in) - amount.read(in) - - read(char *&) reads an amount from data which has been read from - an input stream into a buffer. It advances the pointer passed in - to the end of the deserialized amount. - - write(ostream, [bool]) writes an amount to an output stream in a - compact binary format. If the second parameter is true, - quantities with multiple reference counts will be written in an - optimized fashion. NOTE: This form of usage is valid only for - the binary journal writer, it should not be used otherwise, as it - has strict requirements for reading that only the binary reader - knows about. - */ - void read(std::istream& in); - void read(const char *& data, - char ** pool = NULL, - char ** pool_next = NULL); - void write(std::ostream& out, std::size_t index = 0) const; - - /*@}*/ - - /** @name XML Serialization - */ - /*@{*/ - - void read_xml(std::istream& in); - void write_xml(std::ostream& out, const int depth = 0) const; - - /*@}*/ - /** @name Debugging */ /*@{*/ |