List of all members | Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends
atm::MolecularDB Class Reference

Detector description interface for data in the Atm_Molecular database. More...

#include <MolecularDB.h>

Classes

struct  InternalZoneFunctor
 

Public Types

typedef
boost::transform_iterator
< InternalZoneFunctor,
InternalZoneIterator, const
MolecularZone & > 
ZoneIterator
 ZoneIterator returns a pointer to a MolecularZone. More...
 

Public Member Functions

std::string GetProfileName () const
 Return the name of profile type for this MolecularDB. More...
 
ZoneIterator ZonesBegin () const
 Beginning of the collection of valid Zones. More...
 
ZoneIterator ZonesEnd () const
 End of the collection of valid Zones. More...
 

Private Types

typedef
InternalZoneMap::const_iterator 
InternalZoneIterator
 
typedef std::map< std::string,
const MolecularZone * > 
InternalZoneMap
 

Private Member Functions

void CacheZones ()
 
 MolecularDB (const MolecularIds::ProfileId id)
 
 MolecularDB (const MolecularDB &)
 
MolecularDBoperator= (MolecularDB &)
 
 ~MolecularDB ()
 

Private Attributes

std::vector< std::string > fMolecularIdStrings
 
MolecularIds::ProfileId fProfileId
 
InternalZoneMap fZoneMap
 

Static Private Attributes

static const std::string fgProfileNameLookup [MolecularIds::eLast+1]
 

Friends

class Atmosphere
 

Detailed Description

Detector description interface for data in the Atm_Molecular database.

For an example of using this interface, see the ReadMolecularLLNS::ReadMolecularLL example

Author
T. Paul
Date
3 September 2004

Definition at line 29 of file MolecularDB.h.

Member Typedef Documentation

typedef InternalZoneMap::const_iterator atm::MolecularDB::InternalZoneIterator
private

Definition at line 35 of file MolecularDB.h.

typedef std::map<std::string, const MolecularZone*> atm::MolecularDB::InternalZoneMap
private

Definition at line 34 of file MolecularDB.h.

ZoneIterator returns a pointer to a MolecularZone.

Definition at line 52 of file MolecularDB.h.

Constructor & Destructor Documentation

MolecularDB::MolecularDB ( const MolecularIds::ProfileId  id)
private
atm::MolecularDB::MolecularDB ( const MolecularDB )
private
MolecularDB::~MolecularDB ( )
private

Definition at line 135 of file MolecularDB.cc.

References fZoneMap.

Member Function Documentation

void MolecularDB::CacheZones ( )
private

Definition at line 87 of file MolecularDB.cc.

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

Referenced by MolecularDB().

std::string atm::MolecularDB::GetProfileName ( ) const
inline

Return the name of profile type for this MolecularDB.

Definition at line 47 of file MolecularDB.h.

References fgProfileNameLookup, and fProfileId.

Referenced by testAtmLowLevelAtmInterface::testMolecularDB().

MolecularDB& atm::MolecularDB::operator= ( MolecularDB )
private
ZoneIterator atm::MolecularDB::ZonesBegin ( ) const
inline
ZoneIterator atm::MolecularDB::ZonesEnd ( ) const
inline

Friends And Related Function Documentation

friend class Atmosphere
friend

Definition at line 77 of file MolecularDB.h.

Member Data Documentation

const string MolecularDB::fgProfileNameLookup
staticprivate
Initial value:
= {
"weather station",
"radiosonde data",
"Malargue January model",
"Malargue February model",
"Malargue March model",
"Malargue April model",
"Malargue May model",
"Malargue June model",
"Malargue July model",
"Malargue August model",
"Malargue September model",
"Malargue October model",
"Malargue November model",
"Malargue December model",
"Malargue GDAS data",
"US-StdA"
}

Definition at line 75 of file MolecularDB.h.

Referenced by GetProfileName(), and MolecularDB().

std::vector<std::string> atm::MolecularDB::fMolecularIdStrings
private

Definition at line 71 of file MolecularDB.h.

Referenced by CacheZones(), and MolecularDB().

MolecularIds::ProfileId atm::MolecularDB::fProfileId
private

Definition at line 73 of file MolecularDB.h.

Referenced by GetProfileName().

InternalZoneMap atm::MolecularDB::fZoneMap
private

Definition at line 37 of file MolecularDB.h.

Referenced by CacheZones(), ZonesBegin(), ZonesEnd(), and ~MolecularDB().


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

, generated on Tue Sep 26 2023.