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

Detailed Description

Definition at line 104 of file TConsumerInfo.h.


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.

Referenced by operator()().

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.

References Next().

00114 { return Next(); }


Member Data Documentation

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 16 Jan 2018 for loon by  doxygen 1.6.1