casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
casa::TBConstants Class Reference

Constants, defaults, and commonly-used functions for the table browser. More...

#include <TBConstants.h>

Static Public Member Functions

static void dprint (int level, casacore::String message, int indentLevel=0)
 Print the given message to standard out with the given indentation level, IF the message's level is at or below the current debugThreshold. More...
 
static casacore::String compToString (tb::Comparator c)
 Returns the display value of the given Comparator. More...
 
static tb::Comparator stringToComp (casacore::String str)
 Returns the Comparator corresponding to the given display value. More...
 
static casacore::String bFormToString (tb::BooleanFormat bf)
 Returns the display value of the given BooleanFormat. More...
 
static tb::BooleanFormat stringToBForm (casacore::String str)
 Returns the BooleanFormat corresponding to the given display value. More...
 
static casacore::String aipspath ()
 Returns the path of the CASA top-level directory. More...
 
static casacore::String dotCasapyDir ()
 Returns the absolute path of the ~/.casa directory. More...
 
static casacore::IPosition ipos (std::vector< int > &d)
 Converts a vector<int> to an IPosition. More...
 
static std::vector< int > ipos (casacore::IPosition &d)
 Converts an casacore::IPosition to a vector<int>. More...
 
static bool increment (casacore::IPosition &shape, casacore::IPosition &d)
 Increments the given dimension, using the given shape as a maximum. More...
 
static bool increment (std::vector< int > &shape, std::vector< int > &d)
 Increments the given dimension, using the given shape as a maximum. More...
 
static void insert (QFrame *frame, QWidget *widget)
 Inserts the given widget into the given placeholder frame. More...
 
static void insert (QFrame *frame, QLayout *layout)
 Inserts the given layout into the given placeholder frame. More...
 
static std::vector
< casacore::String > * 
allTypes ()
 Unsupported types static const casacore::String TYPE_USHORT; static const casacore::String TYPE_ARRAY_USHORT; static const casacore::String TYPE_OTHER;. More...
 
static std::vector
< casacore::String > * 
arrayTypes ()
 Return a vector containing all the valid array data types. More...
 
static std::vector
< casacore::String > * 
nonArrayTypes ()
 Return a vector containing all the valid non-array data types. More...
 
static casacore::String typeName (casacore::DataType dt)
 Convert a CASA DataType enum to its casacore::String equivalent. More...
 
static casacore::String typeName (casacore::String type)
 Returns a human-readable name for the given type. More...
 
static casacore::String VOType (casacore::String &type)
 Converts the given type into its corresponding VOTable type. More...
 
static bool typeIsTable (casacore::String &type)
 Returns true if the given type is a table type, false otherwise. More...
 
static bool typeIsArray (casacore::String &type)
 Returns true if the given type is an array type, false otherwise. More...
 
static bool typeIsPlottable (casacore::String &type)
 Returns true if the given type is plottable, false otherwise. More...
 
static bool typeIsNumberable (casacore::String &type)
 Returns true if the given type is numberable, false otherwise. More...
 
static bool typeIsIndexable (casacore::String &type)
 Returns true if the given type can be used as an index (i.e., integer-like), false otherwise. More...
 
static bool typeIsComplex (casacore::String &type)
 Retruns true if the given type is a complex or array of complex types, false otherwise. More...
 
static casacore::String arrayType (casacore::String &at)
 Returns the value type from the given array type. More...
 
static bool valueIsValid (casacore::String &value, casacore::String &type)
 Returns true if the given value is valid for the given type, false otherwise. More...
 
static casacore::String formatValue (casacore::String &value, casacore::String &type)
 Formats the given value for the given data type and returns the formatted value. More...
 
static double valueToDouble (casacore::String &value, casacore::String &type)
 Converts the given value of the given type to a double and return it. More...
 
static double date (casacore::String d)
 Converts the given casacore::String in date format (year-month-day-hour:min:sec) to its double representation. More...
 
static casacore::String date (const double d, const int numDecimals=-1)
 Converts the given double into a casacore::String in date format (year-month-day-hour:min:sec). More...
 
static bool dateFormatIsValid (casacore::String &d)
 Returns true if the given casacore::String contains a valid date format, false otherwise. More...
 
static std::pair< double, double > toComplex (casacore::String str)
 Converts a casacore::String in complex format (a,b) into a pair of doubles. More...
 
static const XMLCh * xstr (char *str)
 Converts a char* to an XMLCh*. More...
 
static const XMLCh * xstr (casacore::String str)
 Converts a casacore::String to an XMLCh*. More...
 
static casacore::String xstr (XMLCh *str)
 Converts an XMLCh* to a String. More...
 
static casacore::String xstr (const XMLCh *str)
 Converts a const XMLCh* to a String. More...
 
static casacore::String itoa (int n)
 Converts the given int into its casacore::String representation and returns it. More...
 
