TFGroupIter(const TFGroupIter& groupIter) | |
~TFGroupIter() | |
static TClass* | Class() |
void | ClearFilterSort() |
void | ClearSelectors() |
Bool_t | Filter(const char* filter) |
virtual TClass* | IsA() const |
Bool_t | IsReadOnly() |
Bool_t | Next() |
TFIOElement& | operator*() |
TFIOElement* | operator->() |
void | Reset() |
void | SetReadOnly(Bool_t readOnly = kTRUE) |
void | SetSelector(TFSelector* select) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
void | Sort(const char* colName) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
TFGroupIter(TFGroup* group) | |
TFGroupIter(TFGroup* group, set<TFElementIdPtr>* done, TList* select, Bool_t readOnly) | |
TFGroupIter& | operator=(const TFGroupIter& i_group) |
TFColumn<TFElementPtr,ElementPtrFormat>& | fCol | the group column of its group |
set<TFElementIdPtr>* | fDone | list of already passed elements (TFElementPtr) |
TFGroup* | fGroup | the group of this iterator |
TFIOElement* | fLast | last element returned from Next() |
TFGroupIter* | fList | next chain in list; |
Bool_t | fReadOnly | open children as read only if kTRUE |
TFRowIter | fRowIter | the row iterator |
TList* | fSelect | list of Selectors |
Bool_t | fStart | kTRUE if this iterator is the first in the list of itertors |
Inheritance Chart: | |||||
|
private constructor used by this class only
private constructor. Use TFGroup::MakeGroupIterator() to create a TFGroupIter
"Moves" this iterator to the next TFIOElement or one of a dervied class of TFIOElement in a group. After the first time the TFGroupIter "points" to the first TFIOElement. This function returns kTRUE as long as there is a further TFIOElement in the group. It returns kFALSE if it has already "pointed" to all TFIOElements of the group. The operator *() and the operator->() can be used to access the actual TFIOELement this iterator "points to". All elements in all branches of the group are returned but never the same element twice. Assume that a child of the group is a group with some children and again some groups as children and so on. All elements that are child of any child - group of this group are searched and returned if they pass the selection criteria and the filter. Therefore this TFGroupIter never atually "points" to a TFGroup. Before calling the first time Next() a filter can be set (SetFilter). For more information on setting a filter see class TFRowIterator and its member function TFRowIterator::SetFilter() This function is directly called by the SetFilter() function of this TFGroupIter class. But in any case the filter is only applied to the first TFGroup and not to its children groups. The order of the returned elements can be sorted with the Sort() function. For more information how to sort the rows of a group see class TFRowIterator and its member function TFRowIterator::Sort(). This function is directly called by the Sort() function of this TFGroupIter class. But in any case only the rows of the first TFGroup are sorted not the rows of its children groups. Further it is possible to select elements the iterator "points to" by the name of the elements. Call one or several times the SetSelector() function to define the names of returned elements. For more information how to set the selected element names see class description of TFNameSelector.
resets the iterator, but not the filter, not the sorting and not the selection criteria. The Next() function can be used again to iterate through all TFIOElements.
As default the elements returned from the operator * () and the operator->() are opened in readOnly mode. To open them in update mode set readOnly to kFALSE.
Set one selector. The number of elements this iterator "points to" depend on select. For more information see TFNameSelector and the Next() function. select is adapted by this class and will be deleted by this TFGroupIter class.