21 #include "../common/AbstractObject.h"
25 class ActivityTemplate;
28 class Activity :
public COMMON_NS::AbstractObject
32 Activity() : COMMON_NS::AbstractObject() {}
39 Activity(gsoap_resqml2_0_1::_resqml20__Activity* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
46 Activity(gsoap_eml2_3::_eml23__Activity* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
55 DLL_IMPORT_OR_EXPORT
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
75 const std::string & value) = 0;
111 AbstractObject* resqmlObject) = 0;
127 DLL_IMPORT_OR_EXPORT
virtual unsigned int getParameterCount(
const std::string & paramTitle)
const = 0;
138 DLL_IMPORT_OR_EXPORT
virtual const std::string &
getParameterTitle(
unsigned int index)
const = 0;
389 DLL_IMPORT_OR_EXPORT
static const char*
XML_TAG;
391 DLL_IMPORT_OR_EXPORT
virtual std::string
getXmlTag() const final {
return XML_TAG; }
395 void loadTargetRelationships();
Instance of a given activity.
Definition: Activity.h:29
virtual std::vector< int64_t > getIntegerQuantityParameterValue(const std::string ¶mTitle) const =0
virtual void pushBackParameter(const std::string title, int64_t value)=0
static const char * XML_TAG
Definition: Activity.h:389
std::vector< AbstractObject * > getResqmlObjectSet() const
virtual bool isAnIntegerQuantityParameter(const std::string ¶mTitle) const =0
virtual unsigned int getParameterCount(const std::string ¶mTitle) const =0
virtual AbstractObject * getResqmlObjectParameterValue(unsigned int index) const =0
virtual bool isAResqmlObjectParameter(unsigned int index) const =0
virtual bool isAStringParameter(unsigned int index) const =0
virtual std::vector< std::string > getStringParameterValue(const std::string ¶mTitle) const =0
virtual double getFloatingPointQuantityParameterValue(unsigned int index) const =0
virtual bool isAResqmlObjectParameter(const std::string ¶mTitle) const =0
ActivityTemplate * getActivityTemplate() const
virtual ~Activity()=default
virtual const std::string & getParameterTitle(unsigned int index) const =0
virtual std::vector< AbstractObject * > getResqmlObjectParameterValue(const std::string ¶mTitle) const =0
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: Activity.h:55
virtual bool isAFloatingPointQuantityParameter(const std::string ¶mTitle) const =0
virtual unsigned int getParameterCount() const =0
virtual std::string getXmlTag() const final
Definition: Activity.h:391
virtual std::vector< double > getFloatingPointQuantityParameterValue(const std::string ¶mTitle) const =0
virtual void setActivityTemplate(ActivityTemplate *activityTemplate)=0
virtual common::DataObjectReference getActivityTemplateDor() const =0
virtual std::vector< unsigned int > getParameterIndexOfTitle(const std::string ¶mTitle) const =0
virtual void pushBackParameter(const std::string title, AbstractObject *resqmlObject)=0
virtual bool isAStringParameter(const std::string ¶mTitle) const =0
Queries if all of the parameters sharing a given title are string parameters.
virtual int64_t getIntegerQuantityParameterValue(unsigned int index) const =0
virtual bool isAnIntegerQuantityParameter(unsigned int index) const =0
virtual const std::string & getStringParameterValue(unsigned int index) const =0
virtual bool isAFloatingPointQuantityParameter(unsigned int index) const =0
virtual void pushBackParameter(const std::string title, const std::string &value)=0
Description of one type of activity.
Definition: ActivityTemplate.h:29