63 lines
1.8 KiB
C++
63 lines
1.8 KiB
C++
// File name: $Workfile: ser_cont_el.h $
|
|
// Last modified: $Modtime: 11/21/00 5:20p $
|
|
// Last modified by: $Author: Bill $
|
|
//
|
|
// VCS archive path: $Archive: /Hank/DMM/FirmWare/Level3/ObDatMgr/ser_cont_el.h $
|
|
// VCS revision: $Revision: 5 $
|
|
|
|
class CPQDIF_E_Collection;
|
|
|
|
class PQController
|
|
{
|
|
public:
|
|
PQController();
|
|
virtual ~PQController();
|
|
|
|
virtual void ParseRecord
|
|
(
|
|
BYTE * buffer,
|
|
SIZE4 size,
|
|
CPQDIF_E_Collection * pcollMain
|
|
);
|
|
|
|
// Routines to add specific PQDIF elements
|
|
|
|
// If return value is TRUE, the Iterator object
|
|
// will continue iterating through the elements
|
|
// in the collection. If FALSE, the collection
|
|
// will be skipped.
|
|
virtual CPQDIF_E_Collection * acceptCollection
|
|
(
|
|
CPQDIF_E_Collection * pcoll,
|
|
int index,
|
|
const GUID& tag
|
|
);
|
|
virtual CPQDIF_E_Scalar * acceptScalar
|
|
(
|
|
CPQDIF_E_Collection * pcoll,
|
|
int index,
|
|
const GUID& tag,
|
|
long typePhysical,
|
|
void * pdata
|
|
);
|
|
virtual CPQDIF_E_Vector * acceptVector
|
|
(
|
|
CPQDIF_E_Collection * pcoll,
|
|
int index,
|
|
const GUID& tag,
|
|
long typePhysical,
|
|
c_vector * pvector,
|
|
void * pdata
|
|
);
|
|
|
|
static bool decodeValue
|
|
(
|
|
long typePhysical,
|
|
void * pdata,
|
|
PQDIFValue& value
|
|
);
|
|
|
|
protected:
|
|
|
|
};
|