static casacore::String uitoa (unsigned int n)
 Converts the given unsigned int into its casacore::String representation and returns it. More...
 
static casacore::String sitoa (short int n)
 Converts the given short int into its casacore::String representation and returns it. More...
 
static casacore::String ftoa (float f, int decimals=-1, bool scientific=false)
 Converts the given float into its casacore::String representation and returns it. More...
 
static casacore::String dtoa (double d, int decimals=-1, bool scientific=false)
 Converts the given double into its casacore::String representation and returns it. More...
 
static int atoi (casacore::String &str, int *i)
 Converts the given casacore::String into its int representation. More...
 
static int atoui (casacore::String &str, unsigned int *i)
 Converts the given casacore::String into its unsigned int representation. More...
 
static int atosi (casacore::String &str, short int *i)
 Converts the given casacore::String into its short int representation. More...
 
static int atof (casacore::String &str, float *f)
 Converts the given casacore::String into its float representation. More...
 
static int atod (casacore::String &str, double *d)
 Converts the given casacore::String into its double representation. More...
 
static int round (double d)
 Rounds the given double to the nearest int and returns it. More...
 
static bool isWS (char c)
 Returns true if the given char is a whitespace, false otherwise. More...
 
static void strtrim (casacore::String &str)
 Trims the given casacore::String of its leading and trailing whitespace using casacore::String::erase(). More...
 
static void toLower (casacore::String &str)
 Converts all upper-case letters to lower-case letters in the given String. More...
 
static unsigned int findWS (casacore::String &str, int index=0)
 Returns the index of the next instance of a whitespace character in the given casacore::String from the given index, or the string's length if there is none. More...
 
static unsigned int findIgnoreCase (casacore::String &str, casacore::String &find, int index=0)
 Returns the index of the next instance of the find casacore::String in the given casacore::String starting from the given index, or str's length if there is none. More...
 
static bool equalsIgnoreCase (casacore::String str1, casacore::String str2)
 Returns true if the two Strings are equal (ignoring case), false otherwise. More...
 
static casacore::String nameFromPath (casacore::String &path)
 Returns the name of the file from the given path (the last part of the path). More...
 
static casacore::String dirFromPath (casacore::String &path)
 Returns the directory from the given path (all but the last part of the path). More...
 
static PlotLinePtr defaultPlotLine (PlotFactoryPtr factory)
 Returns a default line to use with new plots, using the given factory (should match the implementation of defaultPlotterImplementation). More...
 
static PlotSymbolPtr defaultPlotSymbol (PlotFactoryPtr factory)
 Returns a default plot symbol to use with new plots, using the given factory (should match the implementation of defaultPlotterImplementation). More...
 

Static Public Attributes

static int debugThreshold
 The current debug level. More...
 
static const int DEBUG_OFF
 Debug levels. More...
 
static const int DEBUG_LOW
 
static const int DEBUG_MED
 
static const int DEBUG_HIGH
 
static const unsigned int DEFAULT_SELECT_NUM
 The default number of rows to load from the table at a time. More...
 
static const unsigned int DEFAULT_EXPORT_NUM
 The default number of rows to load at a time while exporting. More...
 
static const unsigned int MAX_SELECT_NUM
 The maximum number of rows to load from the table at a time. More...
 
static const unsigned int MAX_ACTION_BUFFER
 The maximum number of actions to keep in action lists. More...
 
static const unsigned int DEFAULT_ROW_INTERVAL
 The default row interval for plotting. More...
 
static const casacore::String QUERY_QUERY
 Kinds of queries that can be sent to the table through the TBXMLDriver. More...
 
static const casacore::String QUERY_ARRAY
 
static const casacore::String QUERY_UPDATE
 
static const casacore::String QUERY_FULL
 
static const int SLICER_ROW_AXIS
 Constants used for an array slicer. More...
 
static const int SLICER_COL_AXIS
 
static const unsigned int DEFAULT_RECORD_VISIBLE_ROWS
 Number of rows in an embedded record widget to show by default. More...
 
static const casacore::String TYPE_STRING
 casacore::Table data types. More...
 
static const casacore::String TYPE_DOUBLE
 
static const casacore::String TYPE_FLOAT
 
static const casacore::String TYPE_INT
 
static const casacore::String TYPE_UINT
 
static const casacore::String TYPE_BOOL
 
static const casacore::String TYPE_CHAR
 
static const casacore::String TYPE_UCHAR
 
static const casacore::String TYPE_SHORT
 
static const casacore::String TYPE_COMPLEX
 
static const casacore::String TYPE_DCOMPLEX
 
static const casacore::String TYPE_TABLE
 
static const casacore::String TYPE_RECORD
 
static const casacore::String TYPE_DATE
 
static const casacore::String TYPE_ARRAY_STRING
 
static const casacore::String TYPE_ARRAY_DOUBLE
 
static const casacore::String TYPE_ARRAY_FLOAT
 
