X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fhla%2FHLAObjectClass.hxx;h=f4453c7c47553abbe714c465566358e9eac383a5;hb=9fd90e26f7da96ec968ad22dc20fc0041bc02136;hp=d80e4f8d5988d9527e39dde7be1f85471f2bbd7b;hpb=b18c92f5156b871268dcc7e8d7b82879d25baf31;p=simgear.git diff --git a/simgear/hla/HLAObjectClass.hxx b/simgear/hla/HLAObjectClass.hxx index d80e4f8d..f4453c7c 100644 --- a/simgear/hla/HLAObjectClass.hxx +++ b/simgear/hla/HLAObjectClass.hxx @@ -72,10 +72,9 @@ public: /// Sets the publication type of the attribute with the given index to publicationType void setAttributePublicationType(unsigned index, HLAPublicationType publicationType); - /// Return the index, path pair for the given string path pair - HLADataElement::IndexPathPair getIndexPathPair(const HLADataElement::StringPathPair&) const; - /// Return the index, path pair for the given string path - HLADataElement::IndexPathPair getIndexPathPair(const std::string& path) const; + /// Get the attribute data element index for the given path, return true if successful + bool getDataElementIndex(HLADataElementIndex& dataElementIndex, const std::string& path) const; + HLADataElementIndex getDataElementIndex(const std::string& path) const; virtual bool subscribe(); virtual bool unsubscribe();