Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CP_DataSource_FileSpecs Class Reference

List of all members.

Public Member Functions

Constructor / Destructor
 CP_DataSource_FileSpecs ()
 Constructor.
virtual ~CP_DataSource_FileSpecs () throw ()
 Destructor.
Data
virtual CPLAT::CP_DataValueHolder GetData (SInt32 inID)
SInt32 GetNumberSpecs ()
void AddFileSpec (const CPLAT::CP_FileSystemSpec &inSpec)
Sorting
virtual bool Compare (SInt32 inIDLeft, SInt32 inIDRight, bool inSortUp)

Protected Attributes

CPLAT::CP_FileSystemSpec_Array fFileSpecsData

Constructor & Destructor Documentation

CP_DataSource_FileSpecs::CP_DataSource_FileSpecs  ) 
 

Constructor.

Exceptions:
none 

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

Destructor.

Exceptions:
none 


Member Function Documentation

CPLAT::CP_DataValueHolder CP_DataSource_FileSpecs::GetData SInt32  inID  )  [virtual]
 

CP_DataSource method called to get data for the passed in identifier.

Returns:
inID The identifier of the data to be retrieved.
Exceptions:
none 
Returns:
void

SInt32 CP_DataSource_FileSpecs::GetNumberSpecs  ) 
 

Returns the number of file specs in the directory being used to list files from.

Exceptions:
none 
Returns:
SInt32 Number of files in the directory.

void CP_DataSource_FileSpecs::AddFileSpec const CPLAT::CP_FileSystemSpec &  inSpec  ) 
 

Adds a file spec to the list of file specs.

Returns:
inSpec The CP_FilesystemSpec to add to the list of specs.
Exceptions:
none 
Returns:
void

bool CP_DataSource_FileSpecs::Compare SInt32  inIDLeft,
SInt32  inIDRight,
bool  inSortUp
[virtual]
 

Compare two files based on the identifier to look up the file spec.

Returns:
inIDLeft Identifier of the left file spec to lookup.

inIDRight Identifier of the right file spec to loopup.

Exceptions:
none 
Returns:
void


Member Data Documentation

CPLAT::CP_FileSystemSpec_Array CP_DataSource_FileSpecs::fFileSpecsData [protected]
 


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