Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TaQLStyle.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:24:31 2011 Кодировка: Поисковые слова: п п п п п п п п |
Class with static members defining the TaQL style. More...
#include <TaQLStyle.h>
Public Member Functions | |
TaQLStyle (uInt origin=1) | |
Default style is Glish. | |
void | reset () |
Reset to the default Glish style. | |
void | set (const String &value) |
Set the style according to the (case-insensitive) value. | |
uInt | origin () const |
Get the various style values. | |
Bool | isEndExcl () const |
Bool | isCOrder () const |
Private Attributes | |
uInt | itsOrigin |
Bool | itsEndExcl |
Bool | itsCOrder |
Class with static members defining the TaQL style.
Internal
Originally TaQL was developed to use the Glish style of indexing. This meant 1-based indices, axes in Fortran order, and end is inclusive in start:end. On the other hand the Python style is the opposite. In order to let the user choose between styles, one can define the style in a TaQL command. The default style is Glish.
Definition at line 55 of file TaQLStyle.h.
casa::TaQLStyle::TaQLStyle | ( | uInt | origin = 1 |
) | [inline] |
Default style is Glish.
Definition at line 59 of file TaQLStyle.h.
Bool casa::TaQLStyle::isCOrder | ( | ) | const [inline] |
Definition at line 80 of file TaQLStyle.h.
References itsCOrder.
Bool casa::TaQLStyle::isEndExcl | ( | ) | const [inline] |
Definition at line 78 of file TaQLStyle.h.
References itsEndExcl.
uInt casa::TaQLStyle::origin | ( | ) | const [inline] |
void casa::TaQLStyle::reset | ( | ) | [inline] |
Reset to the default Glish style.
Definition at line 66 of file TaQLStyle.h.
void casa::TaQLStyle::set | ( | const String & | value | ) |
Set the style according to the (case-insensitive) value.
Possible values are Glish, Python, Base0, Base1, FortranOrder, Corder, InclEnd, and ExclEnd.
Bool casa::TaQLStyle::itsCOrder [private] |
Definition at line 87 of file TaQLStyle.h.
Referenced by isCOrder().
Bool casa::TaQLStyle::itsEndExcl [private] |
Definition at line 86 of file TaQLStyle.h.
Referenced by isEndExcl().
uInt casa::TaQLStyle::itsOrigin [private] |
Definition at line 85 of file TaQLStyle.h.
Referenced by origin().