X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fhla%2FHLAVariantRecordDataType.hxx;h=dc586a9f2a5fcc2278a1347b2b2dceb27e0e0396;hb=d6361dfee43c0595a19d409b438c6d1cdd65d2ea;hp=06226da9ad5ef1a4e07c71177c13c54325c78c1d;hpb=dc9163f8016047f29603c3d40032655132f5c109;p=simgear.git diff --git a/simgear/hla/HLAVariantRecordDataType.hxx b/simgear/hla/HLAVariantRecordDataType.hxx index 06226da9..dc586a9f 100644 --- a/simgear/hla/HLAVariantRecordDataType.hxx +++ b/simgear/hla/HLAVariantRecordDataType.hxx @@ -37,6 +37,8 @@ public: virtual const HLAVariantRecordDataType* toVariantRecordDataType() const; + virtual void releaseDataTypeReferences(); + virtual bool decode(HLADecodeStream& stream, HLAAbstractVariantRecordDataElement& value) const; virtual bool encode(HLAEncodeStream& stream, const HLAAbstractVariantRecordDataElement& value) const; @@ -84,6 +86,9 @@ public: std::string getAlternativeSemantics(const std::string& enumerator) const { return getAlternativeSemantics(getAlternativeIndex(enumerator)); } +protected: + virtual void _recomputeAlignmentImplementation(); + private: SGSharedPtr _enumeratedDataType;