HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
InMemoryOldbLoader Class Reference

#include <inMemoryOldbloader.hpp>

Public Member Functions

 InMemoryOldbLoader (std::shared_ptr< elt::oldb::CiiOldb > oldb_instance)
 
virtual ~InMemoryOldbLoader ()
 
bool LoadOldbSpecificationFromFile (std::string file_path, std::string oldb_prefix)
 
bool LoadOldbSpecificationFromString (std::string oldb_spec_str, std::string oldb_prefix)
 
bool DeleteOldbSpecificationFromFile (std::string file_path, std::string oldb_prefix)
 
bool DeleteOldbSpecificationFromString (std::string oldb_spec_str, std::string oldb_prefix)
 

Constructor & Destructor Documentation

◆ InMemoryOldbLoader()

InMemoryOldbLoader::InMemoryOldbLoader ( std::shared_ptr< elt::oldb::CiiOldb > oldb_instance)

Default constructor.

◆ ~InMemoryOldbLoader()

InMemoryOldbLoader::~InMemoryOldbLoader ( )
virtual

Destructor.

Member Function Documentation

◆ DeleteOldbSpecificationFromFile()

bool InMemoryOldbLoader::DeleteOldbSpecificationFromFile ( std::string file_path,
std::string oldb_prefix )

Deletes data points from the Oldb specification file in yaml format

Parameters
[in]file_pathstring, fully qualified file path
[in]oldb_prefixstring, oldb prefix for the data points specified
Returns
bool, true if successfully deleted all data points specified

◆ DeleteOldbSpecificationFromString()

bool InMemoryOldbLoader::DeleteOldbSpecificationFromString ( std::string oldb_spec_str,
std::string oldb_prefix )

Deletes data points given the Oldb specification string in yaml format

Parameters
[in]oldb_spec_strstring, data points specification in yaml
[in]oldb_prefixstring, oldb prefix for the data points specified
Returns
bool, true if successfully deleted all data points specified

◆ LoadOldbSpecificationFromFile()

bool InMemoryOldbLoader::LoadOldbSpecificationFromFile ( std::string file_path,
std::string oldb_prefix )

Create data points from the Oldb specification file in yaml format

Parameters
[in]file_pathstring, fully qualified file path
[in]oldb_prefixstring, Oldb prefix for the data points specified
Returns
bool, true if successfully loaded all data points specified

◆ LoadOldbSpecificationFromString()

bool InMemoryOldbLoader::LoadOldbSpecificationFromString ( std::string oldb_spec_str,
std::string oldb_prefix )

Create data points from the Oldb specification string in yaml format

Parameters
[in]oldb_spec_strstring, datapoints specification in yaml
[in]oldb_prefixstring, oldb prefix for the datapoints specified
Returns
bool, true if successfully loaded all data points specified

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