General Purpose Geodetic Library
SgAgvDatum< C > Class Template Reference

#include <SgIoAgv.h>

Public Member Functions

 SgAgvDatum ()
 
 SgAgvDatum (SgAgvDatumDescriptor *descr)
 
 ~SgAgvDatum ()
 
QString className () const
 
bool isAllocated () const
 
getValue (int idx1, int idx2, int idx3, int idx4) const
 
C & value (int idx1, int idx2, int idx3, int idx4)
 
void allocateSpace ()
 
void freeSpace ()
 
bool isEmpty ()
 

Protected Attributes

SgAgvDatumDescriptordescriptor_
 
C * data_
 

Detailed Description

template<class C>
class SgAgvDatum< C >

Definition at line 192 of file SgIoAgv.h.

Constructor & Destructor Documentation

◆ SgAgvDatum() [1/2]

template<class C >
SgAgvDatum< C >::SgAgvDatum ( )
inline

Definition at line 195 of file SgIoAgv.h.

References SgAgvDatum< C >::data_, and SgAgvDatum< C >::descriptor_.

◆ SgAgvDatum() [2/2]

template<class C >
SgAgvDatum< C >::SgAgvDatum ( SgAgvDatumDescriptor descr)
inline

Definition at line 197 of file SgIoAgv.h.

References SgAgvDatum< C >::data_, and SgAgvDatum< C >::descriptor_.

◆ ~SgAgvDatum()

template<class C >
SgAgvDatum< C >::~SgAgvDatum ( )
inline

Definition at line 199 of file SgIoAgv.h.

References SgAgvDatum< C >::descriptor_, and SgAgvDatum< C >::freeSpace().

Member Function Documentation

◆ allocateSpace()

template<class C >
void SgAgvDatum< C >::allocateSpace

Definition at line 226 of file SgIoAgv.cpp.

References SgLogger::ERR, SgLogger::IO_TXT, logger, and SgLogger::write().

◆ className()

template<class C >
QString SgAgvDatum< C >::className ( ) const
inline

Definition at line 200 of file SgIoAgv.h.

◆ freeSpace()

template<class C >
void SgAgvDatum< C >::freeSpace

Definition at line 255 of file SgIoAgv.cpp.

Referenced by SgAgvDatum< C >::~SgAgvDatum().

◆ getValue()

template<class C >
C SgAgvDatum< C >::getValue ( int  idx1,
int  idx2,
int  idx3,
int  idx4 
) const

◆ isAllocated()

template<class C >
bool SgAgvDatum< C >::isAllocated ( ) const
inline

Definition at line 201 of file SgIoAgv.h.

References SgAgvDatum< C >::data_.

◆ isEmpty()

template<class C >
bool SgAgvDatum< C >::isEmpty

Definition at line 265 of file SgIoAgv.cpp.

References SgLogger::ERR, SgLogger::IO_TXT, logger, and SgLogger::write().

◆ value()

template<class C >
C & SgAgvDatum< C >::value ( int  idx1,
int  idx2,
int  idx3,
int  idx4 
)

Member Data Documentation

◆ data_

template<class C >
C* SgAgvDatum< C >::data_
protected

Definition at line 215 of file SgIoAgv.h.

Referenced by SgAgvDatum< C >::SgAgvDatum(), and SgAgvDatum< C >::isAllocated().

◆ descriptor_

template<class C >
SgAgvDatumDescriptor* SgAgvDatum< C >::descriptor_
protected

Definition at line 214 of file SgIoAgv.h.

Referenced by SgAgvDatum< C >::SgAgvDatum(), and SgAgvDatum< C >::~SgAgvDatum().


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