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::ActivityTemplate Class Referencefinal

#include <ActivityTemplate.h>

Inheritance diagram for resqml2_0_1::ActivityTemplate:

Public Member Functions

 ActivityTemplate (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 ActivityTemplate (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title)
 
 ActivityTemplate (gsoap_resqml2_0_1::_resqml20__ActivityTemplate *fromGsoap)
 
 ~ActivityTemplate ()=default
 
void pushBackParameter (const std::string &title, bool isInput, bool isOutput, unsigned int minOccurs, int maxOccurs) final
 
void pushBackParameter (const std::string &title, gsoap_resqml2_0_1::resqml20__ParameterKind kind, bool isInput, bool isOutput, unsigned int minOccurs, int maxOccurs)
 
void pushBackParameter (const std::string &title, bool isInput, bool isOutput, unsigned int minOccurs, int maxOccurs, std::string resqmlObjectContentType) final
 
bool isAnExistingParameter (const std::string &paramTitle) const final
 
uint64_t getParameterCount () const final
 
const std::string & getParameterTitle (unsigned int index) const final
 
std::vector< gsoap_resqml2_0_1::resqml20__ParameterKind > getParameterAllowedKinds (unsigned int index) const final
 
std::vector< gsoap_resqml2_0_1::resqml20__ParameterKind > getParameterAllowedKinds (const std::string &paramTitle) const final
 
bool getParameterIsInput (unsigned int index) const final
 
bool getParameterIsInput (const std::string &paramTitle) const final
 
bool getParameterIsOutput (unsigned int index) const final
 
bool getParameterIsOutput (const std::string &paramTitle) const final
 
uint64_t getParameterMinOccurences (unsigned int index) const final
 
uint64_t getParameterMinOccurences (const std::string &paramTitle) const final
 
uint64_t getParameterMaxOccurences (unsigned int index) const final
 
uint64_t getParameterMaxOccurences (const std::string &paramTitle) const final
 
std::string getXmlNamespaceVersion () const final
 
std::string getXmlNamespace () const final
 

Static Public Attributes

static const char * XML_NS
 

Detailed Description

An activity template.

Constructor & Destructor Documentation

◆ ActivityTemplate() [1/3]

resqml2_0_1::ActivityTemplate::ActivityTemplate ( 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.

◆ ActivityTemplate() [2/3]

resqml2_0_1::ActivityTemplate::ActivityTemplate ( common ::DataObjectRepository * repo,
const std::string & guid,
const std::string & title )

Creates an instance of this class in a gsoap context.

Parameters
[in,out]repoThe repository where the underlying gsoap proxy is going to be created.
guidThe guid to set to the boundary horizon. If empty then a new guid will be generated.
titleA title for the instance to create.

◆ ActivityTemplate() [3/3]

resqml2_0_1::ActivityTemplate::ActivityTemplate ( gsoap_resqml2_0_1::_resqml20__ActivityTemplate * fromGsoap)
inline

Constructor

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

◆ ~ActivityTemplate()

resqml2_0_1::ActivityTemplate::~ActivityTemplate ( )
default

Destructor

Member Function Documentation

◆ getParameterAllowedKinds() [1/2]

std::vector< gsoap_resqml2_0_1::resqml20__ParameterKind > resqml2_0_1::ActivityTemplate::getParameterAllowedKinds ( const std::string & paramTitle) const
final

Gets parameter allowed kinds

Parameters
paramTitleThe parameter title.
Returns
The parameter allowed kinds.

◆ getParameterAllowedKinds() [2/2]

std::vector< gsoap_resqml2_0_1::resqml20__ParameterKind > resqml2_0_1::ActivityTemplate::getParameterAllowedKinds ( unsigned int index) const
final

Gets parameter allowed kinds

Parameters
indexZero-based index of the.
Returns
The parameter allowed kinds.

◆ getParameterCount()

uint64_t resqml2_0_1::ActivityTemplate::getParameterCount ( ) const
final

Gets parameter count

Returns
The parameter count.

◆ getParameterIsInput() [1/2]

bool resqml2_0_1::ActivityTemplate::getParameterIsInput ( const std::string & paramTitle) const
final

Gets parameter is input

Parameters
paramTitleThe parameter title.
Returns
The parameter is input.

◆ getParameterIsInput() [2/2]

bool resqml2_0_1::ActivityTemplate::getParameterIsInput ( unsigned int index) const
final

Gets parameter is input

Parameters
indexZero-based index of the.
Returns
The parameter is input.

◆ getParameterIsOutput() [1/2]

bool resqml2_0_1::ActivityTemplate::getParameterIsOutput ( const std::string & paramTitle) const
final

Gets parameter is output

Parameters
paramTitleThe parameter title.
Returns
The parameter is output.

◆ getParameterIsOutput() [2/2]

bool resqml2_0_1::ActivityTemplate::getParameterIsOutput ( unsigned int index) const
final

Gets parameter is output

Parameters
indexZero-based index of the.
Returns
The parameter is output.

◆ getParameterMaxOccurences() [1/2]

uint64_t resqml2_0_1::ActivityTemplate::getParameterMaxOccurences ( const std::string & paramTitle) const
final

Gets parameter maximum occurences

Parameters
paramTitleThe parameter title.
Returns
The parameter maximum occurences.

◆ getParameterMaxOccurences() [2/2]

uint64_t resqml2_0_1::ActivityTemplate::getParameterMaxOccurences ( unsigned int index) const
final

Gets parameter maximum occurences

Parameters
indexZero-based index of the.
Returns
The parameter maximum occurences.

◆ getParameterMinOccurences() [1/2]

uint64_t resqml2_0_1::ActivityTemplate::getParameterMinOccurences ( const std::string & paramTitle) const
final

Gets parameter minimum occurences

Parameters
paramTitleThe parameter title.
Returns
The parameter minimum occurences.

◆ getParameterMinOccurences() [2/2]

uint64_t resqml2_0_1::ActivityTemplate::getParameterMinOccurences ( unsigned int index) const
final

Gets parameter minimum occurences

Parameters
indexZero-based index of the.
Returns
The parameter minimum occurences.

◆ getParameterTitle()

const std::string & resqml2_0_1::ActivityTemplate::getParameterTitle ( unsigned int index) const
final

Gets parameter title

Parameters
indexZero-based index of the.
Returns
The parameter title.

◆ getXmlNamespace()

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

Get the standard XML namespace for serializing this data object.

◆ getXmlNamespaceVersion()

std::string resqml2_0_1::ActivityTemplate::getXmlNamespaceVersion ( ) const
final

******************** MANDATORY FOR GsoapWrapper ******************


Returns
The XML namespace version.

◆ isAnExistingParameter()

bool resqml2_0_1::ActivityTemplate::isAnExistingParameter ( const std::string & paramTitle) const
final

Check if the instance contains a parameter with a particular title

Parameters
paramTitleThe title of the parameter we are looking for into the instance.
Returns
True if an existing parameter, false if not.

◆ pushBackParameter() [1/3]

void resqml2_0_1::ActivityTemplate::pushBackParameter ( const std::string & title,
bool isInput,
bool isOutput,
unsigned int minOccurs,
int maxOccurs )
final

Push back a parameter in the activity template instance. This parameter has an unconstrained type.

Parameters
titleThe title.
isInputTrue if is input, false if not.
isOutputTrue if is output, false if not.
minOccursThe minimum occurs.
maxOccursThe maximum occurs.

◆ pushBackParameter() [2/3]

void resqml2_0_1::ActivityTemplate::pushBackParameter ( const std::string & title,
bool isInput,
bool isOutput,
unsigned int minOccurs,
int maxOccurs,
std::string resqmlObjectContentType )
final

Push back a parameter in the activity template instance. This parameter must be of a data object kind.

Parameters
titleThe title.
isInputTrue if is input, false if not.
isOutputTrue if is output, false if not.
minOccursThe minimum occurs.
maxOccursThe maximum occurs.
resqmlObjectContentTypeIf empty, there is no constraint on the content type of this parameter.

◆ pushBackParameter() [3/3]

void resqml2_0_1::ActivityTemplate::pushBackParameter ( const std::string & title,
gsoap_resqml2_0_1::resqml20__ParameterKind kind,
bool isInput,
bool isOutput,
unsigned int minOccurs,
int maxOccurs )

Push back a parameter in the activity template instance. This parameter must not be of a data object kind.

Parameters
titleThe title.
kindThe kind.
isInputTrue if is input, false if not.
isOutputTrue if is output, false if not.
minOccursThe minimum occurs.
maxOccursThe maximum occurs.

Member Data Documentation

◆ XML_NS

const char* resqml2_0_1::ActivityTemplate::XML_NS
static

The standard XML namespace for serializing this data object.


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