Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TViewPubDataMembersIter Class Reference

Iterator of over the view's content.

Definition at line 96 of file TViewPubDataMembers.h.

Public Member Functions

 TViewPubDataMembersIter (const TViewPubDataMembers *l, Bool_t dir=kIterForward)
 Create a new list iterator. More...
 
 TViewPubDataMembersIter (const TViewPubDataMembersIter &iter)
 Copy ctor. More...
 
 ~TViewPubDataMembersIter ()
 
const TCollectionGetCollection () const
 
TObjectNext ()
 Return next object in the list. Returns 0 when no more objects in list. More...
 
Bool_t operator!= (const TIterator &aIter) const
 This operator compares two TIterator objects. More...
 
Bool_t operator!= (const TViewPubDataMembersIter &aIter) const
 This operator compares two TViewPubDataMembersIter objects. More...
 
TObjectoperator* () const
 Return current object or nullptr. More...
 
TIteratoroperator= (const TIterator &rhs)
 Overridden assignment operator. More...
 
TViewPubDataMembersIteroperator= (const TViewPubDataMembersIter &rhs)
 Overloaded assignment operator. More...
 
void Reset ()
 Reset list iterator. More...
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual const TCollectionGetCollection () const =0
 
virtual Option_tGetOption () const
 
virtual TObjectNext ()=0
 
virtual Bool_t operator!= (const TIterator &) const
 Compare two iterator objects. More...
 
TObjectoperator() ()
 
virtual TObjectoperator* () const
 Return current object or nullptr. More...
 
virtual TIteratoroperator= (const TIterator &)
 
Bool_t operator== (const TIterator &other) const
 
virtual void Reset ()=0
 

Protected Member Functions

 TViewPubDataMembersIter ()
 
- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 

Protected Attributes

TIter fClassIter
 
Bool_t fDirection
 
TIter fIter
 
Bool_t fStarted
 
const TListfView
 

#include </home/sftnight/build/workspace/root-makedoc-v616/rootspi/rdoc/src/v6-16-00-patches/core/meta/src/TViewPubDataMembers.h>

Inheritance diagram for TViewPubDataMembersIter:
[legend]

Constructor & Destructor Documentation

◆ TViewPubDataMembersIter() [1/3]

TViewPubDataMembersIter::TViewPubDataMembersIter ( )
inlineprotected

Definition at line 106 of file TViewPubDataMembers.h.

◆ TViewPubDataMembersIter() [2/3]

TViewPubDataMembersIter::TViewPubDataMembersIter ( const TViewPubDataMembers l,
Bool_t  dir = kIterForward 
)

Create a new list iterator.

By default the iteration direction is kIterForward. To go backward use kIterBackward.

Definition at line 365 of file TViewPubDataMembers.cxx.

◆ TViewPubDataMembersIter() [3/3]

TViewPubDataMembersIter::TViewPubDataMembersIter ( const TViewPubDataMembersIter iter)

Copy ctor.

Definition at line 374 of file TViewPubDataMembers.cxx.

◆ ~TViewPubDataMembersIter()

TViewPubDataMembersIter::~TViewPubDataMembersIter ( )
inline

Definition at line 111 of file TViewPubDataMembers.h.

Member Function Documentation

◆ GetCollection()

const TCollection * TViewPubDataMembersIter::GetCollection ( ) const
inlinevirtual

Implements TIterator.

Definition at line 115 of file TViewPubDataMembers.h.

◆ Next()

TObject * TViewPubDataMembersIter::Next ( )
virtual

Return next object in the list. Returns 0 when no more objects in list.

Implements TIterator.

Definition at line 415 of file TViewPubDataMembers.cxx.

◆ operator!=() [1/2]

Bool_t TViewPubDataMembersIter::operator!= ( const TIterator aIter) const
virtual

This operator compares two TIterator objects.

Reimplemented from TIterator.

Definition at line 465 of file TViewPubDataMembers.cxx.

◆ operator!=() [2/2]

This operator compares two TViewPubDataMembersIter objects.

Definition at line 477 of file TViewPubDataMembers.cxx.

◆ operator*()

TObject * TViewPubDataMembersIter::operator* ( ) const
inlinevirtual

Return current object or nullptr.

For backward compatibility reasons we have to provide this default implementation.

Reimplemented from TIterator.

Definition at line 120 of file TViewPubDataMembers.h.

◆ operator=() [1/2]

TIterator & TViewPubDataMembersIter::operator= ( const TIterator rhs)
virtual

Overridden assignment operator.

Reimplemented from TIterator.

Definition at line 384 of file TViewPubDataMembers.cxx.

◆ operator=() [2/2]

TViewPubDataMembersIter & TViewPubDataMembersIter::operator= ( const TViewPubDataMembersIter rhs)

Overloaded assignment operator.

Definition at line 400 of file TViewPubDataMembers.cxx.

◆ Reset()

void TViewPubDataMembersIter::Reset ( void  )
virtual

Reset list iterator.

Implements TIterator.

Definition at line 456 of file TViewPubDataMembers.cxx.

Member Data Documentation

◆ fClassIter

TIter TViewPubDataMembersIter::fClassIter
protected

Definition at line 101 of file TViewPubDataMembers.h.

◆ fDirection

Bool_t TViewPubDataMembersIter::fDirection
protected

Definition at line 104 of file TViewPubDataMembers.h.

◆ fIter

TIter TViewPubDataMembersIter::fIter
protected

Definition at line 102 of file TViewPubDataMembers.h.

◆ fStarted

Bool_t TViewPubDataMembersIter::fStarted
protected

Definition at line 103 of file TViewPubDataMembers.h.

◆ fView

const TList* TViewPubDataMembersIter::fView
protected

Definition at line 100 of file TViewPubDataMembers.h.

Libraries for TViewPubDataMembersIter:
[legend]

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