Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TViewPubDataMembersIter Class Reference

Iterator of over the view's content.

Definition at line 96 of file TViewPubDataMembers.h.

Public Types

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

Public Member Functions

 TViewPubDataMembersIter (const TViewPubDataMembers *l, Bool_t dir=kIterForward)
 Create a new list iterator.
 
 TViewPubDataMembersIter (const TViewPubDataMembersIter &iter)
 Copy ctor.
 
 ~TViewPubDataMembersIter ()
 
const TCollectionGetCollection () const override
 
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 TViewPubDataMembersIter &aIter) const
 This operator compares two TViewPubDataMembersIter objects.
 
TObjectoperator* () const override
 Return current object or nullptr.
 
TIteratoroperator= (const TIterator &rhs) override
 Overridden assignment operator.
 
TViewPubDataMembersIteroperator= (const TViewPubDataMembersIter &rhs)
 Overloaded assignment operator.
 
void Reset () override
 Reset list iterator.
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
virtual TClassIsA () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

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
 

Additional Inherited Members

- Static Public Member Functions inherited from TIterator
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/core/meta/src/TViewPubDataMembers.h>

Inheritance diagram for TViewPubDataMembersIter:
[legend]

Member Typedef Documentation

◆ difference_type

Definition at line 100 of file TViewPubDataMembers.h.

◆ iterator_category

using TViewPubDataMembersIter::iterator_category = std::bidirectional_iterator_tag

Definition at line 98 of file TViewPubDataMembers.h.

◆ pointer

Definition at line 101 of file TViewPubDataMembers.h.

◆ reference

Definition at line 102 of file TViewPubDataMembers.h.

◆ value_type

Constructor & Destructor Documentation

◆ TViewPubDataMembersIter() [1/3]

TViewPubDataMembersIter::TViewPubDataMembersIter ( )
inlineprotected

Definition at line 111 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 116 of file TViewPubDataMembers.h.

Member Function Documentation

◆ GetCollection()

const TCollection * TViewPubDataMembersIter::GetCollection ( ) const
inlineoverridevirtual

Implements TIterator.

Definition at line 120 of file TViewPubDataMembers.h.

◆ Next()

TObject * TViewPubDataMembersIter::Next ( )
overridevirtual

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
overridevirtual

This operator compares two TIterator objects.

Reimplemented from TIterator.

Definition at line 465 of file TViewPubDataMembers.cxx.

◆ operator!=() [2/2]

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

This operator compares two TViewPubDataMembersIter objects.

Definition at line 477 of file TViewPubDataMembers.cxx.

◆ operator*()

TObject * TViewPubDataMembersIter::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 125 of file TViewPubDataMembers.h.

◆ operator=() [1/2]

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

Overridden assignment operator.

Implements 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 ( )
overridevirtual

Reset list iterator.

Implements TIterator.

Definition at line 456 of file TViewPubDataMembers.cxx.

Member Data Documentation

◆ fClassIter

TIter TViewPubDataMembersIter::fClassIter
protected

Definition at line 106 of file TViewPubDataMembers.h.

◆ fDirection

Bool_t TViewPubDataMembersIter::fDirection
protected

Definition at line 109 of file TViewPubDataMembers.h.

◆ fIter

TIter TViewPubDataMembersIter::fIter
protected

Definition at line 107 of file TViewPubDataMembers.h.

◆ fStarted

Bool_t TViewPubDataMembersIter::fStarted
protected

Definition at line 108 of file TViewPubDataMembers.h.

◆ fView

const TList* TViewPubDataMembersIter::fView
protected

Definition at line 105 of file TViewPubDataMembers.h.

  • core/meta/src/TViewPubDataMembers.h
  • core/meta/src/TViewPubDataMembers.cxx