Logo ROOT   6.21/01
Reference Guide
RooAbsCategory::LegacyIterator Class Reference

do not persist

Definition at line 138 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 Option_tGetOption () const
 
virtual Bool_t operator!= (const TIterator &) const
 Compare two iterator objects. More...
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

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 140 of file RooAbsCategory.h.

Member Function Documentation

◆ GetCollection()

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

Implements TIterator.

Definition at line 141 of file RooAbsCategory.h.

◆ Next()

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

Implements TIterator.

Definition at line 144 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 151 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 156 of file RooAbsCategory.h.

◆ Reset()

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

Implements TIterator.

Definition at line 148 of file RooAbsCategory.h.

Member Data Documentation

◆ _vec

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

Definition at line 165 of file RooAbsCategory.h.

◆ index

int RooAbsCategory::LegacyIterator::index
private

Definition at line 166 of file RooAbsCategory.h.

Libraries for RooAbsCategory::LegacyIterator:
[legend]

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