Memory file.
Public Member Functions | |
| virtual tPtr | GetBase () const =0 |
| Get the base pointer. More... | |
| virtual tPtr | GetHere () const =0 |
| Get the here/current position pointer. More... | |
| virtual tPtr | GetStop () const =0 |
| Get the stop/end pointer. More... | |
| virtual tBool | SetMemPtr (tPtr apMem, tSize anSize, tBool abFree, tBool abKeepHere)=0 |
| Set the memory buffer to use with this file. More... | |
| virtual void | Reset ()=0 |
| Reset the file. Put it at the begining, and set the memory size to 0 if it's a dynamic memory file. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the base pointer.
|
pure virtual |
Get the here/current position pointer.
|
pure virtual |
Get the stop/end pointer.
Set the memory buffer to use with this file.
|
pure virtual |
Reset the file. Put it at the begining, and set the memory size to 0 if it's a dynamic memory file.
1.8.7