#include <CategoricalProperty.h>
|  | 
|  | CategoricalProperty (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | 
|  | 
|  | CategoricalProperty (resqml2 ::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2 ::StringTableLookup *strLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) | 
|  | 
|  | CategoricalProperty (resqml2 ::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2 ::DoubleTableLookup *dblLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) | 
|  | 
|  | CategoricalProperty (resqml2 ::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2 ::StringTableLookup *strLookup, eml2 ::PropertyKind *localPropKind) | 
|  | 
|  | CategoricalProperty (resqml2 ::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2 ::DoubleTableLookup *dblLookup, eml2 ::PropertyKind *localPropKind) | 
|  | 
|  | CategoricalProperty (gsoap_resqml2_0_1::_resqml20__CategoricalProperty *fromGsoap) | 
|  | 
|  | ~CategoricalProperty ()=default | 
|  | 
| common::DataObjectReference | getLookupDor () const final | 
|  | 
| gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | getEnergisticsPropertyKind () const | 
|  | 
| bool | validatePropertyKindAssociation (eml2 ::PropertyKind *pk) final | 
|  | 
| bool | validatePropertyKindAssociation (gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind pk) final | 
|  | 
| std::string | getXmlNamespace () const final | 
|  | 
Proxy class for a categorical property. It contains discrete integers. This type of property is associated either: as an internally stored index to a string through a lookup mapping, or as an internally stored double to another double value through an explicitly provided table. 
◆ CategoricalProperty() [1/6]
  
  | 
        
          | resqml2_0_1::CategoricalProperty::CategoricalProperty | ( | gsoap_resqml2_0_1::eml20__DataObjectReference * | partialObject | ) |  |  | inline | 
 
Only to be used in partial transfer context
- Parameters
- 
  
    | [in] | partialObject | If non-null, the partial object. |  
 
 
 
◆ CategoricalProperty() [2/6]
      
        
          | resqml2_0_1::CategoricalProperty::CategoricalProperty | ( | resqml2 ::AbstractRepresentation * | rep, | 
        
          |  |  | const std::string & | guid, | 
        
          |  |  | const std::string & | title, | 
        
          |  |  | unsigned int | dimension, | 
        
          |  |  | gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | 
        
          |  |  | resqml2 ::StringTableLookup * | strLookup, | 
        
          |  |  | gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) | 
      
 
Creates a categorical property which is of an Energistics standard property kind
- Exceptions
- 
  
    | std::invalid_argument | If reporstrLookupis null. |  
 
- Parameters
- 
  
    | [in] | rep | The representation on which this property is attached to. It cannot be null. |  |  | guid | The guid to set to the property. If empty then a new guid will be generated. |  |  | title | The title to set to the property. If empty then "unknown" title will be set. |  |  | dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. |  |  | attachmentKind | The topological element on which the property values are attached to. |  | [in] | strLookup | The string lookup which defines the possible string values and their keys. It cannot be null. |  | [in] | energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |  
 
 
 
◆ CategoricalProperty() [3/6]
      
        
          | resqml2_0_1::CategoricalProperty::CategoricalProperty | ( | resqml2 ::AbstractRepresentation * | rep, | 
        
          |  |  | const std::string & | guid, | 
        
          |  |  | const std::string & | title, | 
        
          |  |  | unsigned int | dimension, | 
        
          |  |  | gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | 
        
          |  |  | resqml2 ::DoubleTableLookup * | dblLookup, | 
        
          |  |  | gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) | 
      
 
Creates a categorical property which is of an Energistics standard property kind
- Exceptions
- 
  
    | std::invalid_argument | If reporstrLookupis null. |  
 
- Parameters
- 
  
    | [in] | rep | The representation on which this property is attached to. It cannot be null. |  |  | guid | The guid to set to the property. If empty then a new guid will be generated. |  |  | title | The title to set to the property. If empty then "unknown" title will be set. |  |  | dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. |  |  | attachmentKind | The topological element on which the property values are attached to. |  | [in] | dblLookup | The double table lookup which associate a discrete function to the property values. |  | [in] | energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |  
 
 
 
◆ CategoricalProperty() [4/6]
      
        
          | resqml2_0_1::CategoricalProperty::CategoricalProperty | ( | resqml2 ::AbstractRepresentation * | rep, | 
        
          |  |  | const std::string & | guid, | 
        
          |  |  | const std::string & | title, | 
        
          |  |  | unsigned int | dimension, | 
        
          |  |  | gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | 
        
          |  |  | resqml2 ::StringTableLookup * | strLookup, | 
        
          |  |  | eml2 ::PropertyKind * | localPropKind ) | 
      
 
Creates a categorical property which is of a local property kind
- Exceptions
- 
  
    | std::invalid_argument | If rep,strLookuporlocalPropKindis null. |  
 
- Parameters
- 
  
    | [in] | rep | The representation on which this property is attached to. It cannot be null. |  |  | guid | The guid to set to the property. If empty then a new guid will be generated. |  |  | title | The title to set to the property. If empty then "unknown" title will be set. |  |  | dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. |  |  | attachmentKind | The topological element on which the property values are attached to. |  | [in] | strLookup | The string lookup which defines the possible string values and their keys. It cannot be null. |  | [in] | localPropKind | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |  
 
 
 
◆ CategoricalProperty() [5/6]
      
        
          | resqml2_0_1::CategoricalProperty::CategoricalProperty | ( | resqml2 ::AbstractRepresentation * | rep, | 
        
          |  |  | const std::string & | guid, | 
        
          |  |  | const std::string & | title, | 
        
          |  |  | unsigned int | dimension, | 
        
          |  |  | gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | 
        
          |  |  | resqml2 ::DoubleTableLookup * | dblLookup, | 
        
          |  |  | eml2 ::PropertyKind * | localPropKind ) | 
      
 
Creates a categorical property which is of a local property kind
- Exceptions
- 
  
    | std::invalid_argument | If rep,strLookuporlocalPropKindis null. |  
 
- Parameters
- 
  
    | [in] | rep | The representation on which this property is attached to. It cannot be null. |  |  | guid | The guid to set to the property. If empty then a new guid will be generated. |  |  | title | The title to set to the property. If empty then "unknown" title will be set. |  |  | dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. |  |  | attachmentKind | The topological element on which the property values are attached to. |  | [in] | dblLookup | The double table lookup which associate a discrete function to the property values. |  | [in] | localPropKind | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |  
 
 
 
◆ CategoricalProperty() [6/6]
  
  | 
        
          | resqml2_0_1::CategoricalProperty::CategoricalProperty | ( | gsoap_resqml2_0_1::_resqml20__CategoricalProperty * | fromGsoap | ) |  |  | inline | 
 
Creates an instance of this class by wrapping a gSOAP instance
- Parameters
- 
  
    | [in] | fromGsoap | If non-null, the gSOAP instance. |  
 
 
 
◆ ~CategoricalProperty()
  
  | 
        
          | resqml2_0_1::CategoricalProperty::~CategoricalProperty | ( |  | ) |  |  | default | 
 
Destructor does nothing since the memory is managed by the gsoap context. 
 
 
◆ getEnergisticsPropertyKind()
      
        
          | gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqml2_0_1::CategoricalProperty::getEnergisticsPropertyKind | ( |  | ) | const | 
      
 
Gets the Energistics property kind which is associated to this intance
- Exceptions
- 
  
    | std::invalid_argument | If the property kind of this property is not an Energistics one. |  
 
- Returns
- The Energistics property kind. 
 
 
◆ getXmlNamespace()
  
  | 
        
          | std::string resqml2_0_1::CategoricalProperty::getXmlNamespace | ( |  | ) | const |  | inlinefinal | 
 
Get the standard XML namespace for serializing this data object. 
 
 
◆ validatePropertyKindAssociation() [1/2]
  
  | 
        
          | bool resqml2_0_1::CategoricalProperty::validatePropertyKindAssociation | ( | eml2 ::PropertyKind * | pk | ) |  |  | final | 
 
Check if the associated local property kind is allowed for this property. 
 
 
◆ validatePropertyKindAssociation() [2/2]
  
  | 
        
          | bool resqml2_0_1::CategoricalProperty::validatePropertyKindAssociation | ( | gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | pk | ) |  |  | final | 
 
Check if the associated standard property kind is allowed for this property. 
 
 
◆ XML_NS
  
  | 
        
          | const char* resqml2_0_1::CategoricalProperty::XML_NS |  | static | 
 
The standard XML namespace for serializing this data object. 
 
 
The documentation for this class was generated from the following file: