OpenM++ runtime library (libopenm)
openm::IOutputTableWriter Struct Referenceabstract

output table writer public interface More...

#include <dbOutputTable.h>

Inheritance diagram for openm::IOutputTableWriter:

Public Member Functions

virtual size_t sizeOf (void) const noexcept=0
 return total number of values for each accumulator More...
 
virtual int expressionCount (void) const noexcept=0
 return number of output aggregated expressions More...
 
virtual void writeAccumulator (IDbExec *i_dbExec, int i_subId, int i_accId, size_t i_size, const double *i_valueArr)=0
 write output table accumulator values More...
 
virtual void writeAllExpressions (IDbExec *i_dbExec)=0
 write all output table values: aggregate sub-values using table expressions More...
 
virtual void digestOutput (IDbExec *i_dbExec)=0
 calculate output table values digest and store only single copy of output values More...
 

Static Public Member Functions

static IOutputTableWritercreate (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, int i_subCount, bool i_isSparse=false, double i_nullValue=FLT_MIN)
 output table writer factory to write accumulators
 
static IOutputTableWritercreate (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, int i_subCount, const char *i_doubleFormat="")
 output table writer factory to write expressions
 
static size_t sizeOf (const MetaHolder *i_metaStore, int i_tableId)
 return total number of values for each accumulator
 

Detailed Description

output table writer public interface

Member Function Documentation

◆ digestOutput()

virtual void openm::IOutputTableWriter::digestOutput ( IDbExec i_dbExec)
pure virtual

calculate output table values digest and store only single copy of output values

Implemented in openm::OutputTableWriter.

◆ expressionCount()

virtual int openm::IOutputTableWriter::expressionCount ( void  ) const
pure virtualnoexcept

return number of output aggregated expressions

Implemented in openm::OutputTableWriter.

◆ sizeOf()

virtual size_t openm::IOutputTableWriter::sizeOf ( void  ) const
pure virtualnoexcept

return total number of values for each accumulator

Implemented in openm::OutputTableWriter.

◆ writeAccumulator()

virtual void openm::IOutputTableWriter::writeAccumulator ( IDbExec i_dbExec,
int  i_subId,
int  i_accId,
size_t  i_size,
const double *  i_valueArr 
)
pure virtual

write output table accumulator values

Parameters
[in]i_dbExecdatabase connection
[in]i_subIdsub-value index
[in]i_sizenumber of values for each accumulator
[in]i_accIdaccumulator number for the output table (zero based)
[in]i_valueArrarray of accumulator values

Implemented in openm::OutputTableWriter.

◆ writeAllExpressions()

virtual void openm::IOutputTableWriter::writeAllExpressions ( IDbExec i_dbExec)
pure virtual

write all output table values: aggregate sub-values using table expressions

Implemented in openm::OutputTableWriter.


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