static const casacore::String TYPE_ARRAY_INT
 
static const casacore::String TYPE_ARRAY_UINT
 
static const casacore::String TYPE_ARRAY_BOOL
 
static const casacore::String TYPE_ARRAY_CHAR
 
static const casacore::String TYPE_ARRAY_UCHAR
 
static const casacore::String TYPE_ARRAY_SHORT
 
static const casacore::String TYPE_ARRAY_COMPLEX
 
static const casacore::String TYPE_ARRAY_DCOMPLEX
 
static const casacore::String COMMENT_DATE
 The comments for casacore::Double fields that indicate that they should be interpreted as a date. More...
 
static const casacore::String COMMENT_TIMP
 
static const casacore::String COMMENT_TIMP2
 
static const int DEFAULT_DECIMALS
 Holds the default number of decimals displayed in a number. More...
 
static const int DEFAULT_DATE_DECIMALS
 Holds the default number of decimals displayed in a date. More...
 
static const casacore::String ARRAY_AXES_LENGTHS
 casacore::String used in parsing arrays. More...
 
static const casacore::String XML_VOTABLE
 XML token names that are used in table parsing. More...
 
static const casacore::String XML_RESOURCE
 
static const casacore::String XML_TABLE
 
static const casacore::String XML_TOTAL
 
static const casacore::String XML_FIELD
 
static const casacore::String XML_KEYWORD
 
static const casacore::String XML_COLUMNKW
 
static const casacore::String XML_RWINFO
 
static const casacore::String XML_DATA
 
static const casacore::String XML_TABLEDATA
 
static const casacore::String XML_TR
 
static const casacore::String XML_TD
 
static const casacore::String XML_INSERTROW
 
static const casacore::String XML_REMOVEROW
 
static const casacore::String XML_TRUE
 
static const casacore::String XML_FALSE
 
static const casacore::String XML_ROW
 
static const casacore::String XML_NAME
 
static const casacore::String XML_ID
 
static const casacore::String XML_KEYWORD_NAME
 
static const casacore::String XML_KEYWORD_TYPE
 
static const casacore::String XML_KEYWORD_VAL
 
static const casacore::String XML_COLKW_COL
 
static const casacore::String XML_FIELD_NAME
 
static const casacore::String XML_FIELD_TYPE
 
static const casacore::String XML_FIELD_UNIT
 
static const casacore::String XML_FIELD_UCD
 
static const casacore::String XML_FIELD_REF
 
static const casacore::String XML_FIELD_PRECISION
 
static const casacore::String XML_FIELD_WIDTH
 
static const casacore::String ERROR_EMPTY
 Error text that is thrown/returned on an empty table or row. More...
 
static const casacore::String OPEN_TEXT_LOCAL
 Help descriptions used by TBConnection. More...
 
static const casacore::String OPEN_TEXT_REMOTE
 
static const casacore::String OPEN_TEXT_HOST
 
static const casacore::String OPEN_TEXT_PORT
 
static const casacore::String OPEN_TEXT_LOCATION
 
static const casacore::String OPEN_TEXT_DIRECT
 
static const casacore::String OPEN_TEXT_XML
 
static const casacore::String OPEN_TEXT_HOME
 
static const casacore::String OPEN_TEXT_DOM
 
static const casacore::String OPEN_TEXT_SAX
 
static const casacore::String OPEN_TEXT_START
 
static const casacore::String OPEN_TEXT_NUM
 
static const casacore::String HELP_DIR
 Constants for the help system. More...
 
static const casacore::String HELP_INDEX
 
static const casacore::String HELP_XML
 
static const casacore::String HELP_XML_HELP
 
static const casacore::String HELP_XML_CATEGORY
 
static const casacore::String HELP_XML_NAME
 
static const casacore::String HELP_XML_GROUP
 
static const casacore::String HELP_XML_ITEM
 
static const
Plotter::Implementation 
defaultPlotterImplementation
 Plotting defaults. More...
 
static const casacore::String VIEW_SAVE_LOC
 View constants. More...
 
static const casacore::String VIEW_DOCUMENT
 
static const casacore::String VIEW_VIEW
 
static const casacore::String VIEW_LASTDIR
 
static const casacore::String VIEW_HISTLIMIT
 
static const casacore::String VIEW_TABLE
 
static const casacore::String VIEW_LOCATION
 
static const casacore::String VIEW_SELECTED
 
static const casacore::String VIEW_TAQL
 
static const casacore::String VIEW_HIDDEN
 
static const casacore::String VIEW_HIDDEN_LENGTH
 
static const casacore::String VIEW_VISIND
 
static const casacore::String VIEW_ROWS
 
static const casacore::String VIEW_ROWS_FROM
 
static const casacore::String VIEW_ROWS_NUM
 
static const casacore::String VIEW_FILTER
 
static const casacore::String VIEW_FILTER_RULE
 
