17#ifndef ROOABSCATEGORYLEGACYITERATOR_H_
18#define ROOABSCATEGORYLEGACYITERATOR_H_
57 throw std::logic_error(
"Assigning from another iterator is not supported for the RooAbsCategoryLegacyIterator.");
68 return left.getVal() < right.getVal();
TObject * Next() override
TObject * operator*() const override
Return current object or nullptr.
RooAbsCategoryLegacyIterator(const std::map< std::string, RooAbsCategory::value_type > &stateNames)
std::vector< RooCatType > _legacyStates
const std::map< std::string, RooAbsCategory::value_type > * _origStateNames
TIterator & operator=(const TIterator &) override
RooAbsCategoryLegacyIterator & operator=(const RooAbsCategoryLegacyIterator &)=default
virtual const TCollection * GetCollection() const override
RooCatType is an auxilary class for RooAbsCategory and defines a a single category state.
Collection abstract base class.
Iterator abstract base class.
Mother of all ROOT objects.