public:
typedef std::map<std::string,std::string> AttributeMapType;
-
/// Ctor with parent
Node(Node* parent);
/// Ctor with parent and attributes map
/// Returns the level of the node in the tree
virtual int GetLevel() const { return mParent->GetLevel()+1; }
-
/// Returns the parent of the node
Node* GetParent() const { return mParent; }
/// Remove the given children from the children list
int RemoveChildrenFromList(Node*);
-
/// Get the Attributes Map
AttributeMapType& GetAttributeMap() { return mAttributeMap; }