TSortedList


class description - source file - inheritance tree

class TSortedList : public TList


    public:
TSortedList TSortedList(Bool_t order = kSortAscending) void ~TSortedList() virtual void Add(TObject* obj) virtual void Add(TObject* obj, Option_t* opt) virtual void AddAfter(TObjLink*, TObject* obj) virtual void AddAfter(TObject*, TObject* obj) virtual void AddAt(TObject* obj, Int_t) virtual void AddBefore(TObject*, TObject* obj) virtual void AddBefore(TObjLink*, TObject* obj) virtual void AddFirst(TObject* obj, Option_t* opt) virtual void AddFirst(TObject* obj) virtual void AddLast(TObject* obj) virtual void AddLast(TObject* obj, Option_t* opt) TClass* Class() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sort(Bool_t = kSortAscending) virtual void Streamer(TBuffer& b)

Data Members


Class Description

                                                                      
 A sorted doubly linked list. All sortable classes inheriting from    
 TObject can be inserted in a TSortedList.                            
                                                                      


void Add(TObject *obj)
 Add object in sorted list. Uses object Compare() member to find right
 position.

void Add(TObject *obj, Option_t *opt)
 Add object in sorted list. Uses object Compare() member to find right
 position and also store option. See TList::Add for explanation of
 usage of option.



Inline Functions


        TSortedList TSortedList(Bool_t order = kSortAscending)
               void AddFirst(TObject* obj)
               void AddFirst(TObject* obj, Option_t* opt)
               void AddLast(TObject* obj)
               void AddLast(TObject* obj, Option_t* opt)
               void AddAt(TObject* obj, Int_t)
               void AddAfter(TObject*, TObject* obj)
               void AddAfter(TObjLink*, TObject* obj)
               void AddBefore(TObject*, TObject* obj)
               void AddBefore(TObjLink*, TObject* obj)
               void Sort(Bool_t = kSortAscending)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void ~TSortedList()


Author: Fons Rademakers 14/09/95
Last update: 2.00/11 17/08/98 15.18.35 by Rene Brun
Copyright (c) 1995-1999, 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.