|
Public Member Functions |
| | OOFCTResource () |
| | OOFCTResource (ULONG type, ULONG id) |
| | OOFCTResource (oofString &, oofString &ext, oofString &iExt) |
| | OOFCTResource (COUNT datno, COUNT resMode) |
| | OOFCTResource (COUNT datno) |
| | ~OOFCTResource () |
| void | newFile (const oofString &inFile, const oofString &connectionName) |
| void | openFile (const oofString &inFile, const oofString &connectionName) |
| | open the resource file with name inFile.
|
| void | openFile (oofFileRef &inFile) |
| | Open a CT file to get a resource.
|
| void | openIFile (const oofString &inFile, const oofString &connectionName) |
| | Open a CT ISAM file to get a resource.
|
| void | closeFile () |
| | Close the resourcefile.
|
| void | loadResource (ULONG resType, ULONG resID, COUNT resMode) |
| | Load a resource identified by resType & resID from the file opened by the method openFile of this object or set at construct time.
|
| void | loadResource (COUNT datNo, ULONG resType, ULONG resID, COUNT resMode) |
| | Load a resource identified by resType resID using resMode from the open file pointed to by datNo.
|
| void | loadResource (COUNT resMode) |
| void | loadResource (ULONG resType) |
| | Load a resource identified by resType from the file opened by the method openFile of this object or set at construct time.
|
| void | loadResource (oofString &, oofString &ext, oofString &iExt) |
| void | saveResource () |
| | Load a resource identified by resType from the file opened by the method openFile of this object or set at construct time.
|
| void | saveResource (COUNT datno) |
| | Write the resource to the file identified by datno.
|
| void | resource (std::ostream &resourceString, const oofString &resourceName="") |
| const char * | resource () |
| | return a pointer to the data of this resource.
|
| void | loadData (ostringstream resourceString, const oofString resourceName="") |
| void | loadData (const oofString &) |
| void | loadData (ostringstream resourceString) |
| unsigned long | dataLength () |
| | calculate the length of the variable length data of a ctree resource just loaded.
|
| const void * | getResourcePtr (COUNT resMode) |
| void | describe (ostream &) |
Protected Attributes |
| VOID * | mBuffer |
| VRLEN | mBufferLength |
| ULONG | mResourceType |
| ULONG | mResourceNumber |
| COUNT | mDataNo |
| ctResInfo | mResLenInfo |