Create a new table using the given table description.
Get access to the reference count.
Get the name of the table.
Get the table create option.
Test if the table is marked for delete.
Get the table description.
Bind a column to the given data manager. If already bound, the binding will be overwritten. It cannot be used anymore once the SetupNewTableRep object is used to construct a Table object.
Bind a column to the given data manager of the other column. If the other column is not bound, nothing will be done. If columnName is already bound, the binding will be overwritten. It cannot be used anymore once the SetupNewTableRep object is used to construct a Table object.
Bind a group of columns to the given data manager. The flag rebind tells if the binding of an already bound column will be overwritten. It cannot be used anymore once the SetupNewTableRep object is used to construct a Table object.
Bind all columns to the given data manager. The flag rebind tells if the binding of an already bound column will be overwritten. It cannot be used anymore once the SetupNewTableRep object is used to construct a Table object.
Create data managers and bind the columns using the specifications in the given record (which is obtained using Table::dataManagerInfo()).
Define the shape of fixed shaped arrays in a column. The shape of those arrays has to be known before the table can be constructed. It has to be defined via this function, if it was not already defined in the column description. If only the dimensionality was defined in the column description, the shape's dimensionality must match it. Calling this function for an non-fixed shaped array results in an exception. It cannot be used anymore once the SetupNewTableRep object is used to construct a Table object.
Test if object is already in use.
Get pointer to column set. This function is used by PlainTable.
Get pointer to table description. This function is used by PlainTable.
Set object to in use by a (Plain)Table object. This function is used by PlainTable.
Make a data manager for all unbound columns.
Copy constructor is forbidden, because copying a table requires some more knowledge (like table name of result). Declaring it private, makes it unusable.
Assignment is forbidden, because copying a table requires some more knowledge (like table name of result). Declaring it private, makes it unusable.
Setup the new table. This checks various things and creates the set of columns.
Get the internal data manager object for the given data manager. If it does not exist yet, it will be cloned and stored internally.
The construct options for SetupNewTable are defined in class Table. The possible options are:
Table makeIt(const TableDesc &td) { // 1 SetupNewTable maker("test.table", td, Table::New); // 2 maker.setShapeColumn("SomeArray", IPosition(2,10,10)); // 3 maker.setShapeColumn("AnotherArray", IPosition(1,100)); // 4 StManAipsIO sm1; // 5 StManKarma sm2; // 6 maker.bindAll(sm1); // 7 maker.bindColumn("SomeCol", sm2); // 8 maker.bindColumn("AnotherCol", sm2); // 9 return Table(maker, 1000); // 1000 row table // 10 } // 11This code illustrates a simple function that creates a Table starting from a Table descriptor. I
Create a new table using the given table description.
Copy constructor (reference semantics).
Assignment (reference semantics).
Get the name of the table.
Get the table create option.
Test if the table is marked for delete.
Get the table description.
Adjust the hypercolumn definitions. It renames and/or removes columns as necessary.
Bind a column to the given data manager. If already bound, the binding will be overwritten. It cannot be used anymore once the SetupNewTable object is used to construct a Table object.
Bind a column to the given data manager of the other column. If the other column is not bound, nothing will be done. If columnName is already bound, the binding will be overwritten. It cannot be used anymore once the SetupNewTableRep object is used to construct a Table object.
Bind a group of columns to the given data manager. The flag rebind tells if the binding of an already bound column will be overwritten. It cannot be used anymore once the SetupNewTable object is used to construct a Table object.
Bind all columns to the given data manager. The flag rebind tells if the binding of an already bound column will be overwritten. It cannot be used anymore once the SetupNewTable object is used to construct a Table object.
Create data managers and bind the columns using the specifications in the given record (which is obtained using Table::dataManagerInfo()).
Define the shape of fixed shaped arrays in a column. The shape of those arrays has to be known before the table can be constructed. It has to be defined via this function, if it was not already defined in the column description. If only the dimensionality was defined in the column description, the shape's dimensionality must match it. Calling this function for an non-fixed shaped array results in an exception. It cannot be used anymore once the SetupNewTable object is used to construct a Table object.
Test if object is already in use.
Get pointer to column set. This function is used by PlainTable.
Get pointer to table description. This function is used by PlainTable.
Set object to in use by a (Plain)Table object. This function is used by PlainTable.
Make a data manager for all unbound columns.