/usr/include/root/tableDescriptor.h is in libroot-misc-table-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | /* @(#)root/table:$Id$ */
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
/* tableDescriptor.h */
#ifndef TABLEDESCRIPTOR_H
#define TABLEDESCRIPTOR_H
#ifdef NORESTRICTIONS
# define TABLEDESCRIPTOR_SPEC \
"struct tableDescriptor { \
char *fColumnName; \
unsigned int *fIndexArray; \
unsigned int fOffset; \
unsigned int fSize; \
unsigned int fTypeSize; \
unsigned int fDimensions; \
EColumnType fType; \
};"
#else
# define TABLEDESCRIPTOR_SPEC \
"struct tableDescriptor { \
char fColumnName[20]; \
unsigned int fIndexArray[2]; \
unsigned int fOffset; \
unsigned int fSize; \
unsigned int fTypeSize; \
unsigned int fDimensions; \
EColumnType fType; \
};"
#endif
/* this is a name clas with ROOT
* enum EColumnType {kNAN, kFloat, kInt, kLong, kShort, kDouble, kUInt
* ,kULong, kUShort, kUChar, kChar };
*/
/* This is to introduce an artificial restriction demanded by STAR database group
*
* 1. the name may be 31 symbols at most
* 2. the number of the dimensions is 3 at most
*
* To lift this restriction one has to provide -DNORESTRICTIONS CPP symbol and
* recompile code.
*/
//______________________________________________________________________________
//
// Table descriptor tableDescriptor_st is internal descriptor of TTableDescriptor class
//
// One should not use it directly.
// To access the TTable descriptor information use TTableDescriptor object instead
//______________________________________________________________________________
typedef struct tableDescriptor_st {
#ifdef NORESTRICTIONS
char *fColumnName; /* The name of this data-member */
unsigned int *fIndexArray; /* The array of the sizes for each dimensions fIndexArray[fDimensions] */
#else
char fColumnName[32]; /* The name of this data-member: see dstype.h for dsl compatible mode */
unsigned int fIndexArray[3]; /* The array of the sizes for each dimensions fIndexArray[fDimensions]*/
#endif
unsigned int fOffset; /* The first byte in the row of this column */
unsigned int fSize; /* The full size of the selected column in bytes */
unsigned int fTypeSize; /* The type size of the selected column in bytes */
unsigned int fDimensions; /* The number of the dimensions for array */
int fType; /* The data type of the selected column */
} TABLEDESCRIPTOR_ST;
// $Log: tableDescriptor.h,v $
// Revision 1.2 2003/01/27 20:41:36 brun
// New version of the Table package by Valeri Fine.
// New classes TIndexTable TResponseIterator TResponseTable TTableMap
//
// Revision 1.1.1.1 2002/05/28 12:32:02 fisyak
//
//
// Revision 1.1 2002/05/27 16:26:59 rdm
// rename star to table.
//
// Revision 1.1.1.1 2000/05/16 17:00:49 rdm
// Initial import of ROOT into CVS
//
// Revision 1.6 2000/01/12 18:07:25 fine
// cvs symbols have been added and copyright class introduced
//"
#endif /* TABLEDESCRIPTOR_H */
|