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

Iterator for TListOfEnumsWithLock.

Definition at line 96 of file TListOfEnumsWithLock.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

 TListOfEnumsWithLockIter (const TListOfEnumsWithLock *l, Bool_t dir=kIterForward)
const TCollectionGetCollection () const override
Option_tGetOption () const override
 Returns the object option stored in the list.
TClassIsA () 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 TListIter &aIter) const
 This operator compares two TListIter objects.
TObjectoperator() ()
TObjectoperator* () const override
 Return current object or nullptr.
TIteratoroperator= (const TIterator &rhs) override
 Overridden assignment operator.
TListIteroperator= (const TListIter &rhs)
 Overloaded assignment operator.
Bool_t operator== (const TIterator &other) const
void Reset () override
 Reset list iterator.
void SetOption (Option_t *option)
 Sets the object option stored in the list.
void Streamer (TBuffer &) override
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 Types

using TObjLinkPtr_t = std::shared_ptr<TObjLink>

Protected Attributes

TObjLinkPtr_t fCurCursor
TObjLinkPtr_t fCursor
Bool_t fDirection
const TListfList
Bool_t fStarted

#include <TListOfEnumsWithLock.h>

Inheritance diagram for TListOfEnumsWithLockIter:
TListIter TIterator

Member Typedef Documentation

◆ const_pointer

using TListIter::const_pointer = const TObject **
inherited

Definition at line 215 of file TList.h.

◆ difference_type

using TListIter::difference_type = std::ptrdiff_t
inherited

Definition at line 213 of file TList.h.

◆ iterator_category

using TListIter::iterator_category = std::bidirectional_iterator_tag
inherited

Definition at line 211 of file TList.h.

◆ pointer

using TListIter::pointer = TObject **
inherited

Definition at line 214 of file TList.h.

◆ reference

using TListIter::reference = const TObject *&
inherited

Definition at line 216 of file TList.h.

◆ TObjLinkPtr_t

using TListIter::TObjLinkPtr_t = std::shared_ptr<TObjLink>
protectedinherited

Definition at line 199 of file TList.h.

◆ value_type

using TListIter::value_type = TObject *
inherited

Definition at line 212 of file TList.h.

Constructor & Destructor Documentation

◆ TListOfEnumsWithLockIter()

TListOfEnumsWithLockIter::TListOfEnumsWithLockIter ( const TListOfEnumsWithLock * l,
Bool_t dir = kIterForward )

Definition at line 367 of file TListOfEnumsWithLock.cxx.

Member Function Documentation

◆ Class()

TClass * TListOfEnumsWithLockIter::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TListOfEnumsWithLockIter::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TListOfEnumsWithLockIter::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 105 of file TListOfEnumsWithLock.h.

◆ DeclFileName()

const char * TListOfEnumsWithLockIter::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 105 of file TListOfEnumsWithLock.h.

◆ GetCollection()

const TCollection * TListIter::GetCollection ( ) const
inlineoverridevirtualinherited

Implements TIterator.

Definition at line 224 of file TList.h.

◆ GetOption()

Option_t * TListIter::GetOption ( ) const
overridevirtualinherited

Returns the object option stored in the list.

Reimplemented from TIterator.

Definition at line 1274 of file TList.cxx.

◆ IsA()

TClass * TListOfEnumsWithLockIter::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TListIter.

Definition at line 105 of file TListOfEnumsWithLock.h.

◆ Next()

TObject * TListOfEnumsWithLockIter::Next ( )
overridevirtual

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

Reimplemented from TListIter.

Definition at line 372 of file TListOfEnumsWithLock.cxx.

◆ operator!=() [1/2]

Bool_t TListIter::operator!= ( const TIterator & aIter) const
overridevirtualinherited

This operator compares two TIterator objects.

Reimplemented from TIterator.

Definition at line 1300 of file TList.cxx.

◆ operator!=() [2/2]

Bool_t TListIter::operator!= ( const TListIter & aIter) const
inherited

This operator compares two TListIter objects.

Definition at line 1315 of file TList.cxx.

◆ operator()()

TObject * TIterator::operator() ( )
inlineinherited

Definition at line 43 of file TIterator.h.

◆ operator*()

TObject * TListIter::operator* ( ) const
inlineoverridevirtualinherited

Return current object or nullptr.

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

Reimplemented from TIterator.

Definition at line 231 of file TList.h.

◆ operator=() [1/2]

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

Overridden assignment operator.

Reimplemented from TListIter.

Definition at line 221 of file TList.cxx.

◆ operator=() [2/2]

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

Overloaded assignment operator.

Definition at line 222 of file TList.cxx.

◆ operator==()

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

Definition at line 45 of file TIterator.h.

◆ Reset()

void TListIter::Reset ( )
overridevirtualinherited

Reset list iterator.

Implements TIterator.

Definition at line 1291 of file TList.cxx.

◆ SetOption()

void TListIter::SetOption ( Option_t * option)
inherited

Sets the object option stored in the list.

Definition at line 1283 of file TList.cxx.

◆ Streamer()

void TListOfEnumsWithLockIter::Streamer ( TBuffer & )
overridevirtual

Reimplemented from TListIter.

◆ StreamerNVirtual()

void TListOfEnumsWithLockIter::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 105 of file TListOfEnumsWithLock.h.

Member Data Documentation

◆ fCurCursor

TObjLinkPtr_t TListIter::fCurCursor
protectedinherited

Definition at line 202 of file TList.h.

◆ fCursor

TObjLinkPtr_t TListIter::fCursor
protectedinherited

Definition at line 203 of file TList.h.

◆ fDirection

Bool_t TListIter::fDirection
protectedinherited

Definition at line 204 of file TList.h.

◆ fList

const TList* TListIter::fList
protectedinherited

Definition at line 201 of file TList.h.

◆ fStarted

Bool_t TListIter::fStarted
protectedinherited

Definition at line 205 of file TList.h.


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