21#include "ChannelIndexDataObject.h"
38 DLL_IMPORT_OR_EXPORT
ChannelSet(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) :
ChannelIndexDataObject<gsoap_eml2_1::witsml20__ChannelSet>(partialObject) {}
47 ChannelSet(COMMON_NS::DataObjectRepository* repo,
const std::string & guid,
const std::string & title);
68 DLL_IMPORT_OR_EXPORT
void pushBackChannelIndex(gsoap_eml2_1::witsml20__ChannelIndexType indexType, gsoap_eml2_1::eml21__UnitOfMeasure uom,
const std::string & mnemonic,
bool isIncreasing =
true,
const std::string & datum =
"");
124 DLL_IMPORT_OR_EXPORT std::vector<class Log*>
getLogs()
const;
131 DLL_IMPORT_OR_EXPORT std::vector<class Channel*>
getChannels()
const;
139#define SETTER_GENERIC_OPTIONAL_ATTRIBUTE(attributeDatatype, attributeName)\
140 DLL_IMPORT_OR_EXPORT void set##attributeName(const attributeDatatype & attributeName);
142 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, TimeDepth)
143 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, RunNumber)
144 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, PassNumber)
145 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, LoggingCompanyName)
146 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, LoggingCompanyCode)
147 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, ToolName)
148 SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, ToolClass)
155 DLL_IMPORT_OR_EXPORT static const
char* XML_TAG;
162 DLL_IMPORT_OR_EXPORT virtual std::
string getXmlTag()
const {
return XML_TAG; }
170 DLL_IMPORT_OR_EXPORT static constexpr
char const* XML_NS = "witsml20";
175 DLL_IMPORT_OR_EXPORT std::
string getXmlNamespace() const final {
return XML_NS; }
Definition: ChannelIndexDataObject.h:36
Definition: ChannelSet.h:30
void pushBackChannelIndex(gsoap_eml2_1::witsml20__ChannelIndexType indexType, gsoap_eml2_1::eml21__UnitOfMeasure uom, const std::string &mnemonic, bool isIncreasing=true, const std::string &datum="")
bool hasDataAsJsonArray() const
const std::string & getDataAsJsonArray() const
ChannelSet(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: ChannelSet.h:38
ChannelSet(gsoap_eml2_1::witsml20__ChannelSet *fromGsoap)
Definition: ChannelSet.h:54
bool hasDataAsFileUri() const
void loadTargetRelationships() final
ChannelSet(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
void pushBackChannel(class Channel *channel)
std::vector< class Channel * > getChannels() const
void setDataAsFileUri(const std::string &fileUri)
const std::string & getDataAsFileUri() const
std::vector< class Log * > getLogs() const
void setDataAsJsonArray(const std::string &jsonArray)