Logo ROOT   master
Reference Guide
RooFIter Class Referencefinal

A one-time forward iterator working on RooLinkedList or RooAbsCollection.

This wrapper separates the interface visible to the outside from the actual implementation of the iterator.

Definition at line 38 of file RooLinkedListIter.h.

Public Member Functions

 RooFIter (std::unique_ptr< GenericRooFIter > &&itImpl)
 RooFIter (const RooFIter &)=delete
 RooFIter (RooFIter &&)=default
RooAbsArgnext ()
 Return next element or nullptr if at end. More...
RooFIteroperator= (const RooFIter &)=delete
RooFIteroperator= (RooFIter &&)=default

Private Attributes

std::unique_ptr< GenericRooFIterfIterImpl

#include <RooLinkedListIter.h>

Constructor & Destructor Documentation

◆ RooFIter() [1/3]

RooFIter::RooFIter ( std::unique_ptr< GenericRooFIter > &&  itImpl)

Definition at line 41 of file RooLinkedListIter.h.

◆ RooFIter() [2/3]

RooFIter::RooFIter ( const RooFIter )

◆ RooFIter() [3/3]

RooFIter::RooFIter ( RooFIter &&  )

Member Function Documentation

◆ next()

RooAbsArg* RooFIter::next ( )

Return next element or nullptr if at end.

Definition at line 48 of file RooLinkedListIter.h.

◆ operator=() [1/2]

RooFIter& RooFIter::operator= ( const RooFIter )

◆ operator=() [2/2]

RooFIter& RooFIter::operator= ( RooFIter &&  )

Member Data Documentation

◆ fIterImpl

std::unique_ptr<GenericRooFIter> RooFIter::fIterImpl

Definition at line 53 of file RooLinkedListIter.h.

Libraries for RooFIter:

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