X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fhla%2FHLADataType.hxx;h=ad52958b03502eec99bf789185155a4226e85a33;hb=201cb61f842ef50a19438e3872ba22e588fa1afc;hp=6e15aade4c7e3daf2f86cb53bde0b8ee545b3621;hpb=2815688c7ebf2be0dcf3cc0d271bb694dafa8ae7;p=simgear.git diff --git a/simgear/hla/HLADataType.hxx b/simgear/hla/HLADataType.hxx index 6e15aade..ad52958b 100644 --- a/simgear/hla/HLADataType.hxx +++ b/simgear/hla/HLADataType.hxx @@ -22,6 +22,7 @@ #include #include #include "RTIData.hxx" +#include "HLATypes.hxx" namespace simgear { @@ -63,6 +64,8 @@ public: /// required for propper feeing of memory. virtual void releaseDataTypeReferences(); + bool getDataElementIndex(HLADataElementIndex& index, const std::string& path, std::string::size_type offset) const; + protected: HLADataType(const std::string& name, unsigned alignment = 1); void setAlignment(unsigned alignment); @@ -70,6 +73,8 @@ protected: virtual void _recomputeAlignmentImplementation(); private: + class _DataElementIndexVisitor; + std::string _name; std::string _semantics; unsigned _alignment;