Registry::RegistryKey Class Reference

#include <Registry.h>

List of all members.

Public Member Functions

 RegistryKey ()
 RegistryKey (const Registry *r)
virtual ~RegistryKey ()
const char * operator() (void)

Private Attributes

const RegistryfReg
std::map< std::string,
RegistryItem * >::iterator 
fIt

Detailed Description

Definition at line 136 of file Registry.h.


Constructor & Destructor Documentation

Registry::RegistryKey::RegistryKey (  ) 

Definition at line 207 of file Registry.cxx.

00208 {
00209 }

Registry::RegistryKey::RegistryKey ( const Registry r  ) 

Definition at line 199 of file Registry.cxx.

References fIt, Registry::fMap, and fReg.

00199                                                   :
00200     fReg(r)
00201 {
00202     // FIXME!  Figure out how to correctly declare fIt to reflect
00203     // constness.
00204     fIt = const_cast<Registry*>(fReg)->fMap.begin();
00205 }

Registry::RegistryKey::~RegistryKey (  )  [virtual]

Definition at line 211 of file Registry.cxx.

00212 {
00213 }


Member Function Documentation

const char * Registry::RegistryKey::operator() ( void   ) 

Definition at line 215 of file Registry.cxx.

References fIt, Registry::fMap, and fReg.

00216 {
00217     if (fIt == fReg->fMap.end()) return 0;
00218     const char* s = fIt->first.c_str();
00219     ++ fIt;
00220     return s;
00221 }


Member Data Documentation

std::map<std::string,RegistryItem*>::iterator Registry::RegistryKey::fIt [private]

Definition at line 149 of file Registry.h.

Referenced by operator()(), and RegistryKey().

Definition at line 148 of file Registry.h.

Referenced by operator()(), and RegistryKey().


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

Generated on 24 Jul 2018 for loon by  doxygen 1.6.1