Logo ROOT  
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 39 of file RooLinkedListIter.h.

Public Member Functions

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

Private Attributes

std::unique_ptr< GenericRooFIterfIterImpl
  More...
 

#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:
[legend]

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