List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | Friends
atm::MolecularZone Class Reference

class describing a molecular zone. More...

#include <MolecularZone.h>

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

Public Types

typedef
boost::indirect_iterator
< InternalLayerIterator, const
MolecularLayer & > 
LayerIterator
 Layer iterator returns a pointer to the molecular data slice for this zone. More...
 

Public Member Functions

double GetEasting () const
 Easting for the zone. More...
 
const std::string & GetName () const
 Zone name. More...
 
double GetNorthing () const
 Northing for the zone. More...
 
LayerIterator LayersBegin () const
 Beginning of the collection of molecular data slices. More...
 
LayerIterator LayersEnd () const
 End of the collection of molecular data slices. More...
 

Protected Member Functions

template<typename Slice >
void CacheSlices (std::vector< const Slice * > *&slices, const std::string &database, const std::string &property, const std::string &zone, const det::VManager &manager) const
 

Protected Attributes

double fEasting
 
std::string fName
 
double fNorthing
 
std::string fZoneIdString
 

Private Types

typedef
InternalLayerVector::const_iterator 
InternalLayerIterator
 
typedef std::vector< const
MolecularLayer * > 
InternalLayerVector
 

Private Member Functions

void CacheLayers (InternalLayerVector *&layerVector, const std::string &zoneIdString) const
 
 MolecularZone (const std::string &zoneId, const std::string &molecularId, const std::string &zoneName, const double northing, const double easting)
 
 MolecularZone (const MolecularZone &)
 
MolecularZoneoperator= (const MolecularZone &)
 
virtual ~MolecularZone ()
 

Private Attributes

InternalLayerVectorfLayerVector
 
std::string fMolecularIdString
 
std::string fMolecularZoneIdString
 

Friends

class MolecularDB
 

Detailed Description

class describing a molecular zone.

Contains hooks to iterators over molecular data in the zone

Author
Tom Paul
Date
04 Sep 2004

Definition at line 33 of file MolecularZone.h.

Member Typedef Documentation

typedef InternalLayerVector::const_iterator atm::MolecularZone::InternalLayerIterator
private

Definition at line 37 of file MolecularZone.h.

typedef std::vector<const MolecularLayer*> atm::MolecularZone::InternalLayerVector
private

Definition at line 36 of file MolecularZone.h.

typedef boost::indirect_iterator<InternalLayerIterator, const MolecularLayer&> atm::MolecularZone::LayerIterator

Layer iterator returns a pointer to the molecular data slice for this zone.

Definition at line 43 of file MolecularZone.h.

Constructor & Destructor Documentation

MolecularZone::MolecularZone ( const std::string &  zoneId,
const std::string &  molecularId,
const std::string &  zoneName,
const double  northing,
const double  easting 
)
private
atm::MolecularZone::MolecularZone ( const MolecularZone )
private
MolecularZone::~MolecularZone ( )
privatevirtual

Definition at line 68 of file MolecularZone.cc.

References fLayerVector.

Member Function Documentation

void MolecularZone::CacheLayers ( InternalLayerVector *&  layerVector,
const std::string &  zoneIdString 
) const
private

Definition at line 80 of file MolecularZone.cc.

References ERROR, and det::VManager::GetData().

Referenced by LayersBegin(), and LayersEnd().

template<typename Slice >
void atm::VZone::CacheSlices ( std::vector< const Slice * > *&  slices,
const std::string &  database,
const std::string &  property,
const std::string &  zone,
const det::VManager manager 
) const
inlineprotectedinherited
double atm::VZone::GetEasting ( ) const
inlineinherited

Easting for the zone.

Definition at line 38 of file VZone.h.

References atm::VZone::fEasting.

const std::string& atm::VZone::GetName ( ) const
inlineinherited

Zone name.

Definition at line 32 of file VZone.h.

References atm::VZone::fName.

double atm::VZone::GetNorthing ( ) const
inlineinherited

Northing for the zone.

Definition at line 35 of file VZone.h.

References atm::VZone::fNorthing.

MolecularZone::LayerIterator MolecularZone::LayersBegin ( ) const

Beginning of the collection of molecular data slices.

Definition at line 49 of file MolecularZone.cc.

References CacheLayers(), fLayerVector, and fMolecularZoneIdString.

MolecularZone::LayerIterator MolecularZone::LayersEnd ( ) const

End of the collection of molecular data slices.

Definition at line 59 of file MolecularZone.cc.

References CacheLayers(), fLayerVector, and fMolecularZoneIdString.

MolecularZone& atm::MolecularZone::operator= ( const MolecularZone )
private

Friends And Related Function Documentation

friend class MolecularDB
friend

Definition at line 68 of file MolecularZone.h.

Member Data Documentation

double atm::VZone::fEasting
protectedinherited

Definition at line 54 of file VZone.h.

Referenced by atm::VZone::GetEasting().

InternalLayerVector* atm::MolecularZone::fLayerVector
mutableprivate

Definition at line 39 of file MolecularZone.h.

Referenced by LayersBegin(), LayersEnd(), and ~MolecularZone().

std::string atm::MolecularZone::fMolecularIdString
private

Definition at line 65 of file MolecularZone.h.

Referenced by MolecularZone().

std::string atm::MolecularZone::fMolecularZoneIdString
private

Definition at line 66 of file MolecularZone.h.

Referenced by LayersBegin(), LayersEnd(), and MolecularZone().

std::string atm::VZone::fName
protectedinherited

Definition at line 52 of file VZone.h.

Referenced by atm::VZone::GetName().

double atm::VZone::fNorthing
protectedinherited

Definition at line 53 of file VZone.h.

Referenced by atm::VZone::GetNorthing().

std::string atm::VZone::fZoneIdString
protectedinherited

Definition at line 51 of file VZone.h.

Referenced by atm::AerosolZone::AerosolZone(), atm::LidarZone::LidarZone(), and MolecularZone().


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

, generated on Tue Sep 26 2023.