class HLAArrayDataType;
class HLAEnumeratedDataType;
class HLAFixedRecordDataType;
-class HLAVariantDataType;
-
-enum HLAUpdateType {
- HLAStaticUpdate,
- HLAPeriodicUpdate,
- HLAConditionalUpdate,
- HLAUndefinedUpdate
-};
+class HLAVariantRecordDataType;
class HLADataType : public SGWeakReferenced {
public:
virtual const HLAArrayDataType* toArrayDataType() const;
virtual const HLAEnumeratedDataType* toEnumeratedDataType() const;
virtual const HLAFixedRecordDataType* toFixedRecordDataType() const;
- virtual const HLAVariantDataType* toVariantDataType() const;
+ /// deprecated
+ const HLAVariantRecordDataType* toVariantDataType() const { return toVariantRecordDataType(); }
+ virtual const HLAVariantRecordDataType* toVariantRecordDataType() const;
protected:
HLADataType(const std::string& name, unsigned alignment = 1);