Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <PropertyKind.h>
Public Member Functions | |
PropertyKind (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
PropertyKind (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, const std::string &namingSystem, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parentEnergisticsPropertyKind) | |
PropertyKind (const std::string &guid, const std::string &title, const std::string &namingSystem, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, eml2 ::PropertyKind *parentPropType) | |
Creates a local property type which uses a standard uom and which derives from another local property type. | |
PropertyKind (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, const std::string &namingSystem, const std::string &nonStandardUom, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parentEnergisticsPropertyKind) | |
Creates a local property type which uses a non standard uom and which derives from a standard Energistics property type. | |
PropertyKind (const std::string &guid, const std::string &title, const std::string &namingSystem, const std::string &nonStandardUom, eml2 ::PropertyKind *parentPropType) | |
Creates a local property type which uses a non standard uom which derives from another local property type. | |
PropertyKind (gsoap_resqml2_0_1::_resqml20__PropertyKind *fromGsoap) | |
~PropertyKind ()=default | |
bool | isChildOf (gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind standardPropKind) const |
bool | isAbstract () const final |
bool | isParentPartial () const final |
std::string | getBaseUomAsString () const final |
std::string | getParentAsString () const final |
common::DataObjectReference | getParentPropertyKindDor () const final |
bool | isParentAnEnergisticsPropertyKind () const |
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | getParentEnergisticsPropertyKind () const |
void | loadTargetRelationships () final |
std::string | getXmlNamespace () const final |
Static Public Attributes | |
static const char * | XML_NS |
Friends | |
resqml2_0_1::PropertyKind * | PropertyKindMapper::addResqmlLocalPropertyKindToEpcDocumentFromApplicationPropertyKindName (const std::string &applicationPropertyKindName, const std::string &application) |
A property kind.
|
inline |
Only to be used in partial transfer context
[in,out] | partialObject | If non-null, the partial object. |
resqml2_0_1::PropertyKind::PropertyKind | ( | common ::DataObjectRepository * | repo, |
const std::string & | guid, | ||
const std::string & | title, | ||
const std::string & | namingSystem, | ||
gsoap_resqml2_0_1::resqml20__ResqmlUom | uom, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | parentEnergisticsPropertyKind ) |
Creates a local property type which uses a standard uom and which derives from a standard Energistics property type.
[in,out] | repo | The repo where the underlying gsoap proxy is going to be created. |
guid | The guid to set to the local 3d crs. If empty then a new guid will be generated. | |
title | The title of the instance. | |
namingSystem | The name of the dictionary within which the property is unique. | |
uom | The unit of measure of the property type. | |
parentEnergisticsPropertyKind | The name of the parent property type in the Energistics property dictionary. |
resqml2_0_1::PropertyKind::PropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | namingSystem, | ||
gsoap_resqml2_0_1::resqml20__ResqmlUom | uom, | ||
eml2 ::PropertyKind * | parentPropType ) |
Creates a local property type which uses a standard uom and which derives from another local property type.
std::invalid_argument | If parentPropType == nullptr . |
guid | The guid to set to the local 3d crs. If empty then a new guid will be generated. | |
title | The title of the instance. | |
namingSystem | The name of the dictionary within which the property is unique. | |
uom | The unit of measure of the property type. | |
[in,out] | parentPropType | The local parent property type in the EPC document. |
resqml2_0_1::PropertyKind::PropertyKind | ( | common ::DataObjectRepository * | repo, |
const std::string & | guid, | ||
const std::string & | title, | ||
const std::string & | namingSystem, | ||
const std::string & | nonStandardUom, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | parentEnergisticsPropertyKind ) |
Creates a local property type which uses a non standard uom and which derives from a standard Energistics property type.
[in,out] | repo | The repo where the underlying gsoap proxy is going to be created. |
guid | The guid to set to the local 3d crs. If empty then a new guid will be generated. | |
title | The title of the instance. | |
namingSystem | The name of the dictionary within which the property is unique. | |
nonStandardUom | The non standard uom of the values. | |
parentEnergisticsPropertyKind | The name of the parent property type in the Energistics property dictionary. |
resqml2_0_1::PropertyKind::PropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | namingSystem, | ||
const std::string & | nonStandardUom, | ||
eml2 ::PropertyKind * | parentPropType ) |
Creates a local property type which uses a non standard uom which derives from another local property type.
guid | The guid to set to the local 3d crs. If empty then a new guid will be generated. | |
title | The title of the instance. | |
namingSystem | The name of the dictionary within which the property is unique. | |
nonStandardUom | The non standard uom of the values. | |
[in,out] | parentPropType | The local parent property type in the EPC document. |
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
[in,out] | fromGsoap | If non-null, from gsoap. |
|
default |
Destructor does nothing since the memory is managed by the gsoap context.
|
final |
Get the base unit of measure for conversion of the values of this property kind as a string.
|
final |
Get the title of the parent property kind
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqml2_0_1::PropertyKind::getParentEnergisticsPropertyKind | ( | ) | const |
Gets the standard Energistics parent property kind
std::invalid_argument | If the parent property kind is not an Energistics one. |
|
final |
Gets a data object reference on the parent local property kind
std::invalid_argument | If the parent property kind is not a local one (it is an Energistics standard one). |
|
inlinefinal |
Get the standard XML namespace for serializing this data object.
|
final |
Query if this object is abstract
bool resqml2_0_1::PropertyKind::isChildOf | ( | gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | standardPropKind | ) | const |
Is child of the given standard property kind
standardPropKind | The standard property kind. |
bool resqml2_0_1::PropertyKind::isParentAnEnergisticsPropertyKind | ( | ) | const |
Indicates if the parent property kind is either from the standard catalog of Energistics or from another local property kind
|
final |
Query if this object is parent partial
|
final |
Loads target relationships
|
friend |
Adds a resqml local property kind to epc document from application property kind name to 'application'
applicationPropertyKindName | Name of the application property kind. |
application | The application. |
|
static |
The standard XML namespace for serializing this data object.