Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TIter Class Reference

Definition at line 233 of file TCollection.h.

Public Member Functions

 TIter (const TCollection *col, Bool_t dir=kIterForward)
 
 TIter (const TIter &iter)
 Copy a TIter.
 
 TIter (TIterator *it)
 
virtual ~TIter ()
 
TIterBegin ()
 Pointing to the first element of the container.
 
const TCollectionGetCollection () const
 
Option_tGetOption () const
 
TObjectNext ()
 
Bool_t operator!= (const TIter &aIter) const
 
TObjectoperator() ()
 
TObjectoperator* () const
 
TIteroperator++ ()
 
TIteroperator= (const TIter &rhs)
 Assigning an TIter to another.
 
Bool_t operator== (const TIter &aIter) const
 
void Reset ()
 

Static Public Member Functions

static TIter End ()
 Pointing to the element after the last - to a nullptr value in our case.
 

Protected Member Functions

 TIter ()
 

Private Attributes

TIteratorfIterator
 

#include <TCollection.h>

Inheritance diagram for TIter:
[legend]

Constructor & Destructor Documentation

◆ TIter() [1/4]

TIter::TIter ( )
inlineprotected

Definition at line 239 of file TCollection.h.

◆ TIter() [2/4]

TIter::TIter ( const TCollection col,
Bool_t  dir = kIterForward 
)
inline

Definition at line 242 of file TCollection.h.

◆ TIter() [3/4]

TIter::TIter ( TIterator it)
inline

Definition at line 244 of file TCollection.h.

◆ TIter() [4/4]

TIter::TIter ( const TIter iter)

Copy a TIter.

This involves allocating a new TIterator of the right sub class and assigning it with the original.

Definition at line 772 of file TCollection.cxx.

◆ ~TIter()

virtual TIter::~TIter ( )
inlinevirtual

Definition at line 247 of file TCollection.h.

Member Function Documentation

◆ Begin()

TIter & TIter::Begin ( )

Pointing to the first element of the container.

Definition at line 800 of file TCollection.cxx.

◆ End()

TIter TIter::End ( )
static

Pointing to the element after the last - to a nullptr value in our case.

Definition at line 810 of file TCollection.cxx.

◆ GetCollection()

const TCollection * TIter::GetCollection ( ) const
inline

Definition at line 250 of file TCollection.h.

◆ GetOption()

Option_t * TIter::GetOption ( ) const
inline

Definition at line 251 of file TCollection.h.

◆ Next()

TObject * TIter::Next ( )
inline

Definition at line 249 of file TCollection.h.

◆ operator!=()

Bool_t TIter::operator!= ( const TIter aIter) const
inline

Definition at line 261 of file TCollection.h.

◆ operator()()

TObject * TIter::operator() ( )
inline

Definition at line 248 of file TCollection.h.

◆ operator*()

TObject * TIter::operator* ( ) const
inline

Definition at line 264 of file TCollection.h.

◆ operator++()

TIter & TIter::operator++ ( )
inline

Definition at line 253 of file TCollection.h.

◆ operator=()

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

Assigning an TIter to another.

This involves allocating a new TIterator of the right sub class and assigning it with the original.

Definition at line 785 of file TCollection.cxx.

◆ operator==()

Bool_t TIter::operator== ( const TIter aIter) const
inline

Definition at line 254 of file TCollection.h.

◆ Reset()

void TIter::Reset ( )
inline

Definition at line 252 of file TCollection.h.

Member Data Documentation

◆ fIterator

TIterator* TIter::fIterator
private

Definition at line 236 of file TCollection.h.

  • core/cont/inc/TCollection.h
  • core/cont/src/TCollection.cxx