|
Public Types |
| typedef CP_String | key_type |
| typedef Node * | mapped_type |
typedef std::pair< const CP_String,
CP_SmartRef< const Node > > | value_type |
typedef std::pair< const CP_String,
_value_reference > | reference |
typedef std::pair< const CP_String,
const _value_reference > | const_reference |
| typedef UInt32 | size_type |
| typedef UInt32 | difference_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef _iterator | iterator |
| typedef _const_iterator | const_iterator |
typedef std::reverse_iterator<
iterator > | reverse_iterator |
typedef std::reverse_iterator<
const_iterator > | const_reverse_iterator |
Public Member Functions |
| | Dictionary () |
| | Dictionary (const Dictionary &inSrc) |
| | Dictionary (const CP_String &inKey, const Node &inValue) |
| | Dictionary (CFDictionaryRef inDictionaryRef, bool inRetain=true) |
| virtual | ~Dictionary () throw () |
| Dictionary * | MakeMutable () const |
| | Make a mutable dictionary with the same contents.
|
| virtual NodeType_t | NodeType () const throw () |
| virtual void | PrintToLog (CP_LogFile &inLogFile, SInt32 inLevel=0, SInt32 inIndentLevel=0) const |
| virtual CFTypeRef | GetNodeCFRef () const |
| virtual void | WriteXMLData (CP_OutStream &inXMLDataStream) const |
|
| const Node * | GetValue (const CP_String &inKey) const |
| void | SetValue (const CP_String &inKey, const Node &inValue) |
| bool | HasKey (const CP_String &inKey) const throw () |
| const Array * | GetAllKeys () const |
| const Array * | GetAllValues () const |
|
| bool | GetStringValue (const CP_String &inKey, CP_String &outValue) const |
| | Get an optional value.
|
| bool | GetUInt32Value (const CP_String &inKey, UInt32 &outValue) const |
| bool | GetSInt32Value (const CP_String &inKey, SInt32 &outValue) const |
| bool | GetFloatValue (const CP_String &inKey, double &outValue) const |
| bool | GetBooleanValue (const CP_String &inKey, bool &outValue) const |
| bool | GetDateTimeValue (const CP_String &inKey, CP_DateTime &outDateTime) const |
| bool | GetDateTimeValue (const CP_String &inKey, CP_Date *outDate, CP_Time *outTime) const |
| bool | GetUUIDValue (const CP_String &inKey, CP_UUID &outUUID) const |
| const Array * | GetArrayValue (const CP_String &inKey) const |
| | Get an optional value.
|
| const Dictionary * | GetDictionaryValue (const CP_String &inKey) const |
| | Get an optional value.
|
|
| CP_String | GetStringValue (const CP_String &inKey) const |
| | Get a required value.
|
| UInt32 | GetUInt32Value (const CP_String &inKey) const |
| SInt32 | GetSInt32Value (const CP_String &inKey) const |
| double | GetFloatValue (const CP_String &inKey) const |
| bool | GetBooleanValue (const CP_String &inKey) const |
| CP_DateTime | GetDateTimeValue (const CP_String &inKey) const |
| CP_Date | GetDateValue (const CP_String &inKey) const |
| CP_Time | GetTimeValue (const CP_String &inKey) const |
| CP_UUID | GetUUIDValue (const CP_String &inKey) const |
|
| void | SetStringValue (const CP_String &inKey, const CP_String &inValue) |
| | Set the value for a key.
|
| void | SetNumberValue (const CP_String &inKey, UInt32 inValue) |
| void | SetNumberValue (const CP_String &inKey, SInt32 inValue) |
| void | SetNumberValue (const CP_String &inKey, double inValue) |
| void | SetBooleanValue (const CP_String &inKey, bool inValue) |
| void | SetDateTimeValue (const CP_String &inKey, const CP_DateTime &inDateTime) |
| void | SetDateValue (const CP_String &inKey, const CP_Date &inDate) |
| void | SetTimeValue (const CP_String &inKey, const CP_Time &inTime) |
| void | SetUUIDValue (const CP_String &inKey, const CP_UUID &inUUID) |
|
| size_type | size () const |
| bool | empty () const |
| iterator | find (const key_type &inKey) |
| const_iterator | find (const key_type &inKey) const |
| std::pair< iterator, bool > | insert (const value_type &inValue) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
| reference | operator[] (const key_type &inKey) |
Static Public Member Functions |
| static Dictionary * | FromXMLData (CP_InStream &inXMLDataStream) |
| static Node * | FromXMLData (CP_InStream &inXMLDataStream, NodeType_t inExpectedNodeType=NodeType_Any) |
| static Node * | CreateNodeForCFObject (CFTypeRef inObject) |
Protected Member Functions |
| CFMutableDictionaryRef | GetMutableCFRef () |
| | operator TMutableCFRef () |
| void | AttachRefMutable (CFMutableDictionaryRefinMutableRef, bool inRetain) |
| void | AttachRef (CFDictionaryRefinRef, bool inRetain) |
| CFMutableDictionaryRef | DetachRefMutable () |
| void | MakeMutable () |
| CFMutableDictionaryRef | MutableCopy (CFDictionaryRefinCFRef) |
| CFDictionaryRef | DetachRef () |
| CFDictionaryRef | GetCFRef () const |
| bool | IsValid () const |
Protected Attributes |
| CFDictionaryRef | fCFObject |
Classes |
| class | _const_iterator |
| class | _iterator |
| class | _value_reference |