ROOT  6.06/09
Reference Guide
Functions
TObject.cxx File Reference
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <stdio.h>
#include <sstream>
#include "Varargs.h"
#include "Riostream.h"
#include "TObject.h"
#include "TClass.h"
#include "TGuiFactory.h"
#include "TMethod.h"
#include "TROOT.h"
#include "TError.h"
#include "TObjectTable.h"
#include "TVirtualPad.h"
#include "TInterpreter.h"
#include "TMemberInspector.h"
#include "TObjString.h"
#include "TRefTable.h"
#include "TProcessID.h"
+ Include dependency graph for TObject.cxx:

Go to the source code of this file.

Functions

 ClassImp (TObject) TObject
 TObject constructor. More...
 

Function Documentation

ClassImp ( TObject  )

TObject constructor.

It sets the two data words of TObject to their initial values. The unique ID is set to 0 and the status word is set depending if the object is created on the stack or allocated on the heap. Depending on the ROOT environment variable "Root.MemStat" (see TEnv) the object is added to the global TObjectTable for bookkeeping.

Definition at line 54 of file TObject.cxx.