casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::TBKeyword Class Reference

Representation of a keyword attached to a table or field. More...

#include <TBKeyword.h>

List of all members.

Public Member Functions

 TBKeyword (String name, TBData &data)
 Constructor which takes the name, type, and value of the keyword.
 ~TBKeyword ()
String getName ()
 Returns the name of this keyword.
String getType ()
 Returns the type of this keyword.
TBDatagetValue ()
 Returns the value of this keyword.
String getDisplayValue ()
 Returns the display value of this keyword.

Private Attributes

String name
 Keyword name.
TBDatadata
 Keyword value.

Detailed Description

Representation of a keyword attached to a table or field.

Synopsis

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 47 of file TBKeyword.h.


Constructor & Destructor Documentation

casa::TBKeyword::TBKeyword ( 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(String name, String type, String value, String dispValue = "");


Member Function Documentation

Returns the display value of this keyword.

If no display value has been defined, the normal value is returned.

Returns the name of this keyword.

Returns the type of this keyword.

Returns the value of this keyword.


Member Data Documentation

Keyword value.

Definition at line 77 of file TBKeyword.h.

Keyword name.

Definition at line 74 of file TBKeyword.h.


The documentation for this class was generated from the following file: