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 uint64_t
getParameterCount(
const std::string & paramTitle)
const = 0;
389 DLL_IMPORT_OR_EXPORT
static constexpr char const* XML_TAG =
"Activity";
391 DLL_IMPORT_OR_EXPORT
virtual std::string
getXmlTag() const final {
return XML_TAG; }
395 void loadTargetRelationships()
override;
Instance of a given activity.
Definition Activity.h:29
virtual std::vector< double > getFloatingPointQuantityParameterValue(const std::string ¶mTitle) const =0
virtual bool isAnIntegerQuantityParameter(const std::string ¶mTitle) const =0
virtual bool isAFloatingPointQuantityParameter(uint64_t index) const =0
virtual uint64_t getParameterCount() const =0
virtual std::string getParameterTitle(uint64_t index) const =0
virtual std::vector< AbstractObject * > getResqmlObjectParameterValue(const std::string ¶mTitle) const =0
virtual uint64_t getParameterCount(const std::string ¶mTitle) const =0
virtual std::vector< int64_t > getIntegerQuantityParameterValue(const std::string ¶mTitle) const =0
virtual std::vector< uint64_t > getParameterIndexOfTitle(const std::string ¶mTitle) const =0
std::vector< AbstractObject * > getResqmlObjectSet() const
virtual void pushBackParameter(const std::string &title, AbstractObject *resqmlObject)=0
virtual bool isAResqmlObjectParameter(const std::string ¶mTitle) const =0
virtual ~Activity()=default
virtual double getFloatingPointQuantityParameterValue(uint64_t index) const =0
virtual bool isAnIntegerQuantityParameter(uint64_t index) const =0
virtual std::vector< std::string > getStringParameterValue(const std::string ¶mTitle) const =0
Activity(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition Activity.h:55
virtual int64_t getIntegerQuantityParameterValue(uint64_t index) const =0
virtual bool isAFloatingPointQuantityParameter(const std::string ¶mTitle) const =0
virtual std::string getStringParameterValue(uint64_t index) const =0
virtual std::string getXmlTag() const final
Definition Activity.h:391
virtual void pushBackParameter(const std::string &title, const std::string &value)=0
virtual void setActivityTemplate(ActivityTemplate *activityTemplate)=0
virtual common::DataObjectReference getActivityTemplateDor() const =0
virtual bool isAResqmlObjectParameter(uint64_t index) const =0
virtual bool isAStringParameter(uint64_t index) const =0
virtual bool isAStringParameter(const std::string ¶mTitle) const =0
Queries if all of the parameters sharing a given title are string parameters.
virtual void pushBackParameter(const std::string &title, int64_t value)=0
ActivityTemplate * getActivityTemplate() const
virtual AbstractObject * getResqmlObjectParameterValue(uint64_t index) const =0
Description of one type of activity.
Definition ActivityTemplate.h:29