GCBM
Public Member Functions | Private Attributes | List of all members
FlatErrorRecord Class Reference

#include <flatrecord.h>

Collaboration diagram for FlatErrorRecord:
Collaboration graph

Public Member Functions

 FlatErrorRecord (int year, const std::vector< Poco::Nullable< std::string >> &classifierValues, const std::string &module, const std::string &error, double area)
 
 ~FlatErrorRecord ()
 
bool operator== (const FlatErrorRecord &other) const
 
size_t hash () const
 
std::string header (const std::vector< std::string > &classifierNames) const
 
std::string asPersistable () const
 
std::vector< std::optional< std::string > > asVector () const
 
void merge (const FlatErrorRecord &other)
 
void setId (Int64 id)
 
Int64 getId () const
 
int getYear () const
 

Private Attributes

size_t _hash = -1
 
Int64 _id
 
int _year
 
std::vector< Poco::Nullable< std::string > > _classifierValues
 
std::string _module
 
std::string _error
 
double _area
 

Constructor & Destructor Documentation

◆ FlatErrorRecord()

FlatErrorRecord ( int  year,
const std::vector< Poco::Nullable< std::string >> &  classifierValues,
const std::string &  module,
const std::string &  error,
double  area 
)

◆ ~FlatErrorRecord()

Member Function Documentation

◆ asPersistable()

std::string asPersistable ( ) const

◆ asVector()

std::vector< std::optional< std::string > > asVector ( ) const

◆ getId()

Int64 getId ( ) const

◆ getYear()

int getYear ( ) const

◆ hash()

size_t hash ( ) const

◆ header()

std::string header ( const std::vector< std::string > &  classifierNames) const

◆ merge()

void merge ( const FlatErrorRecord other)

◆ operator==()

bool operator== ( const FlatErrorRecord other) const

◆ setId()

void setId ( Int64  id)

Member Data Documentation

◆ _area

double _area
private

◆ _classifierValues

std::vector<Poco::Nullable<std::string> > _classifierValues
private

◆ _error

std::string _error
private

◆ _hash

size_t _hash = -1
mutableprivate

◆ _id

Int64 _id
private

◆ _module

std::string _module
private

◆ _year

int _year
private

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