diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-06-06 07:52:12 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-06-06 07:52:12 +0000 |
commit | 5c3263289b3e10c49badd416e12075af0f2f294e (patch) | |
tree | 9d0b1f3bb167f794ec18466f94f7e8ce6b1d02fa /src/xmlstringreader.h | |
parent | 579a58106e541ef4a005eceaf4577048c69fa539 (diff) | |
download | libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.gz libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.bz2 libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.xz libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.zip |
Added comment handling to the XML system. It just discards them completely, but
later it will retain them so that even after modifying the nodes the comments
could be kept in place so they aren't destroyed if something changes.
Also added necesarry functions to the XmlDocument that lets the tests run again
and fixes some issues with multiple ownernership when transfering the contents
to a new document.
Diffstat (limited to 'src/xmlstringreader.h')
-rw-r--r-- | src/xmlstringreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlstringreader.h b/src/xmlstringreader.h index 07da83c..19df427 100644 --- a/src/xmlstringreader.h +++ b/src/xmlstringreader.h | |||
@@ -40,7 +40,7 @@ public: | |||
40 | 40 | ||
41 | private: | 41 | private: |
42 | char getChar( int nIndex = 0 ); | 42 | char getChar( int nIndex = 0 ); |
43 | void usedChar(); | 43 | void usedChar( int nAmnt = 1 ); |
44 | const char *sString; /**< Internal pointer to the input string. */ | 44 | const char *sString; /**< Internal pointer to the input string. */ |
45 | int nIndex; /**< Our index into the string */ | 45 | int nIndex; /**< Our index into the string */ |
46 | int nLength; /**< The computed length of the string */ | 46 | int nLength; /**< The computed length of the string */ |