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

CP_CFURL Class Reference

A class to manage a MacOS CFURL.

List of all members.

Public Member Functions

Constructor / Destructor
 CP_CFURL (CP_ResourcePtr< CFURLRef > inCFURLRef)
 Constructor.
 CP_CFURL (const CP_String &inCFURLString)
 CP_CFURL (const CP_CFURL &inCFURL)
virtual ~CP_CFURL () throw ()
 Destructor.
Getters
CP_FileSystemSpec GetFileSpec ()
CFURLRef GetCFURL ()
FSRef GetFSRef ()
operators
CP_CFURLoperator= (const CP_CFURL &inCFURL)
Tester
bool IsValid ()
bool IsDirectory ()

Protected Attributes

CFURLRef fCFURL


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_CFURL::CP_CFURL CP_ResourcePtr< CFURLRef >  inCFURLRef  ) 
 

Constructor.

Parameters:
inCFURLRef The CFURLRef to manage with this object.
Exceptions:
none 

CP_CFURL::CP_CFURL const CP_String inCFURLString  ) 
 

Constructor.

Parameters:
inCFURLRef The CFURLRef to manage with this object.
Exceptions:
none 

CP_CFURL::CP_CFURL const CP_CFURL inCFURL  ) 
 

Copy constructor.

Parameters:
inCFURL A CP_CFURL object to copy the data from.
Exceptions:
none 

CP_CFURL::~CP_CFURL  )  throw () [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

CP_FileSystemSpec CP_CFURL::GetFileSpec  ) 
 

Returns a CP_FileSystemSpec object that points to this CFURL.

Exceptions:
paramErr If the CFURL is null, then a param err is thrown, or we could not get the FSRef object from the url.
Returns:
CP_FileSystemSpec A CP_FileSystemSpec for this CFURL.

CFURLRef CP_CFURL::GetCFURL  ) 
 

Return the CFURL for this object.

Exceptions:
none 
Returns:
CFURL The CFURL for this object.

FSRef CP_CFURL::GetFSRef  ) 
 

Returns a FSRef object that points to this CFURL.

Exceptions:
paramErr If the CFURL is null, then a param err is thrown, or we could not get the FSRef object from the url.
Returns:
FSRef A FSRef for this CFURL.

CP_CFURL & CP_CFURL::operator= const CP_CFURL inCFURL  ) 
 

Assignment operator.

Parameters:
inCFURL The CP_CFURL object to copy the data from.
Exceptions:
none 
Returns:
CP_CFURL A reference to this object.

bool CP_CFURL::IsValid  ) 
 

Returns true if the object represents a valid CFURL object in the MacOS system.

Exceptions:
none 
Returns:
bool True if this represents a valid CFURL object.

bool CP_CFURL::IsDirectory  ) 
 

Returns true if the object represents a directory (folder) in the MacOS system.

Exceptions:
none 
Returns:
bool True if this a directory (folder).


Member Data Documentation

CFURLRef CP_CFURL::fCFURL [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:21:34 2005 for CPLAT_MacOS by  doxygen 1.4.0