My Project
Public Member Functions | Protected Member Functions | Friends | List of all members
resqml2_0_1::PropertyKind Class Reference
Inheritance diagram for resqml2_0_1::PropertyKind:
resqml2::PropertyKind resqml2::AbstractObject

Public Member Functions

 PropertyKind (gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 
 PropertyKind (soap *soapContext, const std::string &guid, const std::string &title, const std::string &namingSystem, const gsoap_resqml2_0_1::resqml2__ResqmlUom &uom, const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &parentEnergisticsPropertyKind)
 
 PropertyKind (soap *soapContext, const std::string &guid, const std::string &title, const std::string &namingSystem, const gsoap_resqml2_0_1::resqml2__ResqmlUom &uom, resqml2::PropertyKind *parentPropType)
 
 PropertyKind (soap *soapContext, const std::string &guid, const std::string &title, const std::string &namingSystem, const std::string &nonStandardUom, const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &parentEnergisticsPropertyKind)
 
 PropertyKind (soap *soapContext, const std::string &guid, const std::string &title, const std::string &namingSystem, const std::string &nonStandardUom, resqml2::PropertyKind *parentPropType)
 
 PropertyKind (gsoap_resqml2_0_1::_resqml2__PropertyKind *fromGsoap)
 
 ~PropertyKind ()
 
bool isChildOf (gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind standardPropKind) const
 
bool isAbstract () const
 
- Public Member Functions inherited from resqml2::PropertyKind
const std::string & getNamingSystem () const
 
const gsoap_resqml2_0_1::resqml2__ResqmlUom & getUom () const
 
std::string getUomAsString () const
 
std::string getParentAsString () const
 
bool isParentAnEnergisticsPropertyKind () const
 
gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind getParentEnergisticsPropertyKind () const
 
std::string getParentLocalPropertyKindUuid () const
 
std::string getParentLocalPropertyKindTitle () const
 
PropertyKindgetParentLocalPropertyKind () const
 
void setParentPropertyKind (PropertyKind *parentPropertyKind)
 
virtual std::string getXmlTag () const
 
void addProperty (class AbstractProperty *repVal)
 
- Public Member Functions inherited from resqml2::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml__DataObjectReference * newResqmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getResqmlVersion () const
 
std::string getContentType () const
 
std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< resqml2::Activity * > & getActivitySet () const
 
void addOrSetExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::string getExtraMetadata (const std::string &key)
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Protected Member Functions

void setXmlParentPropertyKind (resqml2::PropertyKind *parentPropertyKind)
 
gsoap_resqml2_0_1::_resqml2__PropertyKind * getSpecializedGsoapProxy () const
 
- Protected Member Functions inherited from resqml2::PropertyKind
 PropertyKind ()
 
 PropertyKind (gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 
 PropertyKind (gsoap_resqml2_0_1::_resqml2__PropertyKind *fromGsoap)
 
std::vector< epc::RelationshipgetAllEpcRelationships () const
 
void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from resqml2::AbstractObject
 AbstractObject (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. More...
 
 AbstractObject (gsoap_resqml2_0_1::eml__AbstractCitedDataObject *proxy=nullptr)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 

Friends

resqml2_0_1::PropertyKindPropertyKindMapper::addResqmlLocalPropertyKindToEpcDocumentFromApplicationPropertyKindName (const std::string &applicationPropertyKindName, const std::string &application)
 

Additional Inherited Members

- Static Public Attributes inherited from resqml2::PropertyKind
static const char * XML_TAG = "PropertyKind"
 
- Static Protected Member Functions inherited from resqml2::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from resqml2::PropertyKind
std::vector< class AbstractProperty * > propertySet
 
std::vector< PropertyKind * > childPropertyKind
 
- Protected Attributes inherited from resqml2::AbstractObject
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * gsoapProxy2_0_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Constructor & Destructor Documentation

resqml2_0_1::PropertyKind::PropertyKind ( gsoap_resqml2_0_1::eml__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

resqml2_0_1::PropertyKind::PropertyKind ( soap *  soapContext,
const std::string &  guid,
const std::string &  title,
const std::string &  namingSystem,
const gsoap_resqml2_0_1::resqml2__ResqmlUom &  uom,
const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &  parentEnergisticsPropertyKind 
)

Creates a local property type which uses a standard uom and which derives from a standard Energistics property type.

Parameters
soapContextThe soap context where the underlying gsoap proxy is going to be created.
guidThe guid to set to the local 3d crs. If empty then a new guid will be generated.
titleThe title of the instance.
namingSystemThe name of the dictionary within which the property is unique.
uomThe unit of measure of the property type.
parentEnergisticsPropertyKindThe name of the parent property type in the Energistics property dictionary.
resqml2_0_1::PropertyKind::PropertyKind ( soap *  soapContext,
const std::string &  guid,
const std::string &  title,
const std::string &  namingSystem,
const gsoap_resqml2_0_1::resqml2__ResqmlUom &  uom,
resqml2::PropertyKind parentPropType 
)

Creates a local property type which uses a standard uom and which derives from another local property type.

Parameters
soapContextThe soap context where the underlying gsoap proxy is going to be created.
guidThe guid to set to the local 3d crs. If empty then a new guid will be generated.
titleThe title of the instance.
namingSystemThe name of the dictionary within which the property is unique.
uomThe unit of measure of the property type.
parentPropTypeThe local parent property type in the EPC document.
resqml2_0_1::PropertyKind::PropertyKind ( soap *  soapContext,
const std::string &  guid,
const std::string &  title,
const std::string &  namingSystem,
const std::string &  nonStandardUom,
const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &  parentEnergisticsPropertyKind 
)

Creates a local property type which uses a non standard uom and which derives from a standard Energistics property type.

Parameters
soapContextThe soap context where the underlying gsoap proxy is going to be created.
guidThe guid to set to the local 3d crs. If empty then a new guid will be generated.
titleThe title of the instance.
namingSystemThe name of the dictionary within which the property is unique. nonStandardUom The non standard uom of the values
parentEnergisticsPropertyKindThe name of the parent property type in the Energistics property dictionary.
resqml2_0_1::PropertyKind::PropertyKind ( soap *  soapContext,
const std::string &  guid,
const std::string &  title,
const std::string &  namingSystem,
const std::string &  nonStandardUom,
resqml2::PropertyKind parentPropType 
)

Creates a local property type which uses a non standard uom which derives from another local property type.

Parameters
soapContextThe soap context where the underlying gsoap proxy is going to be created.
guidThe guid to set to the local 3d crs. If empty then a new guid will be generated.
titleThe title of the instance.
namingSystemThe name of the dictionary within which the property is unique. nonStandardUom The non standard uom of the values
parentPropTypeThe local parent property type in the EPC document.
resqml2_0_1::PropertyKind::PropertyKind ( gsoap_resqml2_0_1::_resqml2__PropertyKind *  fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

resqml2_0_1::PropertyKind::~PropertyKind ( )
inlinevirtual

Destructor does nothing since the memory is managed by the gsoap context.

Reimplemented from resqml2::PropertyKind.

Member Function Documentation

bool PropertyKind::isAbstract ( ) const
virtual

Check if this property kind is abstract or not.

Implements resqml2::PropertyKind.

bool PropertyKind::isChildOf ( gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind  standardPropKind) const
virtual

Check if this property kind is a child of a particular standard Energistics Property kind.

Implements resqml2::PropertyKind.


The documentation for this class was generated from the following files: