Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
resqml2_0_1::StringTableLookup Class Referencefinal

#include <StringTableLookup.h>

Inheritance diagram for resqml2_0_1::StringTableLookup:

Public Member Functions

 StringTableLookup (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 StringTableLookup (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title)
 
 StringTableLookup (gsoap_resqml2_0_1::_resqml20__StringTableLookup *fromGsoap)
 
 ~StringTableLookup ()=default
 
bool containsKey (int64_t key) final
 
uint64_t getItemCount () const final
 
int64_t getKeyAtIndex (uint64_t index) const final
 
std::string getStringValueAtIndex (uint64_t index) const final
 
std::string getStringValue (int64_t key) final
 
void addValue (const std::string &strValue, int64_t key) final
 
void setValue (const std::string &strValue, int64_t key) final
 
int64_t getMinimumValue () final
 
int64_t getMaximumValue () final
 
std::unordered_map< int64_t, std::string > getMap () const final
 
std::string getXmlNamespace () const final
 

Static Public Attributes

static constexpr char const * XML_NS = "resqml20"
 

Detailed Description

A string table lookup.

Constructor & Destructor Documentation

◆ StringTableLookup() [1/3]

resqml2_0_1::StringTableLookup::StringTableLookup ( gsoap_resqml2_0_1::eml20__DataObjectReference * partialObject)
inline

Only to be used in partial transfer context

Parameters
[in,out]partialObjectIf non-null, the partial object.

◆ StringTableLookup() [2/3]

resqml2_0_1::StringTableLookup::StringTableLookup ( common ::DataObjectRepository * repo,
const std::string & guid,
const std::string & title )

Creates an instance of this class in a gsoap context.

Parameters
[in,out]repoA repo which will manage the memory of this instance.
guidThe guid to set to this instance. If empty then a new guid will be generated.
titleA title for the instance to create.

◆ StringTableLookup() [3/3]

resqml2_0_1::StringTableLookup::StringTableLookup ( gsoap_resqml2_0_1::_resqml20__StringTableLookup * fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

Parameters
[in,out]fromGsoapIf non-null, from gsoap.

◆ ~StringTableLookup()

resqml2_0_1::StringTableLookup::~StringTableLookup ( )
default

Destructor does nothing since the memory is managed by the gsoap context.

Member Function Documentation

◆ getXmlNamespace()

std::string resqml2_0_1::StringTableLookup::getXmlNamespace ( ) const
inlinefinal

Get the standard XML namespace for serializing this data object.

Member Data Documentation

◆ XML_NS

constexpr char const* resqml2_0_1::StringTableLookup::XML_NS = "resqml20"
staticconstexpr

The standard XML namespace for serializing this data object.


The documentation for this class was generated from the following file: