2001-01-11 00:32:10 +08:00
|
|
|
// InstanceRecords.cpp
|
|
|
|
|
|
|
|
#include "flt.h"
|
|
|
|
#include "Registry.h"
|
|
|
|
#include "InstanceRecords.h"
|
|
|
|
|
|
|
|
using namespace flt;
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// InstanceDefinitionRecord
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
RegisterRecordProxy<InstanceDefinitionRecord> g_InstanceDefinitionProxy;
|
|
|
|
|
|
|
|
InstanceDefinitionRecord::InstanceDefinitionRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// virtual
|
|
|
|
InstanceDefinitionRecord::~InstanceDefinitionRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void InstanceDefinitionRecord::endian()
|
|
|
|
{
|
2002-04-16 19:36:23 +08:00
|
|
|
SInstanceDefinition *pSInstDef = (SInstanceDefinition*)getData();
|
2002-01-22 19:03:26 +08:00
|
|
|
|
2002-04-16 19:36:23 +08:00
|
|
|
ENDIAN( pSInstDef->iInstDefNumber );
|
2001-01-11 00:32:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// InstanceReferenceRecord
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
RegisterRecordProxy<InstanceReferenceRecord> g_InstanceReferenceProxy;
|
|
|
|
|
|
|
|
InstanceReferenceRecord::InstanceReferenceRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// virtual
|
|
|
|
InstanceReferenceRecord::~InstanceReferenceRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void InstanceReferenceRecord::endian()
|
|
|
|
{
|
2002-04-16 19:36:23 +08:00
|
|
|
SInstanceReference *pSInstRef = (SInstanceReference*)getData();
|
2002-01-22 19:03:26 +08:00
|
|
|
|
2002-04-16 19:36:23 +08:00
|
|
|
ENDIAN( pSInstRef->iInstDefNumber );
|
2001-01-11 00:32:10 +08:00
|
|
|
}
|