9 #ifndef environmentObjectDecoder_H_
10 #define environmentObjectDecoder_H_
23 #define DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(attrName) \
24 DtDECLARE_ATTR_DECODER(DtEnvironmentObjectRepository, attrName)
31 class DT_DLL_VL DtEnvironmentObjectDecoder :
public DtHlaStateDecoder
36 DtEnvironmentObjectDecoder(
38 DtObjClassDesc* classDesc);
41 virtual ~DtEnvironmentObjectDecoder();
44 DtEnvironmentObjectDecoder(
const DtEnvironmentObjectDecoder& orig);
47 DtEnvironmentObjectDecoder&
operator=
48 (
const DtEnvironmentObjectDecoder& orig);
53 static DtHlaStateDecoder* create(
55 DtObjClassDesc* classDesc);
60 DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ObjectIdentifier);
61 DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ReferencedObjectIdentifier);
62 DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ForceIdentifier);
63 DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ObjectType);
71 #define DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_DECODER_WITH_CAST( \
72 attrName, netType, mutator, castExpr) \
73 DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
74 DtEnvironmentObjectDecoder, DtEnvironmentObjectRepository, \
75 attrName, netType, mutator, castExpr)
77 #define DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_DECODER( \
78 attrName, netType, inspector) \
79 DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_DECODER_WITH_CAST( \
80 attrName, netType, inspector, (netType))
82 #endif //hEnvObjDec_H_