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

#include <record.h>

Collaboration diagram for TemporalLocationRecord:
Collaboration graph

Public Member Functions

 TemporalLocationRecord (Int64 classifierSetId, Int64 dateId, Int64 landClassId, Poco::Nullable< Int64 > ageClassId, double area)
 
 ~TemporalLocationRecord ()
 
bool operator== (const TemporalLocationRecord &other) const
 
size_t hash () const
 
TemporalLocationRow asPersistable () const
 
StdTemporalLocationRow asTuple () const
 
void merge (const TemporalLocationRecord &other)
 
void setId (Int64 id)
 
Int64 getId () const
 

Private Attributes

size_t _hash = -1
 
Int64 _id
 
Int64 _classifierSetId
 
Int64 _dateId
 
Int64 _landClassId
 
Poco::Nullable< Int64 > _ageClassId
 
double _area
 

Constructor & Destructor Documentation

◆ TemporalLocationRecord()

TemporalLocationRecord ( Int64  classifierSetId,
Int64  dateId,
Int64  landClassId,
Poco::Nullable< Int64 >  ageClassId,
double  area 
)

Constructor.

Initialise variables TemporalLocationRecord._classifierSetId as parameter classifierSetId,TemporalLocationRecord._dateId as parameter dateId,
TemporalLocationRecord._landClassId as parameter landClassId, TemporalLocationRecord._ageClassId as parameter ageClassId and TemporalLocationRecord._area as parameter area.

Parameters
classifierSetIdInt64
dateIdInt64
landClassId

◆ ~TemporalLocationRecord()

Member Function Documentation

◆ asPersistable()

TemporalLocationRow asPersistable ( ) const

◆ asTuple()

StdTemporalLocationRow asTuple ( ) const

◆ getId()

Int64 getId ( ) const

◆ hash()

size_t hash ( ) const

◆ merge()

void merge ( const TemporalLocationRecord other)

Increase TemporalLocationRecord._area by parameter other TemporalLocationRecord._area.

Parameters
otherTemporalLocationRecord&
Returns
void

◆ operator==()

bool operator== ( const TemporalLocationRecord other) const

◆ setId()

void setId ( Int64  id)

Member Data Documentation

◆ _ageClassId

Poco::Nullable<Int64> _ageClassId
private

◆ _area

double _area
private

◆ _classifierSetId

Int64 _classifierSetId
private

◆ _dateId

Int64 _dateId
private

◆ _hash

size_t _hash = -1
mutableprivate

◆ _id

Int64 _id
private

◆ _landClassId

Int64 _landClassId
private

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