summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/plist/Array.h2
-rw-r--r--include/plist/Boolean.h2
-rw-r--r--include/plist/Data.h2
-rw-r--r--include/plist/Date.h2
-rw-r--r--include/plist/Dictionary.h2
-rw-r--r--include/plist/Integer.h2
-rw-r--r--include/plist/Key.h2
-rw-r--r--include/plist/Real.h2
-rw-r--r--include/plist/String.h2
-rw-r--r--include/plist/Uid.h2
-rw-r--r--src/Array.cpp2
-rw-r--r--src/Boolean.cpp2
-rw-r--r--src/Data.cpp2
-rw-r--r--src/Date.cpp2
-rw-r--r--src/Dictionary.cpp2
-rw-r--r--src/Integer.cpp2
-rw-r--r--src/Key.cpp2
-rw-r--r--src/Real.cpp2
-rw-r--r--src/String.cpp2
-rw-r--r--src/Uid.cpp2
20 files changed, 20 insertions, 20 deletions
diff --git a/include/plist/Array.h b/include/plist/Array.h
index 745b750..1b7728a 100644
--- a/include/plist/Array.h
+++ b/include/plist/Array.h
@@ -34,7 +34,7 @@ public :
34 Array(Node* parent = NULL); 34 Array(Node* parent = NULL);
35 Array(plist_t node, Node* parent = NULL); 35 Array(plist_t node, Node* parent = NULL);
36 Array(const Array& a); 36 Array(const Array& a);
37 Array& operator=(Array& a); 37 Array& operator=(const Array& a);
38 virtual ~Array(); 38 virtual ~Array();
39 39
40 Node* Clone() const; 40 Node* Clone() const;
diff --git a/include/plist/Boolean.h b/include/plist/Boolean.h
index 307a1ff..9ecbc48 100644
--- a/include/plist/Boolean.h
+++ b/include/plist/Boolean.h
@@ -33,7 +33,7 @@ public :
33 Boolean(Node* parent = NULL); 33 Boolean(Node* parent = NULL);
34 Boolean(plist_t node, Node* parent = NULL); 34 Boolean(plist_t node, Node* parent = NULL);
35 Boolean(const Boolean& b); 35 Boolean(const Boolean& b);
36 Boolean& operator=(Boolean& b); 36 Boolean& operator=(const Boolean& b);
37 Boolean(bool b); 37 Boolean(bool b);
38 virtual ~Boolean(); 38 virtual ~Boolean();
39 39
diff --git a/include/plist/Data.h b/include/plist/Data.h
index a100d28..b566a6c 100644
--- a/include/plist/Data.h
+++ b/include/plist/Data.h
@@ -34,7 +34,7 @@ public :
34 Data(Node* parent = NULL); 34 Data(Node* parent = NULL);
35 Data(plist_t node, Node* parent = NULL); 35 Data(plist_t node, Node* parent = NULL);
36 Data(const Data& d); 36 Data(const Data& d);
37 Data& operator=(Data& b); 37 Data& operator=(const Data& b);
38 Data(const std::vector<char>& buff); 38 Data(const std::vector<char>& buff);
39 virtual ~Data(); 39 virtual ~Data();
40 40
diff --git a/include/plist/Date.h b/include/plist/Date.h
index 510a349..3cfb7d1 100644
--- a/include/plist/Date.h
+++ b/include/plist/Date.h
@@ -35,7 +35,7 @@ public :
35 Date(Node* parent = NULL); 35 Date(Node* parent = NULL);
36 Date(plist_t node, Node* parent = NULL); 36 Date(plist_t node, Node* parent = NULL);
37 Date(const Date& d); 37 Date(const Date& d);
38 Date& operator=(Date& d); 38 Date& operator=(const Date& d);
39 Date(timeval t); 39 Date(timeval t);
40 virtual ~Date(); 40 virtual ~Date();
41 41
diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h
index 931a569..a3ac3a7 100644
--- a/include/plist/Dictionary.h
+++ b/include/plist/Dictionary.h
@@ -35,7 +35,7 @@ public :
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(const Dictionary& d); 37 Dictionary(const Dictionary& d);
38 Dictionary& operator=(Dictionary& d); 38 Dictionary& operator=(const Dictionary& d);
39 virtual ~Dictionary(); 39 virtual ~Dictionary();
40 40
41 Node* Clone() const; 41 Node* Clone() const;
diff --git a/include/plist/Integer.h b/include/plist/Integer.h
index adbc39a..bdabc6f 100644
--- a/include/plist/Integer.h
+++ b/include/plist/Integer.h
@@ -33,7 +33,7 @@ public :
33 Integer(Node* parent = NULL); 33 Integer(Node* parent = NULL);
34 Integer(plist_t node, Node* parent = NULL); 34 Integer(plist_t node, Node* parent = NULL);
35 Integer(const Integer& i); 35 Integer(const Integer& i);
36 Integer& operator=(Integer& i); 36 Integer& operator=(const Integer& i);
37 Integer(uint64_t i); 37 Integer(uint64_t i);
38 virtual ~Integer(); 38 virtual ~Integer();
39 39
diff --git a/include/plist/Key.h b/include/plist/Key.h
index e75aabc..bd5f7bc 100644
--- a/include/plist/Key.h
+++ b/include/plist/Key.h
@@ -34,7 +34,7 @@ public :
34 Key(Node* parent = NULL); 34 Key(Node* parent = NULL);
35 Key(plist_t node, Node* parent = NULL); 35 Key(plist_t node, Node* parent = NULL);
36 Key(const Key& k); 36 Key(const Key& k);
37 Key& operator=(Key& k); 37 Key& operator=(const Key& k);
38 Key(const std::string& s); 38 Key(const std::string& s);
39 virtual ~Key(); 39 virtual ~Key();
40 40
diff --git a/include/plist/Real.h b/include/plist/Real.h
index c2d55f8..5afb0c0 100644
--- a/include/plist/Real.h
+++ b/include/plist/Real.h
@@ -33,7 +33,7 @@ public :
33 Real(Node* parent = NULL); 33 Real(Node* parent = NULL);
34 Real(plist_t node, Node* parent = NULL); 34 Real(plist_t node, Node* parent = NULL);
35 Real(const Real& d); 35 Real(const Real& d);
36 Real& operator=(Real& d); 36 Real& operator=(const Real& d);
37 Real(double d); 37 Real(double d);
38 virtual ~Real(); 38 virtual ~Real();
39 39
diff --git a/include/plist/String.h b/include/plist/String.h
index 80290b3..9aba16b 100644
--- a/include/plist/String.h
+++ b/include/plist/String.h
@@ -34,7 +34,7 @@ public :
34 String(Node* parent = NULL); 34 String(Node* parent = NULL);
35 String(plist_t node, Node* parent = NULL); 35 String(plist_t node, Node* parent = NULL);
36 String(const String& s); 36 String(const String& s);
37 String& operator=(String& s); 37 String& operator=(const String& s);
38 String(const std::string& s); 38 String(const std::string& s);
39 virtual ~String(); 39 virtual ~String();
40 40
diff --git a/include/plist/Uid.h b/include/plist/Uid.h
index 2d8375b..af6e51d 100644
--- a/include/plist/Uid.h
+++ b/include/plist/Uid.h
@@ -33,7 +33,7 @@ public :
33 Uid(Node* parent = NULL); 33 Uid(Node* parent = NULL);
34 Uid(plist_t node, Node* parent = NULL); 34 Uid(plist_t node, Node* parent = NULL);
35 Uid(const Uid& i); 35 Uid(const Uid& i);
36 Uid& operator=(Uid& i); 36 Uid& operator=(const Uid& i);
37 Uid(uint64_t i); 37 Uid(uint64_t i);
38 virtual ~Uid(); 38 virtual ~Uid();
39 39
diff --git a/src/Array.cpp b/src/Array.cpp
index 22c254b..8838e5b 100644
--- a/src/Array.cpp
+++ b/src/Array.cpp
@@ -58,7 +58,7 @@ Array::Array(const PList::Array& a)
58 array_fill(this, _array, _node); 58 array_fill(this, _array, _node);
59} 59}
60 60
61Array& Array::operator=(PList::Array& a) 61Array& Array::operator=(const PList::Array& a)
62{ 62{
63 plist_free(_node); 63 plist_free(_node);
64 for (unsigned int it = 0; it < _array.size(); it++) 64 for (unsigned int it = 0; it < _array.size(); it++)
diff --git a/src/Boolean.cpp b/src/Boolean.cpp
index 9f14904..2c871c8 100644
--- a/src/Boolean.cpp
+++ b/src/Boolean.cpp
@@ -37,7 +37,7 @@ Boolean::Boolean(const PList::Boolean& b) : Node(PLIST_BOOLEAN)
37 plist_set_bool_val(_node, b.GetValue()); 37 plist_set_bool_val(_node, b.GetValue());
38} 38}
39 39
40Boolean& Boolean::operator=(PList::Boolean& b) 40Boolean& Boolean::operator=(const PList::Boolean& b)
41{ 41{
42 plist_free(_node); 42 plist_free(_node);
43 _node = plist_copy(b.GetPlist()); 43 _node = plist_copy(b.GetPlist());
diff --git a/src/Data.cpp b/src/Data.cpp
index 89b4f4e..4515388 100644
--- a/src/Data.cpp
+++ b/src/Data.cpp
@@ -38,7 +38,7 @@ Data::Data(const PList::Data& d) : Node(PLIST_DATA)
38 plist_set_data_val(_node, &b[0], b.size()); 38 plist_set_data_val(_node, &b[0], b.size());
39} 39}
40 40
41Data& Data::operator=(PList::Data& b) 41Data& Data::operator=(const PList::Data& b)
42{ 42{
43 plist_free(_node); 43 plist_free(_node);
44 _node = plist_copy(b.GetPlist()); 44 _node = plist_copy(b.GetPlist());
diff --git a/src/Date.cpp b/src/Date.cpp
index a3c8592..8b8e650 100644
--- a/src/Date.cpp
+++ b/src/Date.cpp
@@ -38,7 +38,7 @@ Date::Date(const PList::Date& d) : Node(PLIST_DATE)
38 plist_set_date_val(_node, t.tv_sec, t.tv_usec); 38 plist_set_date_val(_node, t.tv_sec, t.tv_usec);
39} 39}
40 40
41Date& Date::operator=(PList::Date& d) 41Date& Date::operator=(const PList::Date& d)
42{ 42{
43 plist_free(_node); 43 plist_free(_node);
44 _node = plist_copy(d.GetPlist()); 44 _node = plist_copy(d.GetPlist());
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 6da0eee..20e9710 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -62,7 +62,7 @@ Dictionary::Dictionary(const PList::Dictionary& d)
62 dictionary_fill(this, _map, _node); 62 dictionary_fill(this, _map, _node);
63} 63}
64 64
65Dictionary& Dictionary::operator=(PList::Dictionary& d) 65Dictionary& Dictionary::operator=(const PList::Dictionary& d)
66{ 66{
67 for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++) 67 for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++)
68 { 68 {
diff --git a/src/Integer.cpp b/src/Integer.cpp
index d394ee1..a40d026 100644
--- a/src/Integer.cpp
+++ b/src/Integer.cpp
@@ -37,7 +37,7 @@ Integer::Integer(const PList::Integer& i) : Node(PLIST_UINT)
37 plist_set_uint_val(_node, i.GetValue()); 37 plist_set_uint_val(_node, i.GetValue());
38} 38}
39 39
40Integer& Integer::operator=(PList::Integer& i) 40Integer& Integer::operator=(const PList::Integer& i)
41{ 41{
42 plist_free(_node); 42 plist_free(_node);
43 _node = plist_copy(i.GetPlist()); 43 _node = plist_copy(i.GetPlist());
diff --git a/src/Key.cpp b/src/Key.cpp
index 8c96e59..8ba497a 100644
--- a/src/Key.cpp
+++ b/src/Key.cpp
@@ -37,7 +37,7 @@ Key::Key(const PList::Key& k) : Node(PLIST_UINT)
37 plist_set_key_val(_node, k.GetValue().c_str()); 37 plist_set_key_val(_node, k.GetValue().c_str());
38} 38}
39 39
40Key& Key::operator=(PList::Key& k) 40Key& Key::operator=(const PList::Key& k)
41{ 41{
42 plist_free(_node); 42 plist_free(_node);
43 _node = plist_copy(k.GetPlist()); 43 _node = plist_copy(k.GetPlist());
diff --git a/src/Real.cpp b/src/Real.cpp
index 3ac67f2..6bdb920 100644
--- a/src/Real.cpp
+++ b/src/Real.cpp
@@ -37,7 +37,7 @@ Real::Real(const PList::Real& d) : Node(PLIST_UINT)
37 plist_set_real_val(_node, d.GetValue()); 37 plist_set_real_val(_node, d.GetValue());
38} 38}
39 39
40Real& Real::operator=(PList::Real& d) 40Real& Real::operator=(const PList::Real& d)
41{ 41{
42 plist_free(_node); 42 plist_free(_node);
43 _node = plist_copy(d.GetPlist()); 43 _node = plist_copy(d.GetPlist());
diff --git a/src/String.cpp b/src/String.cpp
index 39717c2..cd4f98f 100644
--- a/src/String.cpp
+++ b/src/String.cpp
@@ -37,7 +37,7 @@ String::String(const PList::String& s) : Node(PLIST_UINT)
37 plist_set_string_val(_node, s.GetValue().c_str()); 37 plist_set_string_val(_node, s.GetValue().c_str());
38} 38}
39 39
40String& String::operator=(PList::String& s) 40String& String::operator=(const PList::String& s)
41{ 41{
42 plist_free(_node); 42 plist_free(_node);
43 _node = plist_copy(s.GetPlist()); 43 _node = plist_copy(s.GetPlist());
diff --git a/src/Uid.cpp b/src/Uid.cpp
index 204cd68..e83ed27 100644
--- a/src/Uid.cpp
+++ b/src/Uid.cpp
@@ -37,7 +37,7 @@ Uid::Uid(const PList::Uid& i) : Node(PLIST_UID)
37 plist_set_uid_val(_node, i.GetValue()); 37 plist_set_uid_val(_node, i.GetValue());
38} 38}
39 39
40Uid& Uid::operator=(PList::Uid& i) 40Uid& Uid::operator=(const PList::Uid& i)
41{ 41{
42 plist_free(_node); 42 plist_free(_node);
43 _node = plist_copy(i.GetPlist()); 43 _node = plist_copy(i.GetPlist());