ROOT
6.06/09
Reference Guide
|
Iterator of object array.
Definition at line 124 of file TObjArray.h.
Public Member Functions | |
TObjArrayIter (const TObjArray *arr, Bool_t dir=kIterForward) | |
TObjArrayIter (const TObjArrayIter &iter) | |
Copy ctor. More... | |
~TObjArrayIter () | |
TIterator & | operator= (const TIterator &rhs) |
Overridden assignment operator. More... | |
TObjArrayIter & | operator= (const TObjArrayIter &rhs) |
Overloaded assignment operator. More... | |
const TCollection * | GetCollection () const |
TObject * | Next () |
Return next object in array. Returns 0 when no more objects in array. More... | |
void | Reset () |
Reset array iterator. More... | |
Bool_t | operator!= (const TIterator &aIter) const |
This operator compares two TIterator objects. More... | |
Bool_t | operator!= (const TObjArrayIter &aIter) const |
This operator compares two TObjArrayIter objects. More... | |
TObject * | operator* () const |
Return current object or nullptr. More... | |
Public Member Functions inherited from TIterator | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
Private Member Functions | |
TObjArrayIter () | |
Private Attributes | |
const TObjArray * | fArray |
Int_t | fCurCursor |
Int_t | fCursor |
Bool_t | fDirection |
Additional Inherited Members | |
Protected Member Functions inherited from TIterator | |
TIterator () | |
TIterator (const TIterator &) | |
#include <TObjArray.h>
|
inlineprivate |
Definition at line 135 of file TObjArray.h.
TObjArrayIter::TObjArrayIter | ( | const TObjArray * | arr, |
Bool_t | dir = kIterForward |
||
) |
TObjArrayIter::TObjArrayIter | ( | const TObjArrayIter & | iter | ) |
Copy ctor.
Definition at line 812 of file TObjArray.cxx.
|
inline |
Definition at line 140 of file TObjArray.h.
|
inlinevirtual |
Implements TIterator.
Definition at line 144 of file TObjArray.h.
|
virtual |
Return next object in array. Returns 0 when no more objects in array.
Implements TIterator.
Definition at line 852 of file TObjArray.cxx.
Referenced by TMVA::TNeuron::AdjustSynapseWeights(), ROOT::Detail::TSchemaRuleSet::AsString(), TMVA::TNeuron::CalculateDelta(), TMultiLayerPerceptron::Draw(), TMultiLayerPerceptron::DumpWeights(), TMultiLayerPerceptron::Evaluate(), TMultiLayerPerceptron::Export(), ROOT::Detail::TSchemaRuleSet::FindRules(), ROOT::Detail::TSchemaRuleSet::HasRuleWithSourceClass(), ROOT::TSchemaRule::HasSource(), ROOT::TSchemaRule::HasTarget(), TMVA::TNeuron::InitSynapseDeltas(), TMultiLayerPerceptron::LoadWeights(), TMultiLayerPerceptron::MLP_Batch(), TMultiLayerPerceptron::MLP_Line(), ROOT::Detail::TSchemaRuleSet::RemoveRules(), TMultiLayerPerceptron::SteepestDir(), TMVA::TNeuron::UpdateSynapsesBatch(), and TMVA::TNeuron::UpdateSynapsesSequential().
|
virtual |
This operator compares two TIterator objects.
Reimplemented from TIterator.
Definition at line 890 of file TObjArray.cxx.
Bool_t TObjArrayIter::operator!= | ( | const TObjArrayIter & | aIter | ) | const |
This operator compares two TObjArrayIter objects.
Definition at line 902 of file TObjArray.cxx.
|
virtual |
Return current object or nullptr.
Reimplemented from TIterator.
Definition at line 910 of file TObjArray.cxx.
Overridden assignment operator.
Reimplemented from TIterator.
Definition at line 823 of file TObjArray.cxx.
TObjArrayIter & TObjArrayIter::operator= | ( | const TObjArrayIter & | rhs | ) |
Overloaded assignment operator.
Definition at line 838 of file TObjArray.cxx.
|
private |
Definition at line 130 of file TObjArray.h.
Referenced by GetCollection(), Next(), operator*(), operator=(), Reset(), and TObjArrayIter().
|
private |
Definition at line 131 of file TObjArray.h.
Referenced by Next(), operator!=(), operator*(), operator=(), Reset(), and TObjArrayIter().
|
private |
Definition at line 132 of file TObjArray.h.
Referenced by Next(), operator=(), Reset(), and TObjArrayIter().
|
private |
Definition at line 133 of file TObjArray.h.
Referenced by Next(), operator=(), Reset(), and TObjArrayIter().