diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-01-23 18:32:10 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-01-23 18:32:10 -0800 |
commit | 9440f6e585e79861f4dff4793aa0cfc1109041b6 (patch) | |
tree | 90e3b8b2e3a5d4f7c4ccc6e262677e0ddf15ea43 /l10ntools/inc/xmlparse.hxx | |
parent | f461a9b041dcb6e3bbd6db63a84c133cd6931deb (diff) |
Remove DECLARE_LIST( XMLChildNodeList, XMLChildNode* )
Diffstat (limited to 'l10ntools/inc/xmlparse.hxx')
-rw-r--r-- | l10ntools/inc/xmlparse.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 7ade01648249..ada8c8381997 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -133,7 +133,7 @@ public: virtual ~XMLChildNode(){}; }; -DECLARE_LIST( XMLChildNodeList, XMLChildNode * ) +typedef ::std::vector< XMLChildNode* > XMLChildNodeList; //------------------------------------------------------------------------- @@ -144,9 +144,9 @@ class XMLData; class XMLParentNode : public XMLChildNode { private: - XMLChildNodeList *pChildList; + XMLChildNodeList* pChildList; static int dbgcnt; - //int nParentPos; + protected: XMLParentNode( XMLParentNode *pPar ) : XMLChildNode( pPar ), pChildList( NULL ) @@ -173,11 +173,11 @@ public: ); void AddChild( - XMLChildNode *pChild , int pos /// the new child + XMLChildNode *pChild , size_t pos /// the new child ); virtual int GetPosition( ByteString id ); - int RemoveChild( XMLElement *pRefElement ); + size_t RemoveChild( XMLElement *pRefElement ); void RemoveAndDeleteAllChilds(); /// returns a child element which matches the given one |