casa
5.7.0-16
|
Representation of a keyword attached to a table or field. More...
#include <TBKeyword.h>
Public Member Functions | |
TBKeyword (casacore::String name, TBData &data) | |
Constructor which takes the name, type, and value of the keyword. More... | |
~TBKeyword () | |
casacore::String | getName () |
Returns the name of this keyword. More... | |
casacore::String | getType () |
Returns the type of this keyword. More... | |
TBData * | getValue () |
Returns the value of this keyword. More... | |
casacore::String | getDisplayValue () |
Returns the display value of this keyword. More... | |
Private Attributes | |
casacore::String | name |
Keyword name. More... | |
TBData * | data |
Keyword value. More... | |
Representation of a keyword attached to a table or field.
A TBKeyword can be attached either to an entire table or to a specific field in a table. Keywords consist of a name, type, and value.
Definition at line 45 of file TBKeyword.h.
casa::TBKeyword::TBKeyword | ( | casacore::String | name, |
TBData & | data | ||
) |
Constructor which takes the name, type, and value of the keyword.
Optionally, a display value can also be entered. (For example, array keywords may not want to display their whole value.) TBKeyword(casacore::String name, casacore::String type, casacore::String value, casacore::String dispValue = "");
casa::TBKeyword::~TBKeyword | ( | ) |
casacore::String casa::TBKeyword::getDisplayValue | ( | ) |
Returns the display value of this keyword.
If no display value has been defined, the normal value is returned.
casacore::String casa::TBKeyword::getName | ( | ) |
Returns the name of this keyword.
casacore::String casa::TBKeyword::getType | ( | ) |
Returns the type of this keyword.
TBData* casa::TBKeyword::getValue | ( | ) |
Returns the value of this keyword.
|
private |
Keyword value.
Definition at line 75 of file TBKeyword.h.
|
private |
Keyword name.
Definition at line 72 of file TBKeyword.h.