21 #include "../eml2/Activity.h"
23 namespace RESQML2_0_1_NS
26 class Activity final :
public EML2_NS::Activity
37 DLL_IMPORT_OR_EXPORT
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : EML2_NS::
Activity(partialObject) {}
49 Activity(EML2_NS::ActivityTemplate* activityTemplate,
const std::string & guid,
const std::string & title);
56 Activity(gsoap_resqml2_0_1::_resqml20__Activity* fromGsoap) : EML2_NS::
Activity(fromGsoap) {}
70 double value, gsoap_resqml2_0_1::resqml20__ResqmlUom uom = gsoap_resqml2_0_1::resqml20__ResqmlUom__Euc);
73 const std::string & value)
final;
79 AbstractObject* resqmlObject)
final;
95 DLL_IMPORT_OR_EXPORT
unsigned int getParameterCount(const std::
string & paramTitle) const final;
104 DLL_IMPORT_OR_EXPORT const std::
string & getParameterTitle(
unsigned int index) const final;
113 DLL_IMPORT_OR_EXPORT std::vector<
unsigned int> getParameterIndexOfTitle(const std::
string & paramTitle) const final;
122 DLL_IMPORT_OR_EXPORT
bool isAFloatingPointQuantityParameter(const std::
string & paramTitle) const final;
131 DLL_IMPORT_OR_EXPORT
bool isAFloatingPointQuantityParameter(
unsigned int index) const final;
140 DLL_IMPORT_OR_EXPORT std::vector<
double> getFloatingPointQuantityParameterValue(const std::
string & paramTitle) const final;
149 DLL_IMPORT_OR_EXPORT
double getFloatingPointQuantityParameterValue(
unsigned int index) const final;
158 DLL_IMPORT_OR_EXPORT std::vector<gsoap_resqml2_0_1::resqml20__ResqmlUom> getFloatingPointQuantityParameterUom(const std::
string & paramTitle) const;
167 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__ResqmlUom getFloatingPointQuantityParameterUom(
unsigned int index) const;
176 DLL_IMPORT_OR_EXPORT
bool isAnIntegerQuantityParameter(const std::
string & paramTitle) const final;
185 DLL_IMPORT_OR_EXPORT
bool isAnIntegerQuantityParameter(
unsigned int index) const final;
194 DLL_IMPORT_OR_EXPORT std::vector<int64_t> getIntegerQuantityParameterValue(const std::
string & paramTitle) const final;
203 DLL_IMPORT_OR_EXPORT int64_t getIntegerQuantityParameterValue(
unsigned int index) const final;
212 DLL_IMPORT_OR_EXPORT
bool isAStringParameter(const std::
string & paramTitle) const final;
221 DLL_IMPORT_OR_EXPORT
bool isAStringParameter(
unsigned int index) const final;
230 DLL_IMPORT_OR_EXPORT std::vector<std::
string> getStringParameterValue(const std::
string & paramTitle) const final;
239 DLL_IMPORT_OR_EXPORT const std::
string & getStringParameterValue(
unsigned int index) const final;
248 DLL_IMPORT_OR_EXPORT
bool isAResqmlObjectParameter(const std::
string & paramTitle) const final;
257 DLL_IMPORT_OR_EXPORT
bool isAResqmlObjectParameter(
unsigned int index) const final;
266 DLL_IMPORT_OR_EXPORT std::vector<AbstractObject*> getResqmlObjectParameterValue(const std::
string & paramTitle) const final;
275 DLL_IMPORT_OR_EXPORT AbstractObject* getResqmlObjectParameterValue(
unsigned int index) const final;
282 DLL_IMPORT_OR_EXPORT
void setActivityTemplate(EML2_NS::
ActivityTemplate* activityTemplate) final;
289 COMMON_NS::DataObjectReference getActivityTemplateDor() const final;
296 DLL_IMPORT_OR_EXPORT std::
string getXmlNamespaceVersion() const final;
301 DLL_IMPORT_OR_EXPORT static const
char* XML_NS;
306 DLL_IMPORT_OR_EXPORT std::
string getXmlNamespace() const final {
return XML_NS; }
322 std::vector<gsoap_resqml2_0_1::resqml20__AbstractActivityParameter*> getParameterFromTitle(
const std::string & paramTitle)
const;
Definition: Activity.h:27
unsigned int getParameterCount() const final
Activity(gsoap_resqml2_0_1::_resqml20__Activity *fromGsoap)
Definition: Activity.h:56
void pushBackParameter(const std::string title, double value, gsoap_resqml2_0_1::resqml20__ResqmlUom uom=gsoap_resqml2_0_1::resqml20__ResqmlUom__Euc)
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: Activity.h:37
Activity(eml2::ActivityTemplate *activityTemplate, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
void loadTargetRelationships()
void pushBackParameter(const std::string title, int64_t value) final
void pushBackParameter(const std::string title, const std::string &value) final
void pushBackParameter(const std::string title, AbstractObject *resqmlObject) final
Definition: ActivityTemplate.h:27