16 #ifndef ROO_LINKED_LIST_ITER 17 #define ROO_LINKED_LIST_ITER 23 #if ROOT_VERSION_CODE <= 332546 58 TIterator(), _list(list),
_ptr(forward ? _list->_first : _list->_last),
64 _forward(other._forward)
75 if (&other==
this)
return *this ;
100 if (!
_ptr)
return 0 ;
109 _ptr = _forward ? _list->_first : _list->_last ;
114 if (iter)
return (
_ptr != iter->
_ptr);
const RooLinkedListElem * _ptr
virtual const TCollection * GetCollection() const
RooLinkedListIter(const RooLinkedList *list, Bool_t forward)
virtual ~RooLinkedListIter()
RooFIter(const RooLinkedList *list)
const RooLinkedListElem * _ptr
Collection iterated over.
Iterator abstract base class.
#define ClassDef(name, id)
RooLinkedListElem * _next
TIterator & operator=(const TIterator &other)
RooLinkedListElem * _prev
Collection abstract base class.
RooLinkedListIter(const RooLinkedListIter &other)
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
virtual TObject * operator*() const
Return current object or nullptr.
void forward(const LAYERDATA &prevLayerData, LAYERDATA &currLayerData)
apply the weights (and functions) in forward direction of the DNN
bool operator!=(const RooLinkedListIter &aIter) const
Mother of all ROOT objects.
const RooLinkedList * _list
RooLinkedListElem is an link element for the RooLinkedList class.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Bool_t _forward
Next link element.
RooLinkedListIter is the TIterator implementation for RooLinkedList.
bool operator!=(const TIterator &aIter) const
Compare two iterator objects.