static const casacore::String VIEW_FILTER_RULE_FIELD
 
static const casacore::String VIEW_FILTER_RULE_COMPARATOR
 
static const casacore::String VIEW_FILTER_RULE_VALUE
 
static const casacore::String VIEW_FILTER_RULE_VALUE2
 
static const casacore::String VIEW_FILTER_RULE_NOT
 
static const casacore::String VIEW_FILTER_RULE_ANY
 
static const casacore::String VIEW_FILTER_RULE_TYPE
 
static const casacore::String VIEW_FORMATS
 
static const casacore::String VIEW_FORMAT
 
static const casacore::String VIEW_FORMAT_COL
 
static const casacore::String VIEW_FORMAT_DECIMALS
 
static const casacore::String VIEW_FORMAT_SFORMAT
 
static const casacore::String VIEW_FORMAT_BFORMAT
 
static const casacore::String VIEW_FORMAT_DFORMAT
 
static const casacore::String VIEW_FORMAT_VTHRESHOLD
 
static const casacore::String VIEW_FORMAT_ALLFONT
 
static const casacore::String VIEW_FORMAT_FONT
 
static const casacore::String VIEW_FORMAT_COLOR
 
static const casacore::String VIEW_FORMAT_FAMILY
 
static const casacore::String VIEW_FORMAT_SIZE
 
static const casacore::String VIEW_FORMAT_BOLD
 
static const casacore::String VIEW_FORMAT_ITALICS
 
static const casacore::String VIEW_FORMAT_ULINE
 
static const casacore::String VIEW_FORMAT_STRIKE
 
static const casacore::String VIEW_SORT
 
static const casacore::String VIEW_NAME
 
static const casacore::String VIEW_SORT_ASCENDING
 

Static Private Attributes

static casacore::String AIPS_PATH
 casacore::Path to the CASA top-level directory. More...
 
static const casacore::String OPEN_PAGE
 Common string in the TBConnection defaults. More...
 
static casacore::String DOT_CASAPY_DIR
 Holds the absolute location of the ~/.casa directory. More...
 

Detailed Description

Constants, defaults, and commonly-used functions for the table browser.

Synopsis

TBConstants contains definitions that may be common or useful to multiple classes.

Definition at line 145 of file TBConstants.h.

Member Function Documentation

static casacore::String casa::TBConstants::aipspath ( )
static

Returns the path of the CASA top-level directory.

This value is retrieved from the environment variables the first time it is called, and then returns the stored result on subsequent calls.

static std::vector<casacore::String>* casa::TBConstants::allTypes ( )
static

Unsupported types static const casacore::String TYPE_USHORT; static const casacore::String TYPE_ARRAY_USHORT; static const casacore::String TYPE_OTHER;.

Return a vector containing all the valid data types.

static casacore::String casa::TBConstants::arrayType ( casacore::String at)
static

Returns the value type from the given array type.

For example, arrayType(TYPE_ARRAY_STRING) = TYPE_STRING.

static std::vector<casacore::String>* casa::TBConstants::arrayTypes ( )
static

Return a vector containing all the valid array data types.

static int casa::TBConstants::atod ( casacore::String str,
double *  d 
)
static

Converts the given casacore::String into its double representation.

Returns the result of sscanf.

static int casa::TBConstants::atof ( casacore::String str,
float *  f 
)
static

Converts the given casacore::String into its float representation.

Returns the result of sscanf.

static int casa::TBConstants::atoi ( casacore::String str,
int *  i 
)
static

Converts the given casacore::String into its int representation.

Returns the result of sscanf.

static int casa::TBConstants::atosi ( casacore::String str,
short int *  i 
)
static

Converts the given casacore::String into its short int representation.

Returns the result of sscanf.

static int casa::TBConstants::atoui ( casacore::String str,
unsigned int *  i 
)
static

Converts the given casacore::String into its unsigned int representation.

Returns the result of sscanf.

static casacore::String casa::TBConstants::bFormToString ( tb::BooleanFormat  bf)
static

Returns the display value of the given BooleanFormat.

static casacore::String casa::TBConstants::compToString ( tb::Comparator  c)
static

Returns the display value of the given Comparator.

static double casa::TBConstants::date ( casacore::String  d)
static

Converts the given casacore::String in date format (year-month-day-hour:min:sec) to its double representation.

The double returned is in modified julian seconds.

static casacore::String casa::TBConstants::date ( const double  d,
const int  numDecimals = -1 
)
static

Converts the given double into a casacore::String in date format (year-month-day-hour:min:sec).

The input double should be in modified julian seconds.

static bool casa::TBConstants::dateFormatIsValid ( casacore::String d)
static

Returns true if the given casacore::String contains a valid date format, false otherwise.

A valid date format has y, m, d, n, and s appear exactly once. y = year, m = month, d = day of month, n = minute s = second; all fields are integers.

