12 #ifndef ROOT_TTableDescriptor 13 #define ROOT_TTableDescriptor void LearnTable(const TTable *parentTable)
to be documented
tableDescriptor_st * end() const
void SetTypeSize(UInt_t size, Int_t column)
tableDescriptor_st & operator[](Int_t i)
virtual void SetDescriptorPointer(TTableDescriptor *list)
set table descriptor
tableDescriptor_st * begin() const
TTableDescriptor(const TTableDescriptor &dsc)
tableDescriptor_st * iterator
virtual Int_t UpdateOffsets(const TTableDescriptor *newDesciptor)
"Schema evolution" Method updates the offsets with a new ones from another descriptor ...
void SetSize(UInt_t size, Int_t column)
static TTableDescriptor * fgColDescriptors
const UInt_t * IndexArray(Int_t columnIndex) const
const Char_t * ColumnName(Int_t columnIndex) const
static TString fgCommentsName
TTableDescriptor(const char *name)
#define ClassDef(name, id)
static const char * TableDictionary()
const tableDescriptor_st & operator[](Int_t i) const
UInt_t Offset(Int_t columnIndex) const
virtual void Init(TClass *classPtr)
Create a descriptor of the C-structure defined by TClass TClass *classPtr must be a valid pointer to ...
UInt_t ColumnSize(Int_t columnIndex) const
TClass * RowClass() const
virtual Int_t AddAt(const void *c)
Append one row pointed by "c" to the descriptor.
const void * At(Int_t i) const
Returns a pointer to the i-th row of the table.
TString CreateLeafList() const
Create a list of leaf to be useful for TBranch::TBranch ctor.
TTableDescriptor * fSecondDescriptor
void SetColumnType(TTable::EColumnType type, Int_t column)
UInt_t TypeSize(Int_t columnIndex) const
virtual void SetType(const char *const type)
to be documented
TTableDescriptor & operator=(const TTableDescriptor &dsc)
TTableDescriptor(const char *name, Int_t n)
tableDescriptor_st * GetTable(Int_t i=0) const
The ROOT global object gROOT contains a list of all defined classes.
TTableDescriptor(Int_t n)
TTable::EColumnType ColumnType(Int_t columnIndex) const
void SetDimensions(UInt_t dim, Int_t column)
static void SetCommentsSetName(const char *name=".comments")
set comments name
UInt_t NumberOfColumns() const
void SetOffset(UInt_t offset, Int_t column)
static TTableDescriptor * MakeDescriptor(const char *structName)
MakeDescriptor(const char *structName) - static method structName - the name of the C structure to cr...
virtual Long_t GetNRows() const
Returns the number of the used rows for the wrapped table.
virtual ~TTableDescriptor()
class destructor
Int_t ColumnByName(const Char_t *columnName=0) const
Find the column index but the column name.
Int_t Sizeof() const
to be documented
virtual TTableDescriptor * GetDescriptorPointer() const
return column descriptor
UInt_t Dimensions(Int_t columnIndex) const
TDataSet * MakeCommentField(Bool_t createFlag=kTRUE)
Instantiate a comment dataset if any.