21#include "../common/AbstractObject.h"
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_3::prodml22__TimeSeriesData* fromGsoap):AbstractObject(fromGsoap) {}
93 DLL_IMPORT_OR_EXPORT
void pushBackKeywordValue(gsoap_eml2_3::prodml22__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_3::eml23__MeasureClass measureClass);
127 DLL_IMPORT_OR_EXPORT
void pushBackDoubleValue(
double value, time_t timestamp, gsoap_eml2_3::prodml22__ValueStatus status);
210 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::prodml22__ValueStatus
getValueStatus(
unsigned int index)
const;
223 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::prodml22__TimeSeriesKeyword
getKeyword(
unsigned int index)
const;
238 DLL_IMPORT_OR_EXPORT
static constexpr char const* XML_TAG =
"TimeSeriesData";
245 DLL_IMPORT_OR_EXPORT
virtual std::string
getXmlTag()
const {
return XML_TAG; }
250 DLL_IMPORT_OR_EXPORT
static constexpr char const* XML_NS =
"prodml22";
Definition TimeSeriesData.h:33
unsigned int getKeywordCount() const
TimeSeriesData(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition TimeSeriesData.h:43
double getDoubleValue(unsigned int index) const
void pushBackStringValue(const std::string &value, time_t timestamp=-1)
std::string getUomAsString() const
void pushBackDoubleValue(double value, time_t timestamp=-1)
unsigned int getValueCount() const
void loadTargetRelationships()
Definition TimeSeriesData.h:258
virtual std::string getXmlTag() const
Definition TimeSeriesData.h:245
std::string getXmlNamespace() const final
Definition TimeSeriesData.h:255
std::string getMeasureClassAsString() const
void setUom(gsoap_resqml2_0_1::resqml20__ResqmlUom uom)
std::string getKeywordValue(unsigned int index) const
~TimeSeriesData()=default
std::string getStringValue(unsigned int index) const
void pushBackKeywordValue(gsoap_eml2_3::prodml22__TimeSeriesKeyword keyword, const std::string &value)
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_3::prodml22__ValueStatus status)
gsoap_eml2_3::prodml22__ValueStatus getValueStatus(unsigned int index) const
bool isDoubleValue(unsigned int index) const
bool isStringValue(unsigned int index) const
time_t getValueTimestamp(unsigned int index) const
TimeSeriesData(gsoap_eml2_3::prodml22__TimeSeriesData *fromGsoap)
Definition TimeSeriesData.h:65
gsoap_eml2_3::prodml22__TimeSeriesKeyword getKeyword(unsigned int index) const
bool hasValueStatus(unsigned int index) const
void setMeasureClass(gsoap_eml2_3::eml23__MeasureClass measureClass)