Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
PropertyKind.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/PropertyKind.h"
22 #include "resqml2_0_1/PropertyKindMapper.h"
23 
24 namespace RESQML2_0_1_NS
25 {
26  class DLL_IMPORT_OR_EXPORT PropertyKind : public RESQML2_NS::PropertyKind
27  {
28  private:
29 
30  void init(soap* soapContext, const std::string & guid, const std::string & title, const std::string & namingSystem);
31 
32  public:
36  PropertyKind(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::PropertyKind(partialObject) {}
37 
47  PropertyKind(soap* soapContext, const std::string & guid, const std::string & title,
48  const std::string & namingSystem, const gsoap_resqml2_0_1::resqml2__ResqmlUom & uom, const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind & parentEnergisticsPropertyKind);
49 
59  PropertyKind(soap* soapContext, const std::string & guid, const std::string & title,
60  const std::string & namingSystem, const gsoap_resqml2_0_1::resqml2__ResqmlUom & uom, RESQML2_NS::PropertyKind * parentPropType);
61 
71  PropertyKind(soap* soapContext, const std::string & guid, const std::string & title,
72  const std::string & namingSystem, const std::string & nonStandardUom, const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind & parentEnergisticsPropertyKind);
73 
83  PropertyKind(soap* soapContext, const std::string & guid, const std::string & title,
84  const std::string & namingSystem, const std::string & nonStandardUom, RESQML2_NS::PropertyKind * parentPropType);
85 
89  PropertyKind(gsoap_resqml2_0_1::_resqml2__PropertyKind* fromGsoap) :RESQML2_NS::PropertyKind(fromGsoap) {}
90 
95 
96  bool isChildOf(gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind standardPropKind) const;
97 
98  bool isAbstract() const;
99 
100  protected:
101  void setXmlParentPropertyKind(RESQML2_NS::PropertyKind* parentPropertyKind);
102 
103  gsoap_resqml2_0_1::_resqml2__PropertyKind* getSpecializedGsoapProxy() const;
104 
105  friend RESQML2_0_1_NS::PropertyKind* PropertyKindMapper::addResqmlLocalPropertyKindToEpcDocumentFromApplicationPropertyKindName(const std::string & applicationPropertyKindName, const std::string & application);
106  };
107 }
108 
109 
class PropertyKind * addResqmlLocalPropertyKindToEpcDocumentFromApplicationPropertyKindName(const std::string &applicationPropertyKindName, const std::string &application)
Definition: PropertyKindMapper.cpp:278
Definition: EpcDocument.h:65
~PropertyKind()
Definition: PropertyKind.h:94
Definition: PropertyKind.h:25
Definition: PropertyKind.h:26
PropertyKind(gsoap_resqml2_0_1::_resqml2__PropertyKind *fromGsoap)
Definition: PropertyKind.h:89
PropertyKind(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: PropertyKind.h:36
Definition: EpcDocument.h:49