Logo ROOT  
Reference Guide
RooAbsCategory::LegacyIterator Class Reference

do not persist

Definition at line 130 of file RooAbsCategory.h.

Public Member Functions

 LegacyIterator (const std::vector< RooCatType * > &vec)
 
const TCollectionGetCollection () const override
 
TObjectNext () override
 
TObjectoperator* () const override
 Return current object or nullptr. More...
 
LegacyIteratoroperator= (const LegacyIterator &)=default
 
TIteratoroperator= (const TIterator &other) override
 
void Reset () override
 
- 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
 

Private Attributes

const std::vector< RooCatType * > * _vec
 
int index
 

Additional Inherited Members

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

#include <RooAbsCategory.h>

Inheritance diagram for RooAbsCategory::LegacyIterator:
[legend]

Constructor & Destructor Documentation

◆ LegacyIterator()

RooAbsCategory::LegacyIterator::LegacyIterator ( const std::vector< RooCatType * > &  vec)
inline

Definition at line 132 of file RooAbsCategory.h.

Member Function Documentation

◆ GetCollection()

const TCollection * RooAbsCategory::LegacyIterator::GetCollection ( ) const
inlineoverridevirtual

Implements TIterator.

Definition at line 133 of file RooAbsCategory.h.

◆ Next()

TObject * RooAbsCategory::LegacyIterator::Next ( )
inlineoverridevirtual

Implements TIterator.

Definition at line 136 of file RooAbsCategory.h.

◆ operator*()

TObject * RooAbsCategory::LegacyIterator::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 143 of file RooAbsCategory.h.

◆ operator=() [1/2]

LegacyIterator & RooAbsCategory::LegacyIterator::operator= ( const LegacyIterator )
default

◆ operator=() [2/2]

TIterator & RooAbsCategory::LegacyIterator::operator= ( const TIterator other)
inlineoverridevirtual

Reimplemented from TIterator.

Definition at line 148 of file RooAbsCategory.h.

◆ Reset()

void RooAbsCategory::LegacyIterator::Reset ( void  )
inlineoverridevirtual

Implements TIterator.

Definition at line 140 of file RooAbsCategory.h.

Member Data Documentation

◆ _vec

const std::vector<RooCatType*>* RooAbsCategory::LegacyIterator::_vec
private

Definition at line 157 of file RooAbsCategory.h.

◆ index

int RooAbsCategory::LegacyIterator::index
private

Definition at line 158 of file RooAbsCategory.h.

Libraries for RooAbsCategory::LegacyIterator:
[legend]

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