diff options
author | David <david@xagasoft.com> | 2006-11-24 23:45:14 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2006-11-24 23:45:14 +0000 |
commit | 4b61df8396593f40148a1815478513f95a86d59a (patch) | |
tree | f2a6f5070737770e415c29d95c8f04f460e8344d | |
parent | e1effceb2492aa930cb810866c8da437f57a86bb (diff) | |
download | libbu++-4b61df8396593f40148a1815478513f95a86d59a.tar.gz libbu++-4b61df8396593f40148a1815478513f95a86d59a.tar.bz2 libbu++-4b61df8396593f40148a1815478513f95a86d59a.tar.xz libbu++-4b61df8396593f40148a1815478513f95a86d59a.zip |
david - added size
Diffstat (limited to '')
-rw-r--r-- | src/hash.h | 5 | ||||
-rw-r--r-- | src/tests/xmlreadtest.cpp | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -164,6 +164,11 @@ public: | |||
164 | return nFilled; | 164 | return nFilled; |
165 | } | 165 | } |
166 | 166 | ||
167 | uint32_t size() | ||
168 | { | ||
169 | return nFilled; | ||
170 | } | ||
171 | |||
167 | uint32_t getDeleted() | 172 | uint32_t getDeleted() |
168 | { | 173 | { |
169 | return nDeleted; | 174 | return nDeleted; |
diff --git a/src/tests/xmlreadtest.cpp b/src/tests/xmlreadtest.cpp index 98d8a9e..d061810 100644 --- a/src/tests/xmlreadtest.cpp +++ b/src/tests/xmlreadtest.cpp | |||
@@ -20,8 +20,8 @@ int main( int argc, char *argv[] ) | |||
20 | else if( argv[1][0] == 's' ) | 20 | else if( argv[1][0] == 's' ) |
21 | { | 21 | { |
22 | XmlStringReader r( argv[2], true ); | 22 | XmlStringReader r( argv[2], true ); |
23 | // XmlWriter w( argv[3], "\t", r.detatchRoot() ); | 23 | XmlFileWriter w(stdout, "\t", r.detatchRoot() ); |
24 | // w.write(); | 24 | w.write(); |
25 | } | 25 | } |
26 | 26 | ||
27 | return 0; | 27 | return 0; |