21 #include "../common/AbstractObject.h"
23 namespace PRODML2_1_NS
43 DLL_IMPORT_OR_EXPORT
TimeSeriesData(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
57 const std::string & guid,
58 const std::string & title);
65 TimeSeriesData(gsoap_eml2_2::prodml21__TimeSeriesData* fromGsoap):AbstractObject(fromGsoap) {}
93 DLL_IMPORT_OR_EXPORT
void pushBackKeywordValue(gsoap_eml2_2::prodml21__TimeSeriesKeyword keyword,
const std::string & value);
103 DLL_IMPORT_OR_EXPORT
void setUom(gsoap_resqml2_0_1::resqml20__ResqmlUom uom);
110 DLL_IMPORT_OR_EXPORT
void setMeasureClass(gsoap_eml2_2::eml22__MeasureClass measureClass);
127 DLL_IMPORT_OR_EXPORT
void pushBackDoubleValue(
double value, time_t timestamp, gsoap_eml2_2::prodml21__ValueStatus status);
210 DLL_IMPORT_OR_EXPORT gsoap_eml2_2::prodml21__ValueStatus
getValueStatus(
unsigned int index)
const;
223 DLL_IMPORT_OR_EXPORT gsoap_eml2_2::prodml21__TimeSeriesKeyword
getKeyword(
unsigned int index)
const;
238 DLL_IMPORT_OR_EXPORT
static const char*
XML_TAG;
245 DLL_IMPORT_OR_EXPORT
virtual std::string
getXmlTag()
const {
return XML_TAG; }
250 DLL_IMPORT_OR_EXPORT
static const char*
XML_NS;
Definition: TimeSeriesData.h:33
TimeSeriesData(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
void pushBackDoubleValue(double value, time_t timestamp, gsoap_eml2_2::prodml21__ValueStatus status)
void pushBackStringValue(const std::string &value, time_t timestamp=-1)
virtual std::string getXmlTag() const
Definition: TimeSeriesData.h:245
time_t getValueTimestamp(unsigned int index) const
static const char * XML_TAG
Definition: TimeSeriesData.h:238
std::string getXmlNamespace() const final
Definition: TimeSeriesData.h:255
~TimeSeriesData()=default
void pushBackDoubleValue(double value, time_t timestamp=-1)
std::string getMeasureClassAsString() const
gsoap_eml2_2::prodml21__TimeSeriesKeyword getKeyword(unsigned int index) const
bool isStringValue(unsigned int index) const
unsigned int getValueCount() const
void setUom(gsoap_resqml2_0_1::resqml20__ResqmlUom uom)
void setMeasureClass(gsoap_eml2_2::eml22__MeasureClass measureClass)
bool hasValueStatus(unsigned int index) const
void pushBackKeywordValue(gsoap_eml2_2::prodml21__TimeSeriesKeyword keyword, const std::string &value)
std::string getUomAsString() const
double getDoubleValue(unsigned int index) const
std::string getStringValue(unsigned int index) const
unsigned int getKeywordCount() const
std::string getKeywordValue(unsigned int index) const
gsoap_eml2_2::prodml21__ValueStatus getValueStatus(unsigned int index) const
static const char * XML_NS
Definition: TimeSeriesData.h:250
void loadTargetRelationships()
Definition: TimeSeriesData.h:258
TimeSeriesData(gsoap_eml2_2::prodml21__TimeSeriesData *fromGsoap)
Definition: TimeSeriesData.h:65
TimeSeriesData(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: TimeSeriesData.h:43
bool isDoubleValue(unsigned int index) const