Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TIterConsumerInfo Class Reference

#include <TConsumerInfo.h>

List of all members.

Public Member Functions

 TIterConsumerInfo (const TConsumerInfo *info)
 ~TIterConsumerInfo ()
TString operator() ()
TString Next ()

Private Attributes

std::map< TString, TConsumerInfo::psa
>::const_iterator 
iter
const TConsumerInfofInfo


Constructor & Destructor Documentation

TIterConsumerInfo::TIterConsumerInfo const TConsumerInfo info  ) 
 

Definition at line 295 of file TConsumerInfo.cxx.

00296     :  iter( info->_objectlist.begin() ), fInfo( info )
00297 {
00298 } 

TIterConsumerInfo::~TIterConsumerInfo  ) 
 

Definition at line 300 of file TConsumerInfo.cxx.

00301 {
00302 }


Member Function Documentation

TString TIterConsumerInfo::Next  ) 
 

Definition at line 305 of file TConsumerInfo.cxx.

References TConsumerInfo::_objectlist, fInfo, and iter.

00306 {
00307   if ( !fInfo ) return TString();
00308 
00309   TString str = TString();
00310 
00311   if ( iter != fInfo->_objectlist.end() ) {
00312     if ( iter->first ) str = iter->first;
00313     ++iter;
00314   } //if ( iter != fInfo->_objectlist.end() )
00315 
00316   return str;
00317 
00318 }

TString TIterConsumerInfo::operator()  )  [inline]
 

Definition at line 114 of file TConsumerInfo.h.

00114 { return Next(); }


Member Data Documentation

const TConsumerInfo* TIterConsumerInfo::fInfo [private]
 

Definition at line 108 of file TConsumerInfo.h.

Referenced by Next().

std::map<TString,TConsumerInfo::psa>::const_iterator TIterConsumerInfo::iter [private]
 

Definition at line 107 of file TConsumerInfo.h.

Referenced by Next().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:10:23 2010 for loon by  doxygen 1.3.9.1