ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
Ttypes.h File Reference
#include "Rtypes.h"
Include dependency graph for Ttypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ROOT::Internal::TTableInitBehavior< T >
 

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 
 ROOT::Internal
 

Macros

#define _QUOTE2_(name1, name2)   _QUOTE_(_NAME1_(name1)name2)
 
#define _TableClassImp_(className, structName)
 
#define TableClassStreamerImp(className)
 
#define TableClassImp(className, structName)
 
#define TableClassImpl(className, structName)
 
#define TableImpl(name)
 
#define TableImp(name)   TableClassImp(_NAME2_(St_,name),_QUOTE2_(St_,name))
 
#define ClassDefTable(className, structName)
 
#define ClassDefineChair(classChairName, classTableName, structName)
 
#define ClassDefChair(className, structName)
 

Functions

template<class RootClass >
const TTableInitBehavior
< RootClass > * 
ROOT::Internal::DefineBehavior (TTable *, RootClass *)
 

Macro Definition Documentation

#define _QUOTE2_ (   name1,
  name2 
)    _QUOTE_(_NAME1_(name1)name2)

Definition at line 32 of file Ttypes.h.

Referenced by ClassImp().

#define _TableClassImp_ (   className,
  structName 
)

Definition at line 39 of file Ttypes.h.

#define ClassDefChair (   className,
  structName 
)
Value:
public: \
typedef structName* iterator; \
structName *GetTable(Int_t i) const { \
if (fLastIndx != UInt_t(i)) { \
((_NAME2_(className,C) *)this)->fLastIndx = i; \
((_NAME2_(className,C) *)this)->fLastRow = \
((className *)GetThisTable())->GetTable(i); \
}; return (structName *)fLastRow; } \
structName &operator[](Int_t i){ assert(i>=0 && i < GetNRows()); return *GetTable(i); } \
const structName &operator[](Int_t i) const { assert(i>=0 && i < GetNRows()); return *((const structName *)(GetTable(i))); }\
structName *begin() const { return GetNRows()? GetTable(0):0;}\
structName *end() const {Int_t i = GetNRows(); return i? GetTable(i):0;}
#define assert(cond)
Definition: unittest.h:542
int Int_t
Definition: RtypesCore.h:41
if(pyself &&pyself!=Py_None)
static double C[]
unsigned int UInt_t
Definition: RtypesCore.h:42
#define _NAME2_(name1, name2)
Definition: RConfig.h:409

Definition at line 113 of file Ttypes.h.

#define ClassDefineChair (   classChairName,
  classTableName,
  structName 
)
Value:
public: \
typedef structName* iterator; \
structName *GetTable(Int_t i) const { \
if (fLastIndx != UInt_t(i)) { \
((classChairName *)this)->fLastIndx = i; \
((classChairName *)this)->fLastRow = \
((classTableName *)GetThisTable())->GetTable(i); \
}; return (structName *)fLastRow; }; \
structName &operator[](Int_t i){ assert(i>=0 && i < GetNRows()); return *GetTable(i); } \
const structName &operator[](Int_t i) const { assert(i>=0 && i < GetNRows()); return *((const structName *)(GetTable(i))); }\
structName *begin() const { return GetNRows()? GetTable(0):0;}\
structName *end() const {Int_t i = GetNRows(); return i? GetTable(i):0;}
#define assert(cond)
Definition: unittest.h:542
int Int_t
Definition: RtypesCore.h:41
if(pyself &&pyself!=Py_None)
unsigned int UInt_t
Definition: RtypesCore.h:42

Definition at line 95 of file Ttypes.h.

#define ClassDefTable (   className,
  structName 
)
Value:
public: \
static const char* TableDictionary(); \
protected: \
static TTableDescriptor *fgColDescriptors; \
virtual TTableDescriptor *GetDescriptorPointer() const { return fgColDescriptors;} \
virtual void SetDescriptorPointer(TTableDescriptor *list) { fgColDescriptors = list;} \
public: \
typedef structName* iterator; \
className() : TTable(_QUOTE_(className),sizeof(structName)) {SetType(_QUOTE_(structName));} \
className(const char *name) : TTable(name,sizeof(structName)) {SetType(_QUOTE_(structName));} \
className(Int_t n) : TTable(_QUOTE_(className),n,sizeof(structName)) {SetType(_QUOTE_(structName));}\
className(const char *name,Int_t n) : TTable(name,n,sizeof(structName)) {SetType(_QUOTE_(structName));}\
structName *GetTable(Int_t i=0) const { return ((structName *)GetArray())+i;} \
structName &operator[](Int_t i){ assert(i>=0 && i < GetNRows()); return *GetTable(i); } \
const structName &operator[](Int_t i) const { assert(i>=0 && i < GetNRows()); return *((const structName *)(GetTable(i))); } \
structName *begin() const { return GetNRows()? GetTable(0):0;}\
structName *end() const {Long_t i = GetNRows(); return i? GetTable(i):0;}
#define assert(cond)
Definition: unittest.h:542
int Int_t
Definition: RtypesCore.h:41
#define _QUOTE_(name)
Definition: RConfig.h:412
long Long_t
Definition: RtypesCore.h:50
Definition: TTable.h:52
#define name(a, b)
Definition: linkTestLib0.cpp:5
const Int_t n
Definition: legend1.C:16

Definition at line 66 of file Ttypes.h.

#define TableClassImp (   className,
  structName 
)
Value:
const char* className::TableDictionary() \
{return TTable::TableDictionary(_QUOTE_(className),_QUOTE_(structName),fgColDescriptors);}\
_TableClassImp_(className,structName)
static const char * TableDictionary()
Definition: TTable.h:267
#define _QUOTE_(name)
Definition: RConfig.h:412
#define _TableClassImp_(className, structName)
Definition: Ttypes.h:39

Definition at line 47 of file Ttypes.h.

#define TableClassImpl (   className,
  structName 
)
Value:
TTableDescriptor *className::fgColDescriptors = 0; \
TableClassImp(className,structName) \
#define TableClassStreamerImp(className)
Definition: Ttypes.h:42
#define TableClassImp(className, structName)
Definition: Ttypes.h:47

Definition at line 53 of file Ttypes.h.

#define TableClassStreamerImp (   className)
Value:
void className::Streamer(TBuffer &R__b) { \
TTable::Streamer(R__b); }
Buffer base class used for serializing objects.
Definition: TBuffer.h:42

Definition at line 42 of file Ttypes.h.

#define TableImp (   name)    TableClassImp(_NAME2_(St_,name),_QUOTE2_(St_,name))

Definition at line 64 of file Ttypes.h.

#define TableImpl (   name)
Value:
TTableDescriptor *_NAME2_(St_,name)::fgColDescriptors = 0; \
#define TableClassStreamerImp(className)
Definition: Ttypes.h:42
#define TableClassImp(className, structName)
Definition: Ttypes.h:47
#define name(a, b)
Definition: linkTestLib0.cpp:5
#define _NAME2_(name1, name2)
Definition: RConfig.h:409

Definition at line 59 of file Ttypes.h.