TAssoc


class description - source file - inheritance tree

class TAssoc : public TObject


    public:
TAssoc TAssoc(TObject* key, TObject* value) TAssoc TAssoc(const TAssoc& a) virtual void ~TAssoc() virtual void Browse(TBrowser* b) static TClass* Class() virtual const char* GetName() const virtual ULong_t Hash() const virtual TClass* IsA() const virtual Bool_t IsEqual(const TObject* obj) const virtual Bool_t IsFolder() const TObject* Key() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) TObject* Value() const

Data Members

    private:
TObject* fKey TObject* fValue

Class Description

                                                                      
 TMap                                                                 
                                                                      
 TMap implements an associative array of (key,value) pairs using a    
 hash table for efficient retrieval (therefore TMap does not conserve 
 the order of the entries). The hash value is calculated              
 using the value returned by the keys Hash() function. Both key and   
 value need to inherit from TObject.                                  
                                                                      




Inline Functions


             TAssoc TAssoc(TObject* key, TObject* value)
             TAssoc TAssoc(const TAssoc& a)
             Bool_t IsFolder() const
               void Browse(TBrowser* b)
        const char* GetName() const
            ULong_t Hash() const
             Bool_t IsEqual(const TObject* obj) const
           TObject* Key() const
           TObject* Value() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
               void ~TAssoc()


Author: Fons Rademakers 12/11/95
Last update: root/cont:$Name: $:$Id: TMap.h,v 1.13 2002/11/11 16:23:16 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.