summaryrefslogtreecommitdiffstats
path: root/include/plist/Integer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plist/Integer.h')
-rw-r--r--include/plist/Integer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/plist/Integer.h b/include/plist/Integer.h
index adbc39a..1a4d980 100644
--- a/include/plist/Integer.h
+++ b/include/plist/Integer.h
@@ -33,14 +33,20 @@ public :
Integer(Node* parent = NULL);
Integer(plist_t node, Node* parent = NULL);
Integer(const Integer& i);
- Integer& operator=(Integer& i);
+ Integer& operator=(const Integer& i);
Integer(uint64_t i);
+ Integer(int64_t i);
virtual ~Integer();
Node* Clone() const;
+ void SetValue(int64_t i);
void SetValue(uint64_t i);
- uint64_t GetValue() const;
+ void SetUnsignedValue(uint64_t i);
+ int64_t GetValue() const;
+ uint64_t GetUnsignedValue() const;
+
+ bool isNegative() const;
};
};