21 #include <unordered_map>
23 #include "../common/DataObjectRepository.h"
25 namespace RESQML2_0_1_NS
127 DLL_IMPORT_OR_EXPORT
bool isChildOf(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind child, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parent)
const;
136 DLL_IMPORT_OR_EXPORT
bool isAbstract(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqmlStandardPropertyKindName)
const;
140 COMMON_NS::DataObjectRepository * dataObjRepo;
143 std::unordered_map<gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind, gsoap_resqml2_0_1::ptm__standardEnergisticsPropertyType*, std::hash<int> > resqmlStandardPropertyKindNameToApplicationPropertyKindName;
149 std::unordered_map<std::string, std::unordered_map<std::string, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind> > applicationPropertyKindNameToResqmlStandardPropertyKindName;
152 std::unordered_map<std::string, std::unordered_map<std::string, std::string> > resqmlLocalPropertyKindUuidToApplicationPropertyKindName;
154 std::unordered_map<std::string, std::unordered_map<std::string, std::string> > applicationPropertyKindNameToResqmlLocalPropertyKindUuid;
157 std::unordered_map<std::string, gsoap_resqml2_0_1::_resqml20__PropertyKind*> resqmlLocalPropertyKindUuidToResqmlLocalPropertyKind;
Definition: PropertyKind.h:28
Definition: PropertyKindMapper.h:29
std::string getApplicationPropertyKindNameFromResqmlStandardPropertyKindName(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqmlStandardPropertyKindName, const std::string &application) const
Get the name of a resqml standard property kind into a particular application.
std::string getDescriptionOfResqmlStandardPropertyKindName(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqmlStandardPropertyKindName) const
class PropertyKind * addResqmlLocalPropertyKindToEpcDocumentFromApplicationPropertyKindName(const std::string &applicationPropertyKindName, const std::string &application)
PropertyKindMapper(common::DataObjectRepository *repository)
Definition: PropertyKindMapper.h:37
~PropertyKindMapper()=default
std::string loadMappingFilesFromDirectory(const std::string &directory)
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind getPropertyKindParentOfResqmlStandardPropertyKindName(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqmlStandardPropertyKindName) const
bool isChildOf(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind child, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parent) const
bool isAbstract(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqmlStandardPropertyKindName) const
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind getResqmlStandardPropertyKindNameFromApplicationPropertyKindName(const std::string &applicationPropertyKindName, const std::string &application) const
Gets resqml standard property kind name from application property kind name.
std::string getApplicationPropertyKindNameFromResqmlLocalPropertyKindUuid(const std::string &resqmlLocalPropertyKindUuid, const std::string &application) const
Gets application property kind name from resqml local property kind uuid.
std::string getResqmlLocalPropertyKindUuidFromApplicationPropertyKindName(const std::string &applicationPropertyKindName, const std::string &application) const