OpenM++ runtime library (libopenm)
openm::OutputTableAccReader Class Reference
Inheritance diagram for openm::OutputTableAccReader:
Collaboration diagram for openm::OutputTableAccReader:

Public Member Functions

 OutputTableAccReader (int i_runId, IDbExec *i_dbExec, const char *i_name, const MetaHolder *i_metaStore, const char *i_acc="", const vector< int > &i_subIdArr={})
 
size_t sizeOf (void) const noexcept override
 return number of values to select from the table More...
 
size_t totalSizeOf (void) const noexcept override
 return output table size: total number of values in the table More...
 
void readTable (IDbExec *i_dbExec, bool i_isNanFill, size_t i_size, double *io_valueArr) override
 read output table values from sparse output table into result array More...
 
- Public Member Functions inherited from openm::OutputTableReader
void readTable (IDbExec *i_dbExec, bool i_isNanFill, size_t i_size, double *io_valueArr)
 read output table values from sparse output table into result array
 
virtual size_t sizeOf (void) const noexcept=0
 return number of values to select from the table More...
 
virtual size_t totalSizeOf (void) const noexcept=0
 return output table size: total number of values in the table More...
 
virtual void readTable (IDbExec *i_dbExec, bool i_isNanFill, size_t i_size, double *io_valueArr)=0
 read output table values. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from openm::IOutputTableAccReader
static IOutputTableAccReadercreate (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, const char *i_acc="", const vector< int > &i_subIdArr={})
 output table reader factory: create new reader table accumulators reader
 
- Protected Member Functions inherited from openm::OutputTableReader
tuple< int, int, int, const TableDicRow *, const vector< TableDimsRow > > startup (const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore)
 
tuple< int, int > findBaseRunId (int i_runId, int i_tableHid, const char *i_name, IDbExec *i_dbExec)
 
void processDims (int i_modelId, const char *i_name, const vector< TableDimsRow > &i_tableDims, const MetaHolder *i_metaStore)
 
- Protected Attributes inherited from openm::OutputTableReader
int runId
 
bool isSparse
 
size_t readSize
 
size_t totalSize
 
string tableName
 
string sqlQuery
 
int idCount
 
vector< int > idSizeVec
 
vector< vector< int > > colIds
 

Member Function Documentation

◆ readTable()

void openm::OutputTableAccReader::readTable ( IDbExec i_dbExec,
bool  i_isNanFill,
size_t  i_size,
double *  io_valueArr 
)
inlineoverridevirtual

read output table values from sparse output table into result array

Implements openm::IOutputTableReader.

◆ sizeOf()

size_t openm::OutputTableAccReader::sizeOf ( void  ) const
inlineoverridevirtualnoexcept

return number of values to select from the table

Implements openm::IOutputTableReader.

◆ totalSizeOf()

size_t openm::OutputTableAccReader::totalSizeOf ( void  ) const
inlineoverridevirtualnoexcept

return output table size: total number of values in the table

Implements openm::IOutputTableReader.


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