Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
resqml2_0_1::PolylineRepresentation Class Referencefinal

#include <PolylineRepresentation.h>

Inheritance diagram for resqml2_0_1::PolylineRepresentation:

Public Member Functions

 PolylineRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 PolylineRepresentation (resqml2 ::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__LineRole roleKind, bool isClosed=false)
 Creates an instance of this class in a gsoap context.
 
 PolylineRepresentation (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, bool isClosed=false)
 
 PolylineRepresentation (resqml2 ::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, bool isClosed=false)
 Creates an instance of this class in a gsoap context.
 
 PolylineRepresentation (gsoap_resqml2_0_1::_resqml20__PolylineRepresentation *fromGsoap)
 
 ~PolylineRepresentation ()=default
 
common::DataObjectReference getHdfProxyDor () const final
 
uint64_t getXyzPointCountOfPatch (unsigned int patchIndex) const final
 
void getXyzPointsOfPatch (unsigned int patchIndex, double *xyzPoints) const final
 
void setGeometry (double const *points, unsigned int pointCount, eml2 ::AbstractHdfProxy *proxy=nullptr, resqml2 ::AbstractLocal3dCrs *localCrs=nullptr) final
 
bool isClosed () const final
 
bool hasALineRole () const final
 
gsoap_eml2_3::resqml22__LineRole getLineRole () const final
 
void setLineRole (gsoap_eml2_3::resqml22__LineRole lineRole) final
 
std::string getXmlNamespace () const final
 

Static Public Attributes

static const char * XML_NS
 

Detailed Description

A polyline representation.

Constructor & Destructor Documentation

◆ PolylineRepresentation() [1/5]

resqml2_0_1::PolylineRepresentation::PolylineRepresentation ( gsoap_resqml2_0_1::eml20__DataObjectReference * partialObject)
inline

Only to be used in partial transfer context

Parameters
[in,out]partialObjectIf non-null, the partial object.

◆ PolylineRepresentation() [2/5]

resqml2_0_1::PolylineRepresentation::PolylineRepresentation ( resqml2 ::AbstractFeatureInterpretation * interp,
const std::string & guid,
const std::string & title,
gsoap_eml2_3::resqml22__LineRole roleKind,
bool isClosed = false )

Creates an instance of this class in a gsoap context.

Exceptions
std::invalid_argumentIf interp == nullptr.
Parameters
[in]interpThe interpretation which this representation represents.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
roleKindIndicates the role of this representation.
isClosed(Optional) Indicates wether this line representaiton is closed or not.

◆ PolylineRepresentation() [3/5]

resqml2_0_1::PolylineRepresentation::PolylineRepresentation ( common ::DataObjectRepository * repo,
const std::string & guid,
const std::string & title,
bool isClosed = false )

Creates an instance of this class in a gsoap context.

Parameters
[in,out]repoIf non-null, the repo.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
isClosed(Optional) Indicates wether this line representaiton is closed or not.

◆ PolylineRepresentation() [4/5]

resqml2_0_1::PolylineRepresentation::PolylineRepresentation ( resqml2 ::AbstractFeatureInterpretation * interp,
const std::string & guid,
const std::string & title,
bool isClosed = false )

Creates an instance of this class in a gsoap context.

Exceptions
std::invalid_argumentIf interp == nullptr.
Parameters
[in]interpThe interpretation which this representation represents.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
isClosed(Optional) Indicates wether this line representaiton is closed or not.

◆ PolylineRepresentation() [5/5]

resqml2_0_1::PolylineRepresentation::PolylineRepresentation ( gsoap_resqml2_0_1::_resqml20__PolylineRepresentation * fromGsoap)
inline

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

Parameters
[in,out]fromGsoapIf non-null, from gsoap.

◆ ~PolylineRepresentation()

resqml2_0_1::PolylineRepresentation::~PolylineRepresentation ( )
default

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

Member Function Documentation

◆ getXmlNamespace()

std::string resqml2_0_1::PolylineRepresentation::getXmlNamespace ( ) const
inlinefinal

Get the standard XML namespace for serializing this data object.

Member Data Documentation

◆ XML_NS

const char* resqml2_0_1::PolylineRepresentation::XML_NS
static

The standard XML namespace for serializing this data object.


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