List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
atm::VZoneSlice Class Reference

Base class for AttSlice and PFSlice. More...

#include <VZoneSlice.h>

Inheritance diagram for atm::VZoneSlice:
Inheritance graph
[legend]

Public Member Functions

double GetMaxHeight () const
 Height of the top of the slice. More...
 
double GetMinHeight () const
 Height of the bottom of the slice. More...
 

Protected Member Functions

template<typename T >
void GetLambdaSliceData (T *&requestedData, const std::string &zoneTable, const std::string &foreignKey, const std::string &lambdaTable, const std::string &column, const std::string &errorMsg) const
 
template<typename T >
void GetSliceData (T *&requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
 VZoneSlice (const std::string &headerDBName, const std::string &zoneSliceId, const std::string &headerZoneIdString, const double minHeight, const double maxHeight)
 
virtual ~VZoneSlice ()
 

Protected Attributes

std::string fHeaderDBName
 
std::string fHeaderZoneIdString
 
double fMaxHeight
 
double fMinHeight
 
std::string fZoneSliceIdString
 

Detailed Description

Base class for AttSlice and PFSlice.

This base class factors out some common data and provides template methods to fetch data given appropriate database keys

Author
Tom Paul
Darko Veberic
Date
13 August 2004

Definition at line 28 of file VZoneSlice.h.

Constructor & Destructor Documentation

atm::VZoneSlice::VZoneSlice ( const std::string &  headerDBName,
const std::string &  zoneSliceId,
const std::string &  headerZoneIdString,
const double  minHeight,
const double  maxHeight 
)
inlineprotected

Definition at line 38 of file VZoneSlice.h.

virtual atm::VZoneSlice::~VZoneSlice ( )
inlineprotectedvirtual

Definition at line 49 of file VZoneSlice.h.

Member Function Documentation

template<typename T >
void atm::VZoneSlice::GetLambdaSliceData ( T *&  requestedData,
const std::string &  zoneTable,
const std::string &  foreignKey,
const std::string &  lambdaTable,
const std::string &  column,
const std::string &  errorMsg 
) const
inlineprotected
double atm::VZoneSlice::GetMaxHeight ( ) const
inline

Height of the top of the slice.

Definition at line 35 of file VZoneSlice.h.

References fMaxHeight.

double atm::VZoneSlice::GetMinHeight ( ) const
inline

Height of the bottom of the slice.

Definition at line 32 of file VZoneSlice.h.

References fMinHeight.

template<typename T >
void atm::VZoneSlice::GetSliceData ( T *&  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprotected

Member Data Documentation

std::string atm::VZoneSlice::fHeaderDBName
protected

Definition at line 51 of file VZoneSlice.h.

Referenced by GetSliceData().

std::string atm::VZoneSlice::fHeaderZoneIdString
protected

Definition at line 53 of file VZoneSlice.h.

Referenced by GetLambdaSliceData(), and GetSliceData().

double atm::VZoneSlice::fMaxHeight
protected

Definition at line 55 of file VZoneSlice.h.

Referenced by GetMaxHeight().

double atm::VZoneSlice::fMinHeight
protected

Definition at line 54 of file VZoneSlice.h.

Referenced by GetMinHeight().

std::string atm::VZoneSlice::fZoneSliceIdString
protected

Definition at line 52 of file VZoneSlice.h.

Referenced by GetLambdaSliceData(), and GetSliceData().


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

, generated on Tue Sep 26 2023.