library: libCore #include "TMap.h" |
TPair
class description - source file - inheritance tree (.pdf)
public:
TPair(TObject* key, TObject* value)
TPair(const TPair& a)
virtual ~TPair()
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
TPair& operator=(const TPair&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TObject* Value() const
private:
TObject* fKey
TObject* fValue
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
void ~TPair()
TPair TPair(TObject* key, TObject* value)
TPair TPair(const TPair& 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)
TPair& operator=(const TPair&)
Author: Fons Rademakers 12/11/95
Last update: root/cont:$Name: $:$Id: TMap.h,v 1.16 2004/10/13 15:30:22 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.