class TStreamRef |
A proxy for perfoming externalisation for classes that do not have an externalisation member.
Public Member Functions | |
---|---|
TStreamRef(const TAny *, TExternalizeFunction) | |
void | ExternalizeL(RWriteStream &) |
TExternalizeFunction | Function() |
const TAny * | Ptr() |
Private Attributes | |
---|---|
TExternalizeFunction | iFunc |
const TAny * | iPtr |
TStreamRef | ( | const TAny * | aPtr, |
TExternalizeFunction | aFunction | ||
) | [inline] |
Constructor.
const TAny * aPtr | A pointer to the object for which externalisation is being done. |
TExternalizeFunction aFunction | The externalisation function. |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [inline] |
Externalises the object to the specified write stream.
RWriteStream & aStream | The write stream. |
TExternalizeFunction | Function | ( | ) | const [inline] |
Gets a pointer to the externalisation function.
The externalisation function.
const TAny * | Ptr | ( | ) | const [inline] |
Gets the pointer to the object to be externalised.
The object to be externalised.