Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
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 (const RooFIter &)=delete
 
 RooFIter (RooFIter &&)=default
 
 RooFIter (std::unique_ptr< GenericRooFIter > &&itImpl)
 
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)
inline

Definition at line 41 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 48 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 53 of file RooLinkedListIter.h.

Libraries for RooFIter:
[legend]

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