Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

PXXVUnpackable Class Reference

#include <PXXVUnpackable.h>

Inheritance diagram for PXXVUnpackable:

PXXObject PXXVAttWritable TObject PXXCompositePayloadEnvelope PXXPayloadEnvelope PXXVPayload PXXVRecord PXXDomHitEngineeringFormatPayload PXXVTriggerPayload PXXDomHitEngineeringFormatRecord PXXEventPayloadRecord PXXReadoutDataRecord PXXReadoutRequestElementRecord PXXReadoutRequestRecord PXXTriggerRequestRecord List of all members.

Public Member Functions

virtual ~PXXVUnpackable ()
virtual Int32b_t Unpack ()
virtual Bool8b_t IsUnpacked () const

Protected Member Functions

 PXXVUnpackable ()

Detailed Description

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. //

Author:
Kotoyo Hoshina 18/Sep/05 //


Constructor & Destructor Documentation

virtual PXXVUnpackable::~PXXVUnpackable  )  [virtual]
 

Destructor.

PXXVUnpackable::PXXVUnpackable  )  [protected]
 

The class is pure virtual so that the constructor should be protected.


Member Function Documentation

virtual Bool8b_t PXXVUnpackable::IsUnpacked  )  const [inline, virtual]
 

Check the unpackable has been unpacked.

virtual Int32b_t PXXVUnpackable::Unpack  )  [virtual]
 

Call this function to unpack any unpackable. It calls private ReadData() recursively, and set the fIsUnpacked_ flag as true.

Returns:
int ... It returns how many bytes have unpacked.

Reimplemented in PXXVPayload.


The documentation for this class was generated from the following file:


Generated on Thu Nov 10 14:06:37 2005 by doxygen version 1.4.1