#include <ActivityTemplate.h>
|
| 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 ¶mTitle) 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 ¶mTitle) const final |
|
bool | getParameterIsInput (unsigned int index) const final |
|
bool | getParameterIsInput (const std::string ¶mTitle) const final |
|
bool | getParameterIsOutput (unsigned int index) const final |
|
bool | getParameterIsOutput (const std::string ¶mTitle) const final |
|
uint64_t | getParameterMinOccurences (unsigned int index) const final |
|
uint64_t | getParameterMinOccurences (const std::string ¶mTitle) const final |
|
uint64_t | getParameterMaxOccurences (unsigned int index) const final |
|
uint64_t | getParameterMaxOccurences (const std::string ¶mTitle) const final |
|
std::string | getXmlNamespaceVersion () const final |
|
std::string | getXmlNamespace () const final |
|
◆ 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] | partialObject | If 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] | repo | The repository where the underlying gsoap proxy is going to be created. |
| guid | The guid to set to the boundary horizon. If empty then a new guid will be generated. |
| title | A 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] | fromGsoap | If non-null, from gsoap. |
◆ ~ActivityTemplate()
resqml2_0_1::ActivityTemplate::~ActivityTemplate |
( |
| ) |
|
|
default |
◆ 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
-
paramTitle | The 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
-
index | Zero-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
-
paramTitle | The 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
-
index | Zero-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
-
paramTitle | The 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
-
index | Zero-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
-
paramTitle | The 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
-
index | Zero-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
-
paramTitle | The 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
-
index | Zero-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
-
index | Zero-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
-
paramTitle | The 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
-
title | The title. |
isInput | True if is input, false if not. |
isOutput | True if is output, false if not. |
minOccurs | The minimum occurs. |
maxOccurs | The 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
-
title | The title. |
isInput | True if is input, false if not. |
isOutput | True if is output, false if not. |
minOccurs | The minimum occurs. |
maxOccurs | The maximum occurs. |
resqmlObjectContentType | If 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
-
title | The title. |
kind | The kind. |
isInput | True if is input, false if not. |
isOutput | True if is output, false if not. |
minOccurs | The minimum occurs. |
maxOccurs | The maximum occurs. |
◆ 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: