Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_CFObject< TCFRef > Class Template Reference

A class to handle a MacOS CFObject.

Inheritance diagram for CP_CFObject< TCFRef >:

CP_CFMutableObject< TCFRef, TMutableCFRef > List of all members.

Public Member Functions

void AttachRef (TCFRef inRef, bool inRetain)
TCFRef DetachRef ()
TCFRef GetCFRef () const
bool IsValid () const

Protected Member Functions

Constructor / Destructor
 CP_CFObject ()
 Constructor.
 CP_CFObject (TCFRef inRef, bool inRetain)
 CP_CFObject (const CP_CFObject &inOriginal)
virtual ~CP_CFObject () throw ()
 Destructor.

Protected Attributes

TCFRef fCFObject

Private Member Functions

void Retain ()
void Release ()

template<typename TCFRef>
class CP_CFObject< TCFRef >


Constructor & Destructor Documentation

template<typename TCFRef>
CP_CFObject< TCFRef >::CP_CFObject  )  [protected]
 

template<typename TCFRef>
CP_CFObject< TCFRef >::CP_CFObject TCFRef  inRef,
bool  inRetain
[protected]
 

template<typename TCFRef>
CP_CFObject< TCFRef >::CP_CFObject const CP_CFObject< TCFRef > &  inOriginal  )  [protected]
 

template<typename TCFRef>
CP_CFObject< TCFRef >::~CP_CFObject  )  throw () [protected, virtual]
 


Member Function Documentation

template<typename TCFRef>
void CP_CFObject< TCFRef >::AttachRef TCFRef  inRef,
bool  inRetain
 

Reimplemented in CP_CFMutableObject< TCFRef, TMutableCFRef >, CP_CFMutableObject< CFDictionaryRef, CFMutableDictionaryRef >, CP_CFMutableObject< CFDataRef, CFMutableDataRef >, and CP_CFMutableObject< CFArrayRef, CFMutableArrayRef >.

template<typename TCFRef>
TCFRef CP_CFObject< TCFRef >::DetachRef  ) 
 

template<typename TCFRef>
TCFRef CP_CFObject< TCFRef >::GetCFRef  )  const
 

template<typename TCFRef>
bool CP_CFObject< TCFRef >::IsValid  )  const
 

template<typename TCFRef>
void CP_CFObject< TCFRef >::Retain  )  [private]
 

template<typename TCFRef>
void CP_CFObject< TCFRef >::Release  )  [private]
 


Member Data Documentation

template<typename TCFRef>
TCFRef CP_CFObject< TCFRef >::fCFObject [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Sep 17 20:01:24 2005 for CPLAT by  doxygen 1.4.0