21 #include "../eml2/Activity.h"
26 class Activity final :
public EML2_NS::Activity
33 void loadTargetRelationships();
44 DLL_IMPORT_OR_EXPORT
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : EML2_NS::
Activity(partialObject) {}
56 Activity(EML2_NS::ActivityTemplate* activityTemplate,
const std::string & guid,
const std::string & title);
77 double value, gsoap_resqml2_0_1::resqml20__ResqmlUom uom = gsoap_resqml2_0_1::resqml20__ResqmlUom__Euc);
87 const std::string & value);
107 AbstractObject* resqmlObject);
322 DLL_IMPORT_OR_EXPORT
static const char*
XML_NS;
338 std::vector<gsoap_eml2_3::eml23__AbstractActivityParameter*> getParameterFromTitle(
const std::string & paramTitle)
const;
Definition: Activity.h:27
bool isAFloatingPointQuantityParameter(const std::string ¶mTitle) const
void pushBackParameter(const std::string title, double value, gsoap_resqml2_0_1::resqml20__ResqmlUom uom=gsoap_resqml2_0_1::resqml20__ResqmlUom__Euc)
std::string getXmlNamespace() const final
Definition: Activity.h:327
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: Activity.h:44
gsoap_resqml2_0_1::resqml20__ResqmlUom getFloatingPointQuantityParameterUom(unsigned int index) const
std::vector< gsoap_resqml2_0_1::resqml20__ResqmlUom > getFloatingPointQuantityParameterUom(const std::string ¶mTitle) const
const std::string & getParameterTitle(unsigned int index) const
std::vector< std::string > getStringParameterValue(const std::string ¶mTitle) const
std::vector< unsigned int > getParameterIndexOfTitle(const std::string ¶mTitle) const
std::vector< int64_t > getIntegerQuantityParameterValue(const std::string ¶mTitle) const
bool isAStringParameter(unsigned int index) const
unsigned int getParameterCount(const std::string ¶mTitle) const
std::vector< AbstractObject * > getResqmlObjectParameterValue(const std::string ¶mTitle) const
void setActivityTemplate(eml2::ActivityTemplate *activityTemplate)
std::vector< double > getFloatingPointQuantityParameterValue(const std::string ¶mTitle) const
unsigned int getParameterCount() const
Activity(gsoap_eml2_3::_eml23__Activity *fromGsoap)
Definition: Activity.h:63
static const char * XML_NS
Definition: Activity.h:322
AbstractObject * getResqmlObjectParameterValue(unsigned int index) const
bool isAResqmlObjectParameter(unsigned int index) const
common::DataObjectReference getActivityTemplateDor() const
bool isAFloatingPointQuantityParameter(unsigned int index) const
bool isAnIntegerQuantityParameter(const std::string ¶mTitle) const
bool isAResqmlObjectParameter(const std::string ¶mTitle) const
bool isAnIntegerQuantityParameter(unsigned int index) const
int64_t getIntegerQuantityParameterValue(unsigned int index) const
double getFloatingPointQuantityParameterValue(unsigned int index) const
bool isAStringParameter(const std::string ¶mTitle) const
void pushBackParameter(const std::string title, AbstractObject *resqmlObject)
const std::string & getStringParameterValue(unsigned int index) const
void pushBackParameter(const std::string title, const std::string &value)
void pushBackParameter(const std::string title, int64_t value)
Activity(eml2::ActivityTemplate *activityTemplate, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.