28 #ifndef TABLES_COLDESCSET_H
29 #define TABLES_COLDESCSET_H
132 Bool& equalDataTypes)
const;
136 {
return other.
isSubset (*
this, equalDataTypes); }
141 Bool& equalDataTypes)
const
152 void show (ostream& os)
const;
194 std::map<String,CountedPtr<ColumnDesc>>
cols_p;
ColumnDescSet & operator=(const ColumnDescSet &)
Assignment (copy semantics).
AipsIO is the object persistency mechanism of Casacore.
Envelope class for the description of a table column.
Bool isSuperset(const ColumnDescSet &other, Bool &equalDataTypes) const
Test if this set is a superset of another one.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
uInt ncolumn() const
Get nr of columns in this set.
Block< void * > colSeq_p
The order of addition of column descriptions.
ColumnDesc & operator[](const String &name)
Get a column by its name.
void getFile(AipsIO &, const TableAttr &)
Get the object.
Set of table column descriptions.
Bool isDefined(const String &name) const
Test if a column is defined in this set.
void add(const ColumnDescSet &set)
Add another (disjoint) column set.
bool Bool
Define the standard types used by Casacore.
Bool isSubset(const ColumnDescSet &other, Bool &equalDataTypes) const
Test if this set is a subset of another one.
void putFile(AipsIO &ios, const TableAttr &) const
Put the object.
Bool isStrictSuperset(const ColumnDescSet &other, Bool &equalDataTypes) const
Test if this set is a strict superset of another one, thus if it is a superset and not equal...
Bool isStrictSubset(const ColumnDescSet &other, Bool &equalDataTypes) const
Test if this set is a strict subset of another one, thus if it is a subset and not equal...
std::map< String, CountedPtr< ColumnDesc > > cols_p
The set of all columns.
ColumnDesc & addColumn(const ColumnDesc &)
Add a column.
void checkSubTableDesc() const
Check recursevily if the descriptions of all subtables are known.
String: the storage and methods of handling collections of characters.
void rename(const String &newname, const String &oldname)
Rename a column in the set.
Define the structure of a Casacore table.
Bool allExist(const ColumnDescSet &, Bool &equalDataTypes) const
Test if all columns are part of the other set.
Bool isEqual(const ColumnDescSet &other, Bool &equalDataTypes) const
Test if this set equals another one.
void show(ostream &os) const
Get const access to the column descriptions.
Bool isDisjoint(const ColumnDescSet &other) const
Test if this and the other column set are disjoint.
Some attributes of a table.
ColumnDescSet()
Construct an empty column set.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.