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

CP_Resource Class Reference

A class for dealing with a platforms resources.

List of all members.

Public Member Functions

Constructor / Destructor
 CP_Resource ()
 Constructor.
 CP_Resource (FourCharCode inResType, SInt16 inResID)
virtual ~CP_Resource ()
 Destructor.
Getters
OSHandle GetResourceData (FourCharCode inResType, SInt16 inResID)
Accessors
OSHandle GetOSHandle ()
 operator OSHandle ()

Protected Attributes

OSHandle fResourceH


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_Resource::CP_Resource  ) 
 

Constructor.

Exceptions:
none 

CP_Resource::CP_Resource FourCharCode  inResType,
SInt16  inResID
 

Constructor. This will load the resource specified in the parameters.

Parameters:
inResType The type of resources desired.
inResID Resource ID of the resource to load.
Exceptions:
none 

CP_Resource::~CP_Resource  )  [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

OSHandle CP_Resource::GetResourceData FourCharCode  inResType,
SInt16  inResID
 

OSHandle CP_Resource::GetOSHandle  ) 
 

Return the resource as a MacOS Handle.

CP_Resource::operator OSHandle  ) 
 

Return the resource as a MacOS Handle.


Member Data Documentation

OSHandle CP_Resource::fResourceH [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:02:05 2005 for CPLAT by  doxygen 1.4.0