static PlotLinePtr casa::TBConstants::defaultPlotLine ( PlotFactoryPtr  factory)
static

Returns a default line to use with new plots, using the given factory (should match the implementation of defaultPlotterImplementation).

static PlotSymbolPtr casa::TBConstants::defaultPlotSymbol ( PlotFactoryPtr  factory)
static

Returns a default plot symbol to use with new plots, using the given factory (should match the implementation of defaultPlotterImplementation).

static casacore::String casa::TBConstants::dirFromPath ( casacore::String path)
static

Returns the directory from the given path (all but the last part of the path).

static casacore::String casa::TBConstants::dotCasapyDir ( )
static

Returns the absolute path of the ~/.casa directory.

This value is retrieved from the environment variables the first time it is called, and then returns the stored result on subsequent calls.

static void casa::TBConstants::dprint ( int  level,
casacore::String  message,
int  indentLevel = 0 
)
static

Print the given message to standard out with the given indentation level, IF the message's level is at or below the current debugThreshold.

static casacore::String casa::TBConstants::dtoa ( double  d,
int  decimals = -1,
bool  scientific = false 
)
static

Converts the given double into its casacore::String representation and returns it.

static bool casa::TBConstants::equalsIgnoreCase ( casacore::String  str1,
casacore::String  str2 
)
static

Returns true if the two Strings are equal (ignoring case), false otherwise.

static unsigned int casa::TBConstants::findIgnoreCase ( casacore::String str,
casacore::String find,
int  index = 0 
)
static

Returns the index of the next instance of the find casacore::String in the given casacore::String starting from the given index, or str's length if there is none.

static unsigned int casa::TBConstants::findWS ( casacore::String str,
int  index = 0 
)
static

Returns the index of the next instance of a whitespace character in the given casacore::String from the given index, or the string's length if there is none.

static casacore::String casa::TBConstants::formatValue ( casacore::String value,
casacore::String type 
)
static

Formats the given value for the given data type and returns the formatted value.

static casacore::String casa::TBConstants::ftoa ( float  f,
int  decimals = -1,
bool  scientific = false 
)
static

Converts the given float into its casacore::String representation and returns it.

static bool casa::TBConstants::increment ( casacore::IPosition shape,
casacore::IPosition d 
)
static

Increments the given dimension, using the given shape as a maximum.

static bool casa::TBConstants::increment ( std::vector< int > &  shape,
std::vector< int > &  d 
)
static

Increments the given dimension, using the given shape as a maximum.

static void casa::TBConstants::insert ( QFrame *  frame,
QWidget *  widget 
)
static

Inserts the given widget into the given placeholder frame.

static void casa::TBConstants::insert ( QFrame *  frame,
QLayout *  layout 
)
static

Inserts the given layout into the given placeholder frame.

static casacore::IPosition casa::TBConstants::ipos ( std::vector< int > &  d)
static

Converts a vector<int> to an IPosition.

static std::vector<int> casa::TBConstants::ipos ( casacore::IPosition d)
static

Converts an casacore::IPosition to a vector<int>.

static bool casa::TBConstants::isWS ( char  c)
static

Returns true if the given char is a whitespace, false otherwise.

static casacore::String casa::TBConstants::itoa ( int  n)
static

Converts the given int into its casacore::String representation and returns it.

static casacore::String casa::TBConstants::nameFromPath ( casacore::String path)
static

Returns the name of the file from the given path (the last part of the path).

static std::vector<casacore::String>* casa::TBConstants::nonArrayTypes ( )
static

Return a vector containing all the valid non-array data types.

static int casa::TBConstants::round ( double  d)
static

Rounds the given double to the nearest int and returns it.

static casacore::String casa::TBConstants::sitoa ( short int  n)
static

Converts the given short int into its casacore::String representation and returns it.

static tb::BooleanFormat casa::TBConstants::stringToBForm ( casacore::String  str)
static

Returns the BooleanFormat corresponding to the given display value.

static tb::Comparator casa::TBConstants::stringToComp ( casacore::String  str)
static

Returns the Comparator corresponding to the given display value.

static void casa::TBConstants::strtrim ( casacore::String str)
static

Trims the given casacore::String of its leading and trailing whitespace using casacore::String::erase().

static std::pair<double, double> casa::TBConstants::toComplex ( casacore::String  str)
static

Converts a casacore::String in complex format (a,b) into a pair of doubles.

static void casa::TBConstants::toLower ( casacore::String str)
static

Converts all upper-case letters to lower-case letters in the given String.

static bool casa::TBConstants::typeIsArray ( casacore::String type)
static

Returns true if the given type is an array type, false otherwise.

static bool casa::TBConstants::typeIsComplex ( casacore::String type)
static

Retruns true if the given type is a complex or array of complex types, false otherwise.

static bool casa::TBConstants::typeIsIndexable ( casacore::String type)
static

Returns true if the given type can be used as an index (i.e., integer-like), false otherwise.

