13 #include "TIndexTable.h"
15 #include "TTableDescriptor.h"
58 void TIndexTable::Dictionary()
61 TClass *c = CreateClass(_QUOTE_(className), Class_Version(),
62 DeclFileName(), ImplFileName(),
63 DeclFileLine(), ImplFileLine());
65 int nch = strlen(_QUOTE2_(structName,.h))+2;
66 char *structBuf =
new char[nch];
67 strlcpy(structBuf,_QUOTE2_(structName,.h),nch);
68 char *s = strstr(structBuf,
"_st.h");
69 if (s) { *s = 0; strlcat(structBuf,
".h",nch); }
70 TClass *r = CreateClass(_QUOTE_(structName), Class_Version(),
71 structBuf, structBuf, 1, 1 );
84 if (!fgColDescriptors) CreateDescriptor();
85 fSize = fgColDescriptors->Sizeof();
94 if (!fgColDescriptors) {
98 if (fgColDescriptors) {
102 memset(&row,0,
sizeof(row));
103 strlcpy(row.fColumnName,
"index",
sizeof(row.fColumnName));
106 row.fTypeSize =
sizeof(Int_t);
107 row.fSize = row.fTypeSize;
111 return fgColDescriptors;
119 return fgColDescriptors;
127 fgColDescriptors = list;
virtual Int_t AddAt(const void *c)
Append one row pointed by "c" to the descriptor.
const TTable * Table() const
to be documented
virtual void SetDescriptorPointer(TTableDescriptor *list)
set table descriptor
static TTableDescriptor * CreateDescriptor()
to be documented
virtual TTableDescriptor * GetDescriptorPointer() const
return column descriptor