Inheritance diagram for CP_PropertyList::Number:
Public Types | |
enum | NumberType_t { NumberType_Integer, NumberType_LargeInteger, NumberType_Float, NumberType_NaN } |
Public Member Functions | |
Number () | |
Number (UInt32 inValue) | |
Number (SInt32 inValue) | |
Number (UInt64 inValue) | |
Number (SInt64 inValue) | |
Number (double inValue) | |
Number (const Number &inSrc) | |
Number (CFNumberRef inRef, bool inRetain=true) | |
~Number () throw () | |
NumberType_t | NumberType () const throw () |
UInt32 | GetUInt32 () const |
SInt32 | GetSInt32 () const |
UInt32 | GetUInt64 () const |
SInt32 | GetSInt64 () const |
double | GetFloat () const |
virtual void | PrintToLog (CP_LogFile &inLogFile, SInt32 inLevel=0, SInt32 inIndentLevel=0) const |
virtual NodeType_t | NodeType () const throw () |
virtual CFTypeRef | GetNodeCFRef () const |
virtual void | WriteXMLData (CP_OutStream &inXMLDataStream) const |
Static Public Member Functions | |
static Number * | FromXMLData (CP_InStream &inXMLDataStream) |
static Node * | FromXMLData (CP_InStream &inXMLDataStream, NodeType_t inExpectedNodeType=NodeType_Any) |
static Node * | CreateNodeForCFObject (CFTypeRef inObject) |
Protected Member Functions | |
void | AttachRef (CFNumberRefinRef, bool inRetain) |
CFNumberRef | DetachRef () |
CFNumberRef | GetCFRef () const |
bool | IsValid () const |
Protected Attributes | |
CFNumberRef | fCFObject |
|
|
|
CP_PropertyList_Uses_CoreFoundation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements CP_PropertyList::Node. |
|
Implements CP_PropertyList::Node. |
|
|
|
Implements CP_PropertyList::Node. |
|
|
|
|
|
|
|
Add a reference to our object, returning the new reference count.
|
|
Remove a reference to our object, returning the new reference count. If the count is 0, then this object is also deleted, and 0 is returned.
|
|
Add the object to the topmost auto-release pool. This will ensure that the object is eventually released.
|
|
Returns the current ref count.
|
|
|
|
|
|
|
|
|
|
|