Constants, defaults, and commonly-used functions for the table browser. More...
#include <TBConstants.h>
Static Public Member Functions | |
static void | dprint (int level, 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. | |
static String | compToString (tb::Comparator c) |
Returns the display value of the given Comparator. | |
static tb::Comparator | stringToComp (String str) |
Returns the Comparator corresponding to the given display value. | |
static String | bFormToString (tb::BooleanFormat bf) |
Returns the display value of the given BooleanFormat. | |
static tb::BooleanFormat | stringToBForm (String str) |
Returns the BooleanFormat corresponding to the given display value. | |
static String | aipspath () |
Returns the path of the CASA top-level directory. | |
static String | dotCasapyDir () |
Returns the absolute path of the ~/.casa directory. | |
static IPosition | ipos (std::vector< int > &d) |
Converts a vector<int> to an IPosition. | |
static std::vector< int > | ipos (IPosition &d) |
Converts an IPosition to a vector<int>. | |
static bool | increment (IPosition &shape, IPosition &d) |
Increments the given dimension, using the given shape as a maximum. | |
static bool | increment (std::vector< int > &shape, std::vector< int > &d) |
Increments the given dimension, using the given shape as a maximum. | |
static void | insert (QFrame *frame, QWidget *widget) |
Inserts the given widget into the given placeholder frame. | |
static void | insert (QFrame *frame, QLayout *layout) |
Inserts the given layout into the given placeholder frame. | |
static std::vector< String > * | allTypes () |
Unsupported types static const String TYPE_USHORT; static const String TYPE_ARRAY_USHORT; static const String TYPE_OTHER;. | |
static std::vector< String > * | arrayTypes () |
Return a vector containing all the valid array data types. | |
static std::vector< String > * | nonArrayTypes () |
Return a vector containing all the valid non-array data types. | |
static String | typeName (DataType dt) |
Convert a CASA DataType enum to its String equivalent. | |
static String | typeName (String type) |
Returns a human-readable name for the given type. | |
static String | VOType (String &type) |
Converts the given type into its corresponding VOTable type. | |
static bool | typeIsTable (String &type) |
Returns true if the given type is a table type, false otherwise. | |
static bool | typeIsArray (String &type) |
Returns true if the given type is an array type, false otherwise. | |
static bool | typeIsPlottable (String &type) |
Returns true if the given type is plottable, false otherwise. | |
static bool | typeIsNumberable (String &type) |
Returns true if the given type is numberable, false otherwise. | |
static bool | typeIsIndexable (String &type) |
Returns true if the given type can be used as an index (i.e., integer-like), false otherwise. | |
static bool | typeIsComplex (String &type) |
Retruns true if the given type is a complex or array of complex types, false otherwise. | |
static String | arrayType (String &at) |
Returns the value type from the given array type. | |
static bool | valueIsValid (String &value, String &type) |
Returns true if the given value is valid for the given type, false otherwise. | |
static String | formatValue (String &value, String &type) |
Formats the given value for the given data type and returns the formatted value. | |
static double | valueToDouble (String &value, String &type) |
Converts the given value of the given type to a double and return it. | |
static double | date (String d) |
Converts the given String in date format (year-month-day-hour:min:sec) to its double representation. | |
static String | date (const double d, const int numDecimals=-1) |
Converts the given double into a String in date format (year-month-day-hour:min:sec). | |
static bool | dateFormatIsValid (String &d) |
Returns true if the given String contains a valid date format, false otherwise. | |
static std::pair< double, double > | toComplex (String str) |
Converts a String in complex format (a,b) into a pair of doubles. | |
static const XMLCh * | xstr (char *str) |
Converts a char* to an XMLCh*. | |
static const XMLCh * | xstr (String str) |
Converts a String to an XMLCh*. | |
static String | xstr (XMLCh *str) |
Converts an XMLCh* to a String. | |
static String | xstr (const XMLCh *str) |
Converts a const XMLCh* to a String. | |
static String | itoa (int n) |
Converts the given int into its String representation and returns it. | |
static String | uitoa (unsigned int n) |
Converts the given unsigned int into its String representation and returns it. | |
static String | sitoa (short int n) |
Converts the given short int into its String representation and returns it. | |
static String | ftoa (float f, int decimals=-1, bool scientific=false) |
Converts the given float into its String representation and returns it. | |
static String | dtoa (double d, int decimals=-1, bool scientific=false) |
Converts the given double into its String representation and returns it. | |
static int | atoi (String &str, int *i) |
Converts the given String into its int representation. | |
static int | atoui (String &str, unsigned int *i) |
Converts the given String into its unsigned int representation. | |
static int | atosi (String &str, short int *i) |
Converts the given String into its short int representation. | |
static int | atof (String &str, float *f) |
Converts the given String into its float representation. | |
static int | atod (String &str, double *d) |
Converts the given String into its double representation. | |
static int | round (double d) |
Rounds the given double to the nearest int and returns it. | |
static bool | isWS (char c) |
Returns true if the given char is a whitespace, false otherwise. | |
static void | strtrim (String &str) |
Trims the given String of its leading and trailing whitespace using String::erase(). | |
static void | toLower (String &str) |
Converts all upper-case letters to lower-case letters in the given String. | |
static unsigned int | findWS (String &str, int index=0) |
Returns the index of the next instance of a whitespace character in the given String from the given index, or the string's length if there is none. | |
static unsigned int | findIgnoreCase (String &str, String &find, int index=0) |
Returns the index of the next instance of the find String in the given String starting from the given index, or str's length if there is none. | |
static bool | equalsIgnoreCase (String str1, String str2) |
Returns true if the two Strings are equal (ignoring case), false otherwise. | |
static String | nameFromPath (String &path) |
Returns the name of the file from the given path (the last part of the path). | |
static String | dirFromPath (String &path) |
Returns the directory from the given path (all but the last part of the path). | |
static PlotLinePtr | defaultPlotLine (PlotFactoryPtr factory) |
Returns a default line to use with new plots, using the given factory (should match the implementation of defaultPlotterImplementation). | |
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). | |
Static Public Attributes | |
static int | debugThreshold |
The current debug level. | |
static const int | DEBUG_OFF |
Debug levels. | |
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. | |
static const unsigned int | DEFAULT_EXPORT_NUM |
The default number of rows to load at a time while exporting. | |
static const unsigned int | MAX_SELECT_NUM |
The maximum number of rows to load from the table at a time. | |
static const unsigned int | MAX_ACTION_BUFFER |
The maximum number of actions to keep in action lists. | |
static const unsigned int | DEFAULT_ROW_INTERVAL |
The default row interval for plotting. | |
static const String | QUERY_QUERY |
Kinds of queries that can be sent to the table through the TBXMLDriver. | |
static const String | QUERY_ARRAY |
static const String | QUERY_UPDATE |
static const String | QUERY_FULL |
static const int | SLICER_ROW_AXIS |
Constants used for an array slicer. | |
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. | |
static const String | TYPE_STRING |
Table data types. | |
static const String | TYPE_DOUBLE |
static const String | TYPE_FLOAT |
static const String | TYPE_INT |
static const String | TYPE_UINT |
static const String | TYPE_BOOL |
static const String | TYPE_CHAR |
static const String | TYPE_UCHAR |
static const String | TYPE_SHORT |
static const String | TYPE_COMPLEX |
static const String | TYPE_DCOMPLEX |
static const String | TYPE_TABLE |
static const String | TYPE_RECORD |
static const String | TYPE_DATE |
static const String | TYPE_ARRAY_STRING |
static const String | TYPE_ARRAY_DOUBLE |
static const String | TYPE_ARRAY_FLOAT |
static const String | TYPE_ARRAY_INT |
static const String | TYPE_ARRAY_UINT |
static const String | TYPE_ARRAY_BOOL |
static const String | TYPE_ARRAY_CHAR |
static const String | TYPE_ARRAY_UCHAR |
static const String | TYPE_ARRAY_SHORT |
static const String | TYPE_ARRAY_COMPLEX |
static const String | TYPE_ARRAY_DCOMPLEX |
static const String | COMMENT_DATE |
The comments for Double fields that indicate that they should be interpreted as a date. | |
static const String | COMMENT_TIMP |
static const String | COMMENT_TIMP2 |
static const int | DEFAULT_DECIMALS |
Holds the default number of decimals displayed in a number. | |
static const int | DEFAULT_DATE_DECIMALS |
Holds the default number of decimals displayed in a date. | |
static const String | ARRAY_AXES_LENGTHS |
String used in parsing arrays. | |
static const String | XML_VOTABLE |
XML token names that are used in table parsing. | |
static const String | XML_RESOURCE |
static const String | XML_TABLE |
static const String | XML_TOTAL |
static const String | XML_FIELD |
static const String | XML_KEYWORD |
static const String | XML_COLUMNKW |
static const String | XML_RWINFO |
static const String | XML_DATA |
static const String | XML_TABLEDATA |
static const String | XML_TR |
static const String | XML_TD |
static const String | XML_INSERTROW |
static const String | XML_REMOVEROW |
static const String | XML_TRUE |
static const String | XML_FALSE |
static const String | XML_ROW |
static const String | XML_NAME |
static const String | XML_ID |
static const String | XML_KEYWORD_NAME |
static const String | XML_KEYWORD_TYPE |
static const String | XML_KEYWORD_VAL |
static const String | XML_COLKW_COL |
static const String | XML_FIELD_NAME |
static const String | XML_FIELD_TYPE |
static const String | XML_FIELD_UNIT |
static const String | XML_FIELD_UCD |
static const String | XML_FIELD_REF |
static const String | XML_FIELD_PRECISION |
static const String | XML_FIELD_WIDTH |
static const String | ERROR_EMPTY |
Error text that is thrown/returned on an empty table or row. | |
static const String | OPEN_TEXT_LOCAL |
Help descriptions used by TBConnection. | |
static const String | OPEN_TEXT_REMOTE |
static const String | OPEN_TEXT_HOST |
static const String | OPEN_TEXT_PORT |
static const String | OPEN_TEXT_LOCATION |
static const String | OPEN_TEXT_DIRECT |
static const String | OPEN_TEXT_XML |
static const String | OPEN_TEXT_HOME |
static const String | OPEN_TEXT_DOM |
static const String | OPEN_TEXT_SAX |
static const String | OPEN_TEXT_START |
static const String | OPEN_TEXT_NUM |
static const String | HELP_DIR |
Constants for the help system. | |
static const String | HELP_INDEX |
static const String | HELP_XML |
static const String | HELP_XML_HELP |
static const String | HELP_XML_CATEGORY |
static const String | HELP_XML_NAME |
static const String | HELP_XML_GROUP |
static const String | HELP_XML_ITEM |
static const Plotter::Implementation | defaultPlotterImplementation |
Plotting defaults. | |
static const String | VIEW_SAVE_LOC |
View constants. | |
static const String | VIEW_DOCUMENT |
static const String | VIEW_VIEW |
static const String | VIEW_LASTDIR |
static const String | VIEW_HISTLIMIT |
static const String | VIEW_TABLE |
static const String | VIEW_LOCATION |
static const String | VIEW_SELECTED |
static const String | VIEW_TAQL |
static const String | VIEW_HIDDEN |
static const String | VIEW_HIDDEN_LENGTH |
static const String | VIEW_VISIND |
static const String | VIEW_ROWS |
static const String | VIEW_ROWS_FROM |
static const String | VIEW_ROWS_NUM |
static const String | VIEW_FILTER |
static const String | VIEW_FILTER_RULE |
static const String | VIEW_FILTER_RULE_FIELD |
static const String | VIEW_FILTER_RULE_COMPARATOR |
static const String | VIEW_FILTER_RULE_VALUE |
static const String | VIEW_FILTER_RULE_VALUE2 |
static const String | VIEW_FILTER_RULE_NOT |
static const String | VIEW_FILTER_RULE_ANY |
static const String | VIEW_FILTER_RULE_TYPE |
static const String | VIEW_FORMATS |
static const String | VIEW_FORMAT |
static const String | VIEW_FORMAT_COL |
static const String | VIEW_FORMAT_DECIMALS |
static const String | VIEW_FORMAT_SFORMAT |
static const String | VIEW_FORMAT_BFORMAT |
static const String | VIEW_FORMAT_DFORMAT |
static const String | VIEW_FORMAT_VTHRESHOLD |
static const String | VIEW_FORMAT_ALLFONT |
static const String | VIEW_FORMAT_FONT |
static const String | VIEW_FORMAT_COLOR |
static const String | VIEW_FORMAT_FAMILY |
static const String | VIEW_FORMAT_SIZE |
static const String | VIEW_FORMAT_BOLD |
static const String | VIEW_FORMAT_ITALICS |
static const String | VIEW_FORMAT_ULINE |
static const String | VIEW_FORMAT_STRIKE |
static const String | VIEW_SORT |
static const String | VIEW_NAME |
static const String | VIEW_SORT_ASCENDING |
Static Private Attributes | |
static String | AIPS_PATH |
Path to the CASA top-level directory. | |
static const String | OPEN_PAGE |
Common string in the TBConnection defaults. | |
static String | DOT_CASAPY_DIR |
Holds the absolute location of the ~/.casa directory. |
Constants, defaults, and commonly-used functions for the table browser.
TBConstants contains definitions that may be common or useful to multiple classes.
Definition at line 145 of file TBConstants.h.
static 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<String>* casa::TBConstants::allTypes | ( | ) | [static] |
Unsupported types static const String TYPE_USHORT; static const String TYPE_ARRAY_USHORT; static const String TYPE_OTHER;.
Return a vector containing all the valid data types.
static String casa::TBConstants::arrayType | ( | String & | at | ) | [static] |
Returns the value type from the given array type.
For example, arrayType(TYPE_ARRAY_STRING) = TYPE_STRING.
static std::vector<String>* casa::TBConstants::arrayTypes | ( | ) | [static] |
Return a vector containing all the valid array data types.
static int casa::TBConstants::atod | ( | String & | str, | |
double * | d | |||
) | [static] |
Converts the given String into its double representation.
Returns the result of sscanf.
static int casa::TBConstants::atof | ( | String & | str, | |
float * | f | |||
) | [static] |
Converts the given String into its float representation.
Returns the result of sscanf.
static int casa::TBConstants::atoi | ( | String & | str, | |
int * | i | |||
) | [static] |
Converts the given String into its int representation.
Returns the result of sscanf.
static int casa::TBConstants::atosi | ( | String & | str, | |
short int * | i | |||
) | [static] |
Converts the given String into its short int representation.
Returns the result of sscanf.
static int casa::TBConstants::atoui | ( | String & | str, | |
unsigned int * | i | |||
) | [static] |
Converts the given String into its unsigned int representation.
Returns the result of sscanf.
static String casa::TBConstants::bFormToString | ( | tb::BooleanFormat | bf | ) | [static] |
Returns the display value of the given BooleanFormat.
static String casa::TBConstants::compToString | ( | tb::Comparator | c | ) | [static] |
Returns the display value of the given Comparator.
static String casa::TBConstants::date | ( | const double | d, | |
const int | numDecimals = -1 | |||
) | [static] |
Converts the given double into a String in date format (year-month-day-hour:min:sec).
The input double should be in modified julian seconds.
static double casa::TBConstants::date | ( | String | d | ) | [static] |
Converts the given String in date format (year-month-day-hour:min:sec) to its double representation.
The double returned is in modified julian seconds.
static bool casa::TBConstants::dateFormatIsValid | ( | String & | d | ) | [static] |
Returns true if the given 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 String casa::TBConstants::dirFromPath | ( | String & | path | ) | [static] |
Returns the directory from the given path (all but the last part of the path).
static 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, | |
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 String casa::TBConstants::dtoa | ( | double | d, | |
int | decimals = -1 , |
|||
bool | scientific = false | |||
) | [static] |
Converts the given double into its String representation and returns it.
static bool casa::TBConstants::equalsIgnoreCase | ( | String | str1, | |
String | str2 | |||
) | [static] |
Returns true if the two Strings are equal (ignoring case), false otherwise.
static unsigned int casa::TBConstants::findIgnoreCase | ( | String & | str, | |
String & | find, | |||
int | index = 0 | |||
) | [static] |
Returns the index of the next instance of the find String in the given String starting from the given index, or str's length if there is none.
static unsigned int casa::TBConstants::findWS | ( | String & | str, | |
int | index = 0 | |||
) | [static] |
Returns the index of the next instance of a whitespace character in the given String from the given index, or the string's length if there is none.
static String casa::TBConstants::formatValue | ( | String & | value, | |
String & | type | |||
) | [static] |
Formats the given value for the given data type and returns the formatted value.
static String casa::TBConstants::ftoa | ( | float | f, | |
int | decimals = -1 , |
|||
bool | scientific = false | |||
) | [static] |
Converts the given float into its String representation and returns it.
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 bool casa::TBConstants::increment | ( | IPosition & | shape, | |
IPosition & | d | |||
) | [static] |
Increments the given dimension, using the given shape as a maximum.
static void casa::TBConstants::insert | ( | QFrame * | frame, | |
QLayout * | layout | |||
) | [static] |
Inserts the given layout into the given placeholder frame.
static void casa::TBConstants::insert | ( | QFrame * | frame, | |
QWidget * | widget | |||
) | [static] |
Inserts the given widget into the given placeholder frame.
static std::vector<int> casa::TBConstants::ipos | ( | IPosition & | d | ) | [static] |
Converts an IPosition to a vector<int>.
static IPosition casa::TBConstants::ipos | ( | std::vector< int > & | d | ) | [static] |
Converts a vector<int> to an IPosition.
static bool casa::TBConstants::isWS | ( | char | c | ) | [static] |
Returns true if the given char is a whitespace, false otherwise.
static String casa::TBConstants::itoa | ( | int | n | ) | [static] |
Converts the given int into its String representation and returns it.
static String casa::TBConstants::nameFromPath | ( | String & | path | ) | [static] |
Returns the name of the file from the given path (the last part of the path).
static std::vector<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 String casa::TBConstants::sitoa | ( | short int | n | ) | [static] |
Converts the given short int into its String representation and returns it.
static tb::BooleanFormat casa::TBConstants::stringToBForm | ( | String | str | ) | [static] |
Returns the BooleanFormat corresponding to the given display value.
static tb::Comparator casa::TBConstants::stringToComp | ( | String | str | ) | [static] |
Returns the Comparator corresponding to the given display value.
static void casa::TBConstants::strtrim | ( | String & | str | ) | [static] |
Trims the given String of its leading and trailing whitespace using String::erase().
static std::pair<double, double> casa::TBConstants::toComplex | ( | String | str | ) | [static] |
Converts a String in complex format (a,b) into a pair of doubles.
static void casa::TBConstants::toLower | ( | String & | str | ) | [static] |
Converts all upper-case letters to lower-case letters in the given String.
static bool casa::TBConstants::typeIsArray | ( | String & | type | ) | [static] |
Returns true if the given type is an array type, false otherwise.
static bool casa::TBConstants::typeIsComplex | ( | String & | type | ) | [static] |
Retruns true if the given type is a complex or array of complex types, false otherwise.
static bool casa::TBConstants::typeIsIndexable | ( | 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 | ( | String & | type | ) | [static] |
Returns true if the given type is numberable, false otherwise.
static bool casa::TBConstants::typeIsPlottable | ( | String & | type | ) | [static] |
Returns true if the given type is plottable, false otherwise.
static bool casa::TBConstants::typeIsTable | ( | String & | type | ) | [static] |
Returns true if the given type is a table type, false otherwise.
static String casa::TBConstants::typeName | ( | String | type | ) | [static] |
Returns a human-readable name for the given type.
static String casa::TBConstants::typeName | ( | DataType | dt | ) | [static] |
Convert a CASA DataType enum to its String equivalent.
static String casa::TBConstants::uitoa | ( | unsigned int | n | ) | [static] |
Converts the given unsigned int into its String representation and returns it.
static bool casa::TBConstants::valueIsValid | ( | String & | value, | |
String & | type | |||
) | [static] |
Returns true if the given value is valid for the given type, false otherwise.
static double casa::TBConstants::valueToDouble | ( | String & | value, | |
String & | type | |||
) | [static] |
Converts the given value of the given type to a double and return it.
Returns -1 for invalid doubles.
static String casa::TBConstants::VOType | ( | 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 String casa::TBConstants::xstr | ( | const XMLCh * | str | ) | [static] |
Converts a const XMLCh* to a String.
See XMLString::transcode().
static String casa::TBConstants::xstr | ( | XMLCh * | str | ) | [static] |
Converts an XMLCh* to a String.
See XMLString::transcode().
static const XMLCh* casa::TBConstants::xstr | ( | String | str | ) | [static] |
Converts a String to an XMLCh*.
See XMLString::transcode().
static const XMLCh* casa::TBConstants::xstr | ( | char * | str | ) | [static] |
Converts a char* to an XMLCh*.
See XMLString::transcode().
String casa::TBConstants::AIPS_PATH [static, private] |
Path to the CASA top-level directory.
Definition at line 600 of file TBConstants.h.
const String casa::TBConstants::ARRAY_AXES_LENGTHS [static] |
String used in parsing arrays.
Definition at line 364 of file TBConstants.h.
const String casa::TBConstants::COMMENT_DATE [static] |
The comments for Double fields that indicate that they should be interpreted as a date.
Definition at line 288 of file TBConstants.h.
const String casa::TBConstants::COMMENT_TIMP [static] |
Definition at line 289 of file TBConstants.h.
const 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.
Plotting defaults.
The default plotter implementation for the browser.
Definition at line 535 of file TBConstants.h.
String casa::TBConstants::DOT_CASAPY_DIR [static, private] |
Holds the absolute location of the ~/.casa directory.
Definition at line 606 of file TBConstants.h.
const 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 String casa::TBConstants::HELP_DIR [static] |
Constants for the help system.
Definition at line 518 of file TBConstants.h.
const String casa::TBConstants::HELP_INDEX [static] |
Definition at line 519 of file TBConstants.h.
const String casa::TBConstants::HELP_XML [static] |
Definition at line 520 of file TBConstants.h.
const String casa::TBConstants::HELP_XML_CATEGORY [static] |
Definition at line 522 of file TBConstants.h.
const String casa::TBConstants::HELP_XML_GROUP [static] |
Definition at line 524 of file TBConstants.h.
const String casa::TBConstants::HELP_XML_HELP [static] |
Definition at line 521 of file TBConstants.h.
const String casa::TBConstants::HELP_XML_ITEM [static] |
Definition at line 525 of file TBConstants.h.
const 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 String casa::TBConstants::OPEN_PAGE [static, private] |
Common string in the TBConnection defaults.
Definition at line 603 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_DIRECT [static] |
Definition at line 504 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_DOM [static] |
Definition at line 507 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_HOME [static] |
Definition at line 506 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_HOST [static] |
Definition at line 501 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_LOCAL [static] |
Help descriptions used by TBConnection.
Definition at line 499 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_LOCATION [static] |
Definition at line 503 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_NUM [static] |
Definition at line 510 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_PORT [static] |
Definition at line 502 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_REMOTE [static] |
Definition at line 500 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_SAX [static] |
Definition at line 508 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_START [static] |
Definition at line 509 of file TBConstants.h.
const String casa::TBConstants::OPEN_TEXT_XML [static] |
Definition at line 505 of file TBConstants.h.
const String casa::TBConstants::QUERY_ARRAY [static] |
Definition at line 185 of file TBConstants.h.
const String casa::TBConstants::QUERY_FULL [static] |
Definition at line 187 of file TBConstants.h.
const 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 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] |
const String casa::TBConstants::TYPE_ARRAY_BOOL [static] |
Definition at line 264 of file TBConstants.h.
Referenced by casa::TBArrayDataBool::getType().
const String casa::TBConstants::TYPE_ARRAY_CHAR [static] |
Definition at line 265 of file TBConstants.h.
Referenced by casa::TBArrayDataChar::getType().
const String casa::TBConstants::TYPE_ARRAY_COMPLEX [static] |
Definition at line 268 of file TBConstants.h.
Referenced by casa::TBArrayDataComplex::getType().
const String casa::TBConstants::TYPE_ARRAY_DCOMPLEX [static] |
Definition at line 269 of file TBConstants.h.
Referenced by casa::TBArrayDataDComplex::getType().
const String casa::TBConstants::TYPE_ARRAY_DOUBLE [static] |
Definition at line 260 of file TBConstants.h.
Referenced by casa::TBArrayDataDouble::getType().
const String casa::TBConstants::TYPE_ARRAY_FLOAT [static] |
Definition at line 261 of file TBConstants.h.
Referenced by casa::TBArrayDataFloat::getType().
const String casa::TBConstants::TYPE_ARRAY_INT [static] |
Definition at line 262 of file TBConstants.h.
Referenced by casa::TBArrayDataInt::getType().
const String casa::TBConstants::TYPE_ARRAY_SHORT [static] |
Definition at line 267 of file TBConstants.h.
Referenced by casa::TBArrayDataShort::getType().
const String casa::TBConstants::TYPE_ARRAY_STRING [static] |
Definition at line 259 of file TBConstants.h.
Referenced by casa::TBArrayDataString::getType().
const String casa::TBConstants::TYPE_ARRAY_UCHAR [static] |
Definition at line 266 of file TBConstants.h.
Referenced by casa::TBArrayDataUChar::getType().
const String casa::TBConstants::TYPE_ARRAY_UINT [static] |
Definition at line 263 of file TBConstants.h.
Referenced by casa::TBArrayDataUInt::getType().
const String casa::TBConstants::TYPE_BOOL [static] |
Definition at line 249 of file TBConstants.h.
Referenced by casa::TBDataBool::getType().
const String casa::TBConstants::TYPE_CHAR [static] |
Definition at line 250 of file TBConstants.h.
Referenced by casa::TBDataChar::getType().
const String casa::TBConstants::TYPE_COMPLEX [static] |
Definition at line 253 of file TBConstants.h.
Referenced by casa::TBDataComplex::getType().
const String casa::TBConstants::TYPE_DATE [static] |
Definition at line 257 of file TBConstants.h.
Referenced by casa::TBDataDate::getType().
const String casa::TBConstants::TYPE_DCOMPLEX [static] |
Definition at line 254 of file TBConstants.h.
Referenced by casa::TBDataDComplex::getType().
const String casa::TBConstants::TYPE_DOUBLE [static] |
Definition at line 245 of file TBConstants.h.
Referenced by casa::TBDataDouble::getType().
const String casa::TBConstants::TYPE_FLOAT [static] |
Definition at line 246 of file TBConstants.h.
Referenced by casa::TBDataFloat::getType().
const String casa::TBConstants::TYPE_INT [static] |
Definition at line 247 of file TBConstants.h.
Referenced by casa::TBDataInt::getType().
const String casa::TBConstants::TYPE_RECORD [static] |
Definition at line 256 of file TBConstants.h.
Referenced by casa::TBDataRecord::getType().
const String casa::TBConstants::TYPE_SHORT [static] |
Definition at line 252 of file TBConstants.h.
Referenced by casa::TBDataShort::getType().
const String casa::TBConstants::TYPE_STRING [static] |
Table data types.
Definition at line 244 of file TBConstants.h.
Referenced by casa::TBDataString::getType().
const String casa::TBConstants::TYPE_TABLE [static] |
Definition at line 255 of file TBConstants.h.
Referenced by casa::TBDataTable::getType().
const String casa::TBConstants::TYPE_UCHAR [static] |
Definition at line 251 of file TBConstants.h.
Referenced by casa::TBDataUChar::getType().
const String casa::TBConstants::TYPE_UINT [static] |
Definition at line 248 of file TBConstants.h.
Referenced by casa::TBDataUInt::getType().
const String casa::TBConstants::VIEW_DOCUMENT [static] |
Definition at line 553 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER [static] |
Definition at line 567 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE [static] |
Definition at line 568 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_ANY [static] |
Definition at line 574 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_COMPARATOR [static] |
Definition at line 570 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_FIELD [static] |
Definition at line 569 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_NOT [static] |
Definition at line 573 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_TYPE [static] |
Definition at line 575 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_VALUE [static] |
Definition at line 571 of file TBConstants.h.
const String casa::TBConstants::VIEW_FILTER_RULE_VALUE2 [static] |
Definition at line 572 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT [static] |
Definition at line 577 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_ALLFONT [static] |
Definition at line 584 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_BFORMAT [static] |
Definition at line 581 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_BOLD [static] |
Definition at line 589 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_COL [static] |
Definition at line 578 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_COLOR [static] |
Definition at line 586 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_DECIMALS [static] |
Definition at line 579 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_DFORMAT [static] |
Definition at line 582 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_FAMILY [static] |
Definition at line 587 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_FONT [static] |
Definition at line 585 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_ITALICS [static] |
Definition at line 590 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_SFORMAT [static] |
Definition at line 580 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_SIZE [static] |
Definition at line 588 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_STRIKE [static] |
Definition at line 592 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_ULINE [static] |
Definition at line 591 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMAT_VTHRESHOLD [static] |
Definition at line 583 of file TBConstants.h.
const String casa::TBConstants::VIEW_FORMATS [static] |
Definition at line 576 of file TBConstants.h.
const String casa::TBConstants::VIEW_HIDDEN [static] |
Definition at line 561 of file TBConstants.h.
const String casa::TBConstants::VIEW_HIDDEN_LENGTH [static] |
Definition at line 562 of file TBConstants.h.
const String casa::TBConstants::VIEW_HISTLIMIT [static] |
Definition at line 556 of file TBConstants.h.
const String casa::TBConstants::VIEW_LASTDIR [static] |
Definition at line 555 of file TBConstants.h.
const String casa::TBConstants::VIEW_LOCATION [static] |
Definition at line 558 of file TBConstants.h.
const String casa::TBConstants::VIEW_NAME [static] |
Definition at line 594 of file TBConstants.h.
const String casa::TBConstants::VIEW_ROWS [static] |
Definition at line 564 of file TBConstants.h.
const String casa::TBConstants::VIEW_ROWS_FROM [static] |
Definition at line 565 of file TBConstants.h.
const String casa::TBConstants::VIEW_ROWS_NUM [static] |
Definition at line 566 of file TBConstants.h.
const String casa::TBConstants::VIEW_SAVE_LOC [static] |
View constants.
Definition at line 551 of file TBConstants.h.
const String casa::TBConstants::VIEW_SELECTED [static] |
Definition at line 559 of file TBConstants.h.
const String casa::TBConstants::VIEW_SORT [static] |
Definition at line 593 of file TBConstants.h.
const String casa::TBConstants::VIEW_SORT_ASCENDING [static] |
Definition at line 595 of file TBConstants.h.
const String casa::TBConstants::VIEW_TABLE [static] |
Definition at line 557 of file TBConstants.h.
const String casa::TBConstants::VIEW_TAQL [static] |
Definition at line 560 of file TBConstants.h.
const String casa::TBConstants::VIEW_VIEW [static] |
Definition at line 554 of file TBConstants.h.
const String casa::TBConstants::VIEW_VISIND [static] |
Definition at line 563 of file TBConstants.h.
const String casa::TBConstants::XML_COLKW_COL [static] |
Definition at line 394 of file TBConstants.h.
const String casa::TBConstants::XML_COLUMNKW [static] |
Definition at line 377 of file TBConstants.h.
const String casa::TBConstants::XML_DATA [static] |
Definition at line 379 of file TBConstants.h.
const String casa::TBConstants::XML_FALSE [static] |
Definition at line 386 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD [static] |
Definition at line 375 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_NAME [static] |
Definition at line 395 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_PRECISION [static] |
Definition at line 400 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_REF [static] |
Definition at line 399 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_TYPE [static] |
Definition at line 396 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_UCD [static] |
Definition at line 398 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_UNIT [static] |
Definition at line 397 of file TBConstants.h.
const String casa::TBConstants::XML_FIELD_WIDTH [static] |
Definition at line 401 of file TBConstants.h.
const String casa::TBConstants::XML_ID [static] |
Definition at line 390 of file TBConstants.h.
const String casa::TBConstants::XML_INSERTROW [static] |
Definition at line 383 of file TBConstants.h.
const String casa::TBConstants::XML_KEYWORD [static] |
Definition at line 376 of file TBConstants.h.
const String casa::TBConstants::XML_KEYWORD_NAME [static] |
Definition at line 391 of file TBConstants.h.
const String casa::TBConstants::XML_KEYWORD_TYPE [static] |
Definition at line 392 of file TBConstants.h.
const String casa::TBConstants::XML_KEYWORD_VAL [static] |
Definition at line 393 of file TBConstants.h.
const String casa::TBConstants::XML_NAME [static] |
Definition at line 388 of file TBConstants.h.
const String casa::TBConstants::XML_REMOVEROW [static] |
Definition at line 384 of file TBConstants.h.
const String casa::TBConstants::XML_RESOURCE [static] |
Definition at line 372 of file TBConstants.h.
const String casa::TBConstants::XML_ROW [static] |
Definition at line 387 of file TBConstants.h.
const String casa::TBConstants::XML_RWINFO [static] |
Definition at line 378 of file TBConstants.h.
const String casa::TBConstants::XML_TABLE [static] |
Definition at line 373 of file TBConstants.h.
const String casa::TBConstants::XML_TABLEDATA [static] |
Definition at line 380 of file TBConstants.h.
const String casa::TBConstants::XML_TD [static] |
Definition at line 382 of file TBConstants.h.
const String casa::TBConstants::XML_TOTAL [static] |
Definition at line 374 of file TBConstants.h.
const String casa::TBConstants::XML_TR [static] |
Definition at line 381 of file TBConstants.h.
const String casa::TBConstants::XML_TRUE [static] |
Definition at line 385 of file TBConstants.h.
const String casa::TBConstants::XML_VOTABLE [static] |
XML token names that are used in table parsing.
Definition at line 371 of file TBConstants.h.