summaryrefslogtreecommitdiffstats
path: root/include/plist/Dictionary.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-28 18:31:34 +0100
committerGravatar Jonathan Beck2009-10-28 18:31:34 +0100
commit6710f4bfb980dd0fe6e75e4d6cba75532cde30e8 (patch)
tree6429eb306d3d464ebbcc0de558559b636d8058c2 /include/plist/Dictionary.h
parentfed2573566c2da1c5489260069a99ae9d2abf255 (diff)
downloadlibplist-6710f4bfb980dd0fe6e75e4d6cba75532cde30e8.tar.gz
libplist-6710f4bfb980dd0fe6e75e4d6cba75532cde30e8.tar.bz2
Format sources to ANSI style using AStyle (astyle --style=ansi).
Diffstat (limited to 'include/plist/Dictionary.h')
-rw-r--r--include/plist/Dictionary.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h
index 38604c8..e43d29e 100644
--- a/include/plist/Dictionary.h
+++ b/include/plist/Dictionary.h
@@ -8,15 +8,15 @@
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22#ifndef PLIST__DICTIONARY_H 22#ifndef PLIST__DICTIONARY_H
@@ -31,27 +31,27 @@ namespace PList
31 31
32class Dictionary : public Structure 32class Dictionary : public Structure
33{ 33{
34 public : 34public :
35 Dictionary(Node* parent = NULL); 35 Dictionary(Node* parent = NULL);
36 Dictionary(plist_t node, Node* parent = NULL); 36 Dictionary(plist_t node, Node* parent = NULL);
37 Dictionary(Dictionary& d); 37 Dictionary(Dictionary& d);
38 Dictionary& operator=(Dictionary& d); 38 Dictionary& operator=(Dictionary& d);
39 virtual ~Dictionary(); 39 virtual ~Dictionary();
40 40
41 Node* Clone(); 41 Node* Clone();
42 42
43 typedef std::map<std::string,Node*>::iterator iterator; 43 typedef std::map<std::string,Node*>::iterator iterator;
44 44
45 Node* operator[](const std::string& key); 45 Node* operator[](const std::string& key);
46 iterator Begin(); 46 iterator Begin();
47 iterator End(); 47 iterator End();
48 iterator Find(const std::string& key); 48 iterator Find(const std::string& key);
49 iterator Insert(const std::string& key, Node* node); 49 iterator Insert(const std::string& key, Node* node);
50 void Remove(Node* node); 50 void Remove(Node* node);
51 void Remove(const std::string& key); 51 void Remove(const std::string& key);
52 52
53 private : 53private :
54 std::map<std::string,Node*> _map; 54 std::map<std::string,Node*> _map;
55 55
56 56
57}; 57};