diff options
Diffstat (limited to 'include/plist')
-rw-r--r-- | include/plist/Array.h | 1 | ||||
-rw-r--r-- | include/plist/Dictionary.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/plist/Array.h b/include/plist/Array.h index b81e6b1..fd4dea8 100644 --- a/include/plist/Array.h +++ b/include/plist/Array.h @@ -44,6 +44,7 @@ public : void Insert(Node* node, unsigned int pos); void Remove(Node* node); void Remove(unsigned int pos); + unsigned int GetNodeIndex(Node* node); private : std::vector<Node*> _array; diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h index e43d29e..a937bde 100644 --- a/include/plist/Dictionary.h +++ b/include/plist/Dictionary.h @@ -49,6 +49,7 @@ public : iterator Insert(const std::string& key, Node* node); void Remove(Node* node); void Remove(const std::string& key); + std::string GetNodeKey(Node* key); private : std::map<std::string,Node*> _map; |