static bool casa::TBConstants::typeIsNumberable ( casacore::String type)
static

Returns true if the given type is numberable, false otherwise.

static bool casa::TBConstants::typeIsPlottable ( casacore::String type)
static

Returns true if the given type is plottable, false otherwise.

static bool casa::TBConstants::typeIsTable ( casacore::String type)
static

Returns true if the given type is a table type, false otherwise.

static casacore::String casa::TBConstants::typeName ( casacore::DataType  dt)
static

Convert a CASA DataType enum to its casacore::String equivalent.

static casacore::String casa::TBConstants::typeName ( casacore::String  type)
static

Returns a human-readable name for the given type.

static casacore::String casa::TBConstants::uitoa ( unsigned int  n)
static

Converts the given unsigned int into its casacore::String representation and returns it.

static bool casa::TBConstants::valueIsValid ( casacore::String value,
casacore::String type 
)
static

Returns true if the given value is valid for the given type, false otherwise.

static double casa::TBConstants::valueToDouble ( casacore::String value,
casacore::String type 
)
static

Converts the given value of the given type to a double and return it.

Returns -1 for invalid doubles.

static casacore::String casa::TBConstants::VOType ( casacore::String type)
static

Converts the given type into its corresponding VOTable type.

See http://www.ivoa.net/Documents/REC/VOTable/VOTable-20040811.html#ToC11

static const XMLCh* casa::TBConstants::xstr ( char *  str)
static

Converts a char* to an XMLCh*.

See XMLString::transcode().

static const XMLCh* casa::TBConstants::xstr ( casacore::String  str)
static

Converts a casacore::String to an XMLCh*.

See XMLString::transcode().

static casacore::String casa::TBConstants::xstr ( XMLCh *  str)
static

Converts an XMLCh* to a String.

See XMLString::transcode().

static casacore::String casa::TBConstants::xstr ( const XMLCh *  str)
static

Converts a const XMLCh* to a String.

See XMLString::transcode().

Member Data Documentation

casacore::String casa::TBConstants::AIPS_PATH
staticprivate

casacore::Path to the CASA top-level directory.

Definition at line 600 of file TBConstants.h.

const casacore::String casa::TBConstants::ARRAY_AXES_LENGTHS
static

casacore::String used in parsing arrays.

Definition at line 364 of file TBConstants.h.

const casacore::String casa::TBConstants::COMMENT_DATE
static

The comments for casacore::Double fields that indicate that they should be interpreted as a date.

Definition at line 288 of file TBConstants.h.

const casacore::String casa::TBConstants::COMMENT_TIMP
static

Definition at line 289 of file TBConstants.h.

const casacore::String casa::TBConstants::COMMENT_TIMP2
static

Definition at line 290 of file TBConstants.h.

const int casa::TBConstants::DEBUG_HIGH
static

Definition at line 157 of file TBConstants.h.

const int casa::TBConstants::DEBUG_LOW
static

Definition at line 155 of file TBConstants.h.

const int casa::TBConstants::DEBUG_MED
static

Definition at line 156 of file TBConstants.h.

const int casa::TBConstants::DEBUG_OFF
static

Debug levels.

Definition at line 154 of file TBConstants.h.

int casa::TBConstants::debugThreshold
static

The current debug level.

Definition at line 150 of file TBConstants.h.

const int casa::TBConstants::DEFAULT_DATE_DECIMALS
static

Holds the default number of decimals displayed in a date.

Definition at line 352 of file TBConstants.h.

const int casa::TBConstants::DEFAULT_DECIMALS
static

Holds the default number of decimals displayed in a number.

Definition at line 349 of file TBConstants.h.

const unsigned int casa::TBConstants::DEFAULT_EXPORT_NUM
static

The default number of rows to load at a time while exporting.

Definition at line 171 of file TBConstants.h.

const unsigned int casa::TBConstants::DEFAULT_RECORD_VISIBLE_ROWS
static

Number of rows in an embedded record widget to show by default.

Definition at line 209 of file TBConstants.h.

const unsigned int casa::TBConstants::DEFAULT_ROW_INTERVAL
static

The default row interval for plotting.

Definition at line 180 of file TBConstants.h.

const unsigned int casa::TBConstants::DEFAULT_SELECT_NUM
static

The default number of rows to load from the table at a time.

Definition at line 168 of file TBConstants.h.

const Plotter::Implementation casa::TBConstants::defaultPlotterImplementation
static

Plotting defaults.

The default plotter implementation for the browser.

Definition at line 535 of file TBConstants.h.

casacore::String casa::TBConstants::DOT_CASAPY_DIR
staticprivate

Holds the absolute location of the ~/.casa directory.

Definition at line 606 of file TBConstants.h.

const casacore::String casa::TBConstants::ERROR_EMPTY
static

Error text that is thrown/returned on an empty table or row.

Definition at line 405 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_DIR
static

Constants for the help system.

Definition at line 518 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_INDEX
static

Definition at line 519 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_XML
static

Definition at line 520 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_XML_CATEGORY
static

Definition at line 522 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_XML_GROUP
static

Definition at line 524 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_XML_HELP
static

Definition at line 521 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_XML_ITEM
static

Definition at line 525 of file TBConstants.h.

const casacore::String casa::TBConstants::HELP_XML_NAME
static

Definition at line 523 of file TBConstants.h.

const unsigned int casa::TBConstants::MAX_ACTION_BUFFER
static

The maximum number of actions to keep in action lists.

Definition at line 177 of file TBConstants.h.

const unsigned int casa::TBConstants::MAX_SELECT_NUM
static

The maximum number of rows to load from the table at a time.

Definition at line 174 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_PAGE
staticprivate

Common string in the TBConnection defaults.

Definition at line 603 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_DIRECT
static

Definition at line 504 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_DOM
static

Definition at line 507 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_HOME
static

Definition at line 506 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_HOST
static

Definition at line 501 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_LOCAL
static

Help descriptions used by TBConnection.

Definition at line 499 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_LOCATION
static

Definition at line 503 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_NUM
static

Definition at line 510 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_PORT
static

Definition at line 502 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_REMOTE
static

Definition at line 500 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_SAX
static

Definition at line 508 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_START
static

Definition at line 509 of file TBConstants.h.

const casacore::String casa::TBConstants::OPEN_TEXT_XML
static

Definition at line 505 of file TBConstants.h.

const casacore::String casa::TBConstants::QUERY_ARRAY
static

Definition at line 185 of file TBConstants.h.

const casacore::String casa::TBConstants::QUERY_FULL
static

Definition at line 187 of file TBConstants.h.

const casacore::String casa::TBConstants::QUERY_QUERY
static

Kinds of queries that can be sent to the table through the TBXMLDriver.

Definition at line 184 of file TBConstants.h.

const casacore::String casa::TBConstants::QUERY_UPDATE
static

Definition at line 186 of file TBConstants.h.

const int casa::TBConstants::SLICER_COL_AXIS
static

Definition at line 205 of file TBConstants.h.

const int casa::TBConstants::SLICER_ROW_AXIS
static

Constants used for an array slicer.

See TBSlicer.

Definition at line 204 of file TBConstants.h.

const casacore::String casa::TBConstants::TYPE_ARRAY_BOOL
static

Definition at line 264 of file TBConstants.h.

Referenced by casa::TBArrayDataBool::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_CHAR
static

Definition at line 265 of file TBConstants.h.

Referenced by casa::TBArrayDataChar::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_COMPLEX
static

Definition at line 268 of file TBConstants.h.

Referenced by casa::TBArrayDataComplex::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_DCOMPLEX
static

Definition at line 269 of file TBConstants.h.

Referenced by casa::TBArrayDataDComplex::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_DOUBLE
static

Definition at line 260 of file TBConstants.h.

Referenced by casa::TBArrayDataDouble::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_FLOAT
static

Definition at line 261 of file TBConstants.h.

Referenced by casa::TBArrayDataFloat::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_INT
static

Definition at line 262 of file TBConstants.h.

Referenced by casa::TBArrayDataInt::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_SHORT
static

Definition at line 267 of file TBConstants.h.

Referenced by casa::TBArrayDataShort::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_STRING
static

Definition at line 259 of file TBConstants.h.

Referenced by casa::TBArrayDataString::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_UCHAR
static

Definition at line 266 of file TBConstants.h.

Referenced by casa::TBArrayDataUChar::getType().

const casacore::String casa::TBConstants::TYPE_ARRAY_UINT
static

Definition at line 263 of file TBConstants.h.

Referenced by casa::TBArrayDataUInt::getType().

const casacore::String casa::TBConstants::TYPE_BOOL
static

Definition at line 249 of file TBConstants.h.

Referenced by casa::TBDataBool::getType().

const casacore::String casa::TBConstants::TYPE_CHAR
static

Definition at line 250 of file TBConstants.h.

Referenced by casa::TBDataChar::getType().

const casacore::String casa::TBConstants::TYPE_COMPLEX
static

Definition at line 253 of file TBConstants.h.

Referenced by casa::TBDataComplex::getType().

const casacore::String casa::TBConstants::TYPE_DATE
static

Definition at line 257 of file TBConstants.h.

Referenced by casa::TBDataDate::getType().

const casacore::String casa::TBConstants::TYPE_DCOMPLEX
static

Definition at line 254 of file TBConstants.h.

Referenced by casa::TBDataDComplex::getType().

const casacore::String casa::TBConstants::TYPE_DOUBLE
static

Definition at line 245 of file TBConstants.h.

Referenced by casa::TBDataDouble::getType().

const casacore::String casa::TBConstants::TYPE_FLOAT
static

Definition at line 246 of file TBConstants.h.

Referenced by casa::TBDataFloat::getType().

const casacore::String casa::TBConstants::TYPE_INT
static

Definition at line 247 of file TBConstants.h.

Referenced by casa::TBDataInt::getType().

const casacore::String casa::TBConstants::TYPE_RECORD
static

Definition at line 256 of file TBConstants.h.

Referenced by casa::TBDataRecord::getType().

const casacore::String casa::TBConstants::TYPE_SHORT
static

Definition at line 252 of file TBConstants.h.

Referenced by casa::TBDataShort::getType().

const casacore::String casa::TBConstants::TYPE_STRING
static

casacore::Table data types.

Definition at line 244 of file TBConstants.h.

Referenced by casa::TBDataString::getType().

const casacore::String casa::TBConstants::TYPE_TABLE
static

Definition at line 255 of file TBConstants.h.

Referenced by casa::TBDataTable::getType().

const casacore::String casa::TBConstants::TYPE_UCHAR
static

Definition at line 251 of file TBConstants.h.

Referenced by casa::TBDataUChar::getType().

const casacore::String casa::TBConstants::TYPE_UINT
static

Definition at line 248 of file TBConstants.h.

Referenced by casa::TBDataUInt::getType().

const casacore::String casa::TBConstants::VIEW_DOCUMENT
static

Definition at line 553 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER
static

Definition at line 567 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE
static

Definition at line 568 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_ANY
static

Definition at line 574 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_COMPARATOR
static

Definition at line 570 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_FIELD
static

Definition at line 569 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_NOT
static

Definition at line 573 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_TYPE
static

Definition at line 575 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_VALUE
static

Definition at line 571 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FILTER_RULE_VALUE2
static

Definition at line 572 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT
static

Definition at line 577 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_ALLFONT
static

Definition at line 584 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_BFORMAT
static

Definition at line 581 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_BOLD
static

Definition at line 589 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_COL
static

Definition at line 578 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_COLOR
static

Definition at line 586 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_DECIMALS
static

Definition at line 579 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_DFORMAT
static

Definition at line 582 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_FAMILY
static

Definition at line 587 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_FONT
static

Definition at line 585 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_ITALICS
static

Definition at line 590 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_SFORMAT
static

Definition at line 580 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_SIZE
static

Definition at line 588 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_STRIKE
static

Definition at line 592 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_ULINE
static

Definition at line 591 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMAT_VTHRESHOLD
static

Definition at line 583 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_FORMATS
static

Definition at line 576 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_HIDDEN
static

Definition at line 561 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_HIDDEN_LENGTH
static

Definition at line 562 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_HISTLIMIT
static

Definition at line 556 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_LASTDIR
static

Definition at line 555 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_LOCATION
static

Definition at line 558 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_NAME
static

Definition at line 594 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_ROWS
static

Definition at line 564 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_ROWS_FROM
static

Definition at line 565 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_ROWS_NUM
static

Definition at line 566 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_SAVE_LOC
static

View constants.

Definition at line 551 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_SELECTED
static

Definition at line 559 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_SORT
static

Definition at line 593 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_SORT_ASCENDING
static

Definition at line 595 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_TABLE
static

Definition at line 557 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_TAQL
static

Definition at line 560 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_VIEW
static

Definition at line 554 of file TBConstants.h.

const casacore::String casa::TBConstants::VIEW_VISIND
static

Definition at line 563 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_COLKW_COL
static

Definition at line 394 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_COLUMNKW
static

Definition at line 377 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_DATA
static

Definition at line 379 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FALSE
static

Definition at line 386 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD
static

Definition at line 375 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_NAME
static

Definition at line 395 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_PRECISION
static

Definition at line 400 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_REF
static

Definition at line 399 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_TYPE
static

Definition at line 396 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_UCD
static

Definition at line 398 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_UNIT
static

Definition at line 397 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_FIELD_WIDTH
static

Definition at line 401 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_ID
static

Definition at line 390 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_INSERTROW
static

Definition at line 383 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_KEYWORD
static

Definition at line 376 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_KEYWORD_NAME
static

Definition at line 391 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_KEYWORD_TYPE
static

Definition at line 392 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_KEYWORD_VAL
static

Definition at line 393 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_NAME
static

Definition at line 388 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_REMOVEROW
static

Definition at line 384 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_RESOURCE
static

Definition at line 372 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_ROW
static

Definition at line 387 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_RWINFO
static

Definition at line 378 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_TABLE
static

Definition at line 373 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_TABLEDATA
static

Definition at line 380 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_TD
static

Definition at line 382 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_TOTAL
static

Definition at line 374 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_TR
static

Definition at line 381 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_TRUE
static

Definition at line 385 of file TBConstants.h.

const casacore::String casa::TBConstants::XML_VOTABLE
static

XML token names that are used in table parsing.

Definition at line 371 of file TBConstants.h.


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