Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
CategoricalProperty.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "../resqml2/CategoricalProperty.h"
22 
23 namespace RESQML2_0_1_NS
24 {
30  class CategoricalProperty final : public RESQML2_NS::CategoricalProperty
31  {
32  public:
33 
39  DLL_IMPORT_OR_EXPORT CategoricalProperty(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::CategoricalProperty(partialObject) {}
40 
62  CategoricalProperty(RESQML2_NS::AbstractRepresentation * rep, const std::string & guid, const std::string & title,
63  unsigned int dimension, gsoap_eml2_3::resqml22__IndexableElement attachmentKind,
64  RESQML2_NS::StringTableLookup* strLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind);
65 
86  CategoricalProperty(RESQML2_NS::AbstractRepresentation * rep, const std::string & guid, const std::string & title,
87  unsigned int dimension, gsoap_eml2_3::resqml22__IndexableElement attachmentKind,
88  RESQML2_NS::DoubleTableLookup* dblLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind);
89 
110  CategoricalProperty(RESQML2_NS::AbstractRepresentation * rep, const std::string & guid, const std::string & title,
111  unsigned int dimension, gsoap_eml2_3::resqml22__IndexableElement attachmentKind,
112  RESQML2_NS::StringTableLookup* strLookup, EML2_NS::PropertyKind * localPropKind);
113 
133  CategoricalProperty(RESQML2_NS::AbstractRepresentation * rep, const std::string & guid, const std::string & title,
134  unsigned int dimension, gsoap_eml2_3::resqml22__IndexableElement attachmentKind,
135  RESQML2_NS::DoubleTableLookup* dblLookup, EML2_NS::PropertyKind * localPropKind);
136 
142  CategoricalProperty(gsoap_resqml2_0_1::_resqml20__CategoricalProperty* fromGsoap): RESQML2_NS::CategoricalProperty(fromGsoap) {}
143 
145  ~CategoricalProperty() = default;
146 
147  DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getLookupDor() const final;
148 
157  DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind getEnergisticsPropertyKind() const;
158 
162  bool validatePropertyKindAssociation(EML2_NS::PropertyKind* pk) final;
163 
167  bool validatePropertyKindAssociation(gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind pk) final;
168 
172  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
173 
177  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
178  };
179 }
Definition: CategoricalProperty.h:31
CategoricalProperty(resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::resqml22__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::resqml22__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::resqml22__IndexableElement attachmentKind, resqml2::DoubleTableLookup *dblLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind)
CategoricalProperty(gsoap_resqml2_0_1::_resqml20__CategoricalProperty *fromGsoap)
Definition: CategoricalProperty.h:142
CategoricalProperty(resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::resqml22__IndexableElement attachmentKind, resqml2::DoubleTableLookup *dblLookup, eml2::PropertyKind *localPropKind)
common::DataObjectReference getLookupDor() const final
CategoricalProperty(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: CategoricalProperty.h:39
Definition: PropertyKind.h:28