#include <PXXVUnpackable.h>
Inheritance diagram for PXXVUnpackable:
Public Member Functions | |
virtual | ~PXXVUnpackable () |
virtual Int32b_t | Unpack () |
virtual Bool8b_t | IsUnpacked () const |
Protected Member Functions | |
PXXVUnpackable () |
This is an base(abstract) class of all Unpackable objects. // Mainly for debugging purpose, it inherits PXXVAttWritable to append // writable attribute. The mother base class of the class is PXXObject which // I omitted from class declaration, because PXXVAttWritable also inherit it. //
All descendant object must have a private ReadData() function. If you want // to unpack an unpackable inside your class, use public Unpack() which will // check whether the unpackable is already unpacked or not. //
|
Destructor. |
|
The class is pure virtual so that the constructor should be protected. |
|
Check the unpackable has been unpacked. |
|
Call this function to unpack any unpackable. It calls private ReadData() recursively, and set the fIsUnpacked_ flag as true.
Reimplemented in PXXVPayload. |