ROOT 6.08/07 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 146 of file TMapFile.h.
Public Member Functions | |
TMapRec (const char *name, const TObject *obj, Int_t size, void *buf) | |
~TMapRec () | |
Destructor. More... | |
void * | GetBuffer (Long_t offset=0) const |
Int_t | GetBufSize () const |
const char * | GetClassName (Long_t offset=0) const |
const char * | GetName (Long_t offset=0) const |
TMapRec * | GetNext (Long_t offset=0) const |
TObject * | GetObject () const |
This method returns a pointer to the original object. More... | |
Private Member Functions | |
TMapRec (const TMapRec &) | |
TMapRec & | operator= (const TMapRec &) |
Private Attributes | |
void * | fBuffer |
Buffer containing object of class name. More... | |
Int_t | fBufSize |
Buffer size. More... | |
char * | fClassName |
Class name. More... | |
char * | fName |
Object name. More... | |
TMapRec * | fNext |
Next MapRec in list. More... | |
TObject * | fObject |
Pointer to original object. 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 166 of file TMapFile.h.
|
inline |
Definition at line 167 of file TMapFile.h.
|
inline |
Definition at line 165 of file TMapFile.h.
|
inline |
Definition at line 164 of file TMapFile.h.
Definition at line 169 of file TMapFile.h.
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 148 of file TMapFile.h.
|
private |
Buffer containing object of class name.
Definition at line 154 of file TMapFile.h.
|
private |
Buffer size.
Definition at line 155 of file TMapFile.h.
|
private |
Class name.
Definition at line 152 of file TMapFile.h.
|
private |
Object name.
Definition at line 151 of file TMapFile.h.
|
private |
Next MapRec in list.
Definition at line 156 of file TMapFile.h.
|
private |
Pointer to original object.
Definition at line 153 of file TMapFile.h.