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

#include <flatrecord.h>

Collaboration diagram for FlatAgeAreaRecord:
Collaboration graph

Public Member Functions

 FlatAgeAreaRecord (int year, std::vector< Poco::Nullable< std::string >> &classifierValues, std::string &landClass, std::string &ageClass, double area)
 
 ~FlatAgeAreaRecord ()
 
bool operator== (const FlatAgeAreaRecord &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 FlatAgeAreaRecord &other)
 
void setId (Int64 id)
 
Int64 getId () const
 
int getYear () const
 
const std::vector< Poco::Nullable< std::string > > & getClassifierValues () const
 
const std::string & getLandClass () const
 
const std::string & getAgeClass () const
 

Private Attributes

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

Constructor & Destructor Documentation

◆ FlatAgeAreaRecord()

FlatAgeAreaRecord ( int  year,
std::vector< Poco::Nullable< std::string >> &  classifierValues,
std::string &  landClass,
std::string &  ageClass,
double  area 
)

◆ ~FlatAgeAreaRecord()

Member Function Documentation

◆ asPersistable()

std::string asPersistable ( ) const

◆ asVector()

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

◆ getAgeClass()

const std::string& getAgeClass ( ) const

◆ getClassifierValues()

const std::vector<Poco::Nullable<std::string> >& getClassifierValues ( ) const

◆ getId()

Int64 getId ( ) const

◆ getLandClass()

const std::string& getLandClass ( ) 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 FlatAgeAreaRecord other)

◆ operator==()

bool operator== ( const FlatAgeAreaRecord other) const

◆ setId()

void setId ( Int64  id)

Member Data Documentation

◆ _ageClass

std::string _ageClass
private

◆ _area

double _area
private

◆ _classifierValues

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

◆ _hash

size_t _hash = -1
mutableprivate

◆ _id

Int64 _id
private

◆ _landClass

std::string _landClass
private

◆ _year

int _year
private

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