Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 39 of file RooLinkedListIter.h.

Public Member Functions

 RooFIter (const RooFIter &)=delete
 
 RooFIter (RooFIter &&)=default
 
 RooFIter (std::unique_ptr< GenericRooFIter > &&itImpl)
 
RooAbsArgnext ()
 Return next element or nullptr if at end.
 
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)
inline

Definition at line 42 of file RooLinkedListIter.h.

◆ RooFIter() [2/3]

RooFIter::RooFIter ( const RooFIter )
delete

◆ RooFIter() [3/3]

RooFIter::RooFIter ( RooFIter &&  )
default

Member Function Documentation

◆ next()

RooAbsArg * RooFIter::next ( )
inline

Return next element or nullptr if at end.

Definition at line 49 of file RooLinkedListIter.h.

◆ operator=() [1/2]

RooFIter & RooFIter::operator= ( const RooFIter )
delete

◆ operator=() [2/2]

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

Member Data Documentation

◆ fIterImpl

std::unique_ptr<GenericRooFIter> RooFIter::fIterImpl
private

Definition at line 54 of file RooLinkedListIter.h.

Libraries for RooFIter:

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