Annotation of parser3/src/include/pa_table.h, revision 1.1
1.1 ! paf 1: /*
! 2: $Id: pa_threads.h,v 1.4 2001/01/29 12:16:07 paf Exp $
! 3: */
! 4:
! 5: #ifndef PA_TABLE_H
! 6: #define PA_TABLE_H
! 7:
! 8: #include "pa_types.h"
! 9: #include "pa_array.h"
! 10: #include "pa_hash.h"
! 11:
! 12: class Table : public Array {
! 13: public:
! 14:
! 15: // the base origin of table data
! 16: Origin origin;
! 17:
! 18: // columns order
! 19: Array *columns_order;
! 20:
! 21: // column name->number lookup table
! 22: // hence most of tables are "named", no need to uptimize unnamed onces
! 23: Hash name2number;
! 24:
! 25: Table(Pool *apool,
! 26: char *afile, uint aline,
! 27: Array *acolumns,
! 28: int initial_rows=CR_INITIAL_ROWS_DEFAULT);
! 29: };
! 30:
! 31: #endif
E-mail: