ROOT
6.07/01
Reference Guide
|
Keep track of an object in the mapped file.
A TMapFile contains a list of TMapRec objects which keep track of the actual objects stored in the mapped file.
Definition at line 136 of file TMapFile.h.
Public Member Functions | |
TMapRec (const char *name, const TObject *obj, Int_t size, void *buf) | |
~TMapRec () | |
Destructor. More... | |
const char * | GetName (Long_t offset=0) const |
const char * | GetClassName (Long_t offset=0) const |
void * | GetBuffer (Long_t offset=0) const |
Int_t | GetBufSize () const |
TObject * | GetObject () const |
This method returns a pointer to the original object. More... | |
TMapRec * | GetNext (Long_t offset=0) const |
Private Member Functions | |
TMapRec (const TMapRec &) | |
TMapRec & | operator= (const TMapRec &) |
Private Attributes | |
char * | fName |
Object name. More... | |
char * | fClassName |
Class name. More... | |
TObject * | fObject |
Pointer to original object. More... | |
void * | fBuffer |
Buffer containing object of class name. More... | |
Int_t | fBufSize |
Buffer size. More... | |
TMapRec * | fNext |
Next MapRec in list. More... | |
Friends | |
class | TMapFile |
#include <TMapFile.h>
|
private |
Definition at line 132 of file TMapFile.cxx.
TMapRec::~TMapRec | ( | ) |
Destructor.
Definition at line 145 of file TMapFile.cxx.
Definition at line 156 of file TMapFile.h.
Referenced by TMapFile::Get().
|
inline |
Definition at line 157 of file TMapFile.h.
|
inline |
Definition at line 155 of file TMapFile.h.
Referenced by TMapFile::Browse(), TMapFile::Get(), and TMapFile::ls().
|
inline |
Definition at line 154 of file TMapFile.h.
Referenced by TMapFile::Browse(), TMapFile::Get(), and TMapFile::ls().
Definition at line 159 of file TMapFile.h.
Referenced by TMapFile::Browse(), TMapFile::Get(), and TMapFile::ls().
TObject * TMapRec::GetObject | ( | ) | const |
This method returns a pointer to the original object.
NOTE: this pointer is only valid in the process that produces the shared memory file. In a consumer process this pointer is illegal! Be careful.
Definition at line 157 of file TMapFile.cxx.
|
friend |
Definition at line 138 of file TMapFile.h.
|
private |
Buffer containing object of class name.
Definition at line 144 of file TMapFile.h.
Referenced by GetBuffer(), TMapRec(), and TMapFile::Update().
|
private |
Buffer size.
Definition at line 145 of file TMapFile.h.
Referenced by TMapFile::Get(), GetBufSize(), TMapFile::ls(), TMapRec(), and TMapFile::Update().
|
private |
Class name.
Definition at line 142 of file TMapFile.h.
Referenced by GetClassName(), TMapRec(), TMapFile::Update(), and ~TMapRec().
|
private |
Object name.
Definition at line 141 of file TMapFile.h.
Referenced by GetName(), TMapRec(), and ~TMapRec().
|
private |
Next MapRec in list.
Definition at line 146 of file TMapFile.h.
Referenced by TMapFile::Add(), GetNext(), TMapFile::Remove(), TMapFile::RemoveAll(), TMapRec(), and TMapFile::Update().
|
private |
Pointer to original object.
Definition at line 143 of file TMapFile.h.
Referenced by GetObject(), TMapRec(), and TMapFile::Update().