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

Iterator of over the view's content.

Definition at line 101 of file TViewPubFunctions.h.

Public Types

using const_pointer = const TObject **
using difference_type = std::ptrdiff_t
using iterator_category = std::bidirectional_iterator_tag
using pointer = TObject **
using reference = const TObject *&
using value_type = TObject *

Public Member Functions

 TViewPubFunctionsIter (const TViewPubFunctions *l, Bool_t dir=kIterForward)
 Create a new list iterator.
 TViewPubFunctionsIter (const TViewPubFunctionsIter &iter)
 Copy ctor.
 ~TViewPubFunctionsIter ()
const TCollectionGetCollection () const override
virtual Option_tGetOption () const
virtual TClassIsA () const
TObjectNext () override
 Return next object in the list. Returns 0 when no more objects in list.
Bool_t operator!= (const TIterator &aIter) const override
 This operator compares two TIterator objects.
Bool_t operator!= (const TViewPubFunctionsIter &aIter) const
 This operator compares two TViewPubFunctionsIter objects.
TObjectoperator() ()
TObjectoperator* () const override
 Return current object or nullptr.
TIteratoroperator= (const TIterator &rhs) override
 Overridden assignment operator.
TViewPubFunctionsIteroperator= (const TViewPubFunctionsIter &rhs)
 Overloaded assignment operator.
Bool_t operator== (const TIterator &other) const
void Reset () override
 Reset list iterator.
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Member Functions

 TViewPubFunctionsIter ()

Protected Attributes

TIter fClassIter
Bool_t fDirection
TIter fFuncIter
Bool_t fStarted
const TListfView

#include </home/stephan/code/root-2/core/meta/src/TViewPubFunctions.h>

Inheritance diagram for TViewPubFunctionsIter:
TIterator

Member Typedef Documentation

◆ const_pointer

Definition at line 116 of file TViewPubFunctions.h.

◆ difference_type

Definition at line 114 of file TViewPubFunctions.h.

◆ iterator_category

using TViewPubFunctionsIter::iterator_category = std::bidirectional_iterator_tag

Definition at line 112 of file TViewPubFunctions.h.

◆ pointer

Definition at line 115 of file TViewPubFunctions.h.

◆ reference

Definition at line 117 of file TViewPubFunctions.h.

◆ value_type

Definition at line 113 of file TViewPubFunctions.h.

Constructor & Destructor Documentation

◆ TViewPubFunctionsIter() [1/3]

TViewPubFunctionsIter::TViewPubFunctionsIter ( )
inlineprotected

Definition at line 109 of file TViewPubFunctions.h.

◆ TViewPubFunctionsIter() [2/3]

TViewPubFunctionsIter::TViewPubFunctionsIter ( const TViewPubFunctions * 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 408 of file TViewPubFunctions.cxx.

◆ TViewPubFunctionsIter() [3/3]

TViewPubFunctionsIter::TViewPubFunctionsIter ( const TViewPubFunctionsIter & iter)

Copy ctor.

Definition at line 417 of file TViewPubFunctions.cxx.

◆ ~TViewPubFunctionsIter()

TViewPubFunctionsIter::~TViewPubFunctionsIter ( )
inline

Definition at line 121 of file TViewPubFunctions.h.

Member Function Documentation

◆ Class()

TClass * TIterator::Class ( )
staticinherited
Returns
TClass describing this class

◆ Class_Name()

const char * TIterator::Class_Name ( )
staticinherited
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TIterator::Class_Version ( )
inlinestaticconstexprinherited
Returns
Version of this class

Definition at line 48 of file TIterator.h.

◆ DeclFileName()

const char * TIterator::DeclFileName ( )
inlinestaticinherited
Returns
Name of the file containing the class declaration

Definition at line 48 of file TIterator.h.

◆ GetCollection()

const TCollection * TViewPubFunctionsIter::GetCollection ( ) const
inlineoverridevirtual

Implements TIterator.

Definition at line 125 of file TViewPubFunctions.h.

◆ GetOption()

virtual Option_t * TIterator::GetOption ( ) const
inlinevirtualinherited

Reimplemented in TListIter, and TTreeFriendLeafIter.

Definition at line 40 of file TIterator.h.

◆ IsA()

virtual TClass * TIterator::IsA ( ) const
inlinevirtualinherited

◆ Next()

TObject * TViewPubFunctionsIter::Next ( )
overridevirtual

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

Implements TIterator.

Definition at line 458 of file TViewPubFunctions.cxx.

◆ operator!=() [1/2]

Bool_t TViewPubFunctionsIter::operator!= ( const TIterator & aIter) const
overridevirtual

This operator compares two TIterator objects.

Reimplemented from TIterator.

Definition at line 508 of file TViewPubFunctions.cxx.

◆ operator!=() [2/2]

Bool_t TViewPubFunctionsIter::operator!= ( const TViewPubFunctionsIter & aIter) const

This operator compares two TViewPubFunctionsIter objects.

Definition at line 520 of file TViewPubFunctions.cxx.

◆ operator()()

TObject * TIterator::operator() ( )
inlineinherited

Definition at line 43 of file TIterator.h.

◆ operator*()

TObject * TViewPubFunctionsIter::operator* ( ) const
inlineoverridevirtual

Return current object or nullptr.

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

Reimplemented from TIterator.

Definition at line 130 of file TViewPubFunctions.h.

◆ operator=() [1/2]

TIterator & TViewPubFunctionsIter::operator= ( const TIterator & rhs)
overridevirtual

Overridden assignment operator.

Implements TIterator.

Definition at line 427 of file TViewPubFunctions.cxx.

◆ operator=() [2/2]

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

Overloaded assignment operator.

Definition at line 443 of file TViewPubFunctions.cxx.

◆ operator==()

Bool_t TIterator::operator== ( const TIterator & other) const
inlineinherited

Definition at line 45 of file TIterator.h.

◆ Reset()

void TViewPubFunctionsIter::Reset ( )
overridevirtual

Reset list iterator.

Implements TIterator.

Definition at line 499 of file TViewPubFunctions.cxx.

◆ Streamer()

◆ StreamerNVirtual()

void TIterator::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 48 of file TIterator.h.

Member Data Documentation

◆ fClassIter

TIter TViewPubFunctionsIter::fClassIter
protected

Definition at line 104 of file TViewPubFunctions.h.

◆ fDirection

Bool_t TViewPubFunctionsIter::fDirection
protected

Definition at line 107 of file TViewPubFunctions.h.

◆ fFuncIter

TIter TViewPubFunctionsIter::fFuncIter
protected

Definition at line 105 of file TViewPubFunctions.h.

◆ fStarted

Bool_t TViewPubFunctionsIter::fStarted
protected

Definition at line 106 of file TViewPubFunctions.h.

◆ fView

const TList* TViewPubFunctionsIter::fView
protected

Definition at line 103 of file TViewPubFunctions.h.


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