TIter


class description - source file - inheritance tree

class TIter


    protected:
TIter TIter() public:
TIter TIter(TCollection* col, Bool_t dir = kIterForward) TIter TIter(TIterator* it) TIter TIter(TIter&) virtual void ~TIter() TClass* Class() Option_t* GetOption() virtual TClass* IsA() TObject* Next() TObject* operator()() void Reset() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
TIterator* fIterator collection iterator

Class Description

                                                                      
 Collection abstract base class. This class describes the base        
 protocol all collection classes have to implement. The ROOT          
 collection classes always store pointers to objects that inherit     
 from TObject. They never adopt the objects. Therefore, it is the     
 user's responsability to take care of deleting the actual objects    
 once they are not needed anymore. In exceptional cases, when the     
 user is 100% sure nothing else is referencing the objects in the     
 collection, one can delete all objects and the collection at the     
 same time using the Delete() function.                               
                                                                      
 Collections can be iterated using an iterator object (see            
 TIterator). Depending on the concrete collection class there may be  
 some additional methods of iterating. See the repective classes.     
                                                                      
 TCollection inherits from TObject since we want to be able to have   
 collections of collections.                                          
                                                                      
 In a later release the collections may become templatized.           
                                                                      




Inline Functions


              TIter TIter()
              TIter TIter(TCollection* col, Bool_t dir = kIterForward)
              TIter TIter(TIterator* it)
           TObject* operator()()
           TObject* Next()
          Option_t* GetOption()
               void Reset()
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
              TIter TIter(TIter&)
               void ~TIter()


Author: Fons Rademakers 13/08/95
Last update: 2.00/11 18/08/98 16.39.48 by Rene Brun
Copyright (c) 1995-1998, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.