Документ взят из кэша поисковой машины. Адрес оригинального документа : 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
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п
casacore: casa::TaQLStyle Class Reference
Public Member Functions | Private Attributes

casa::TaQLStyle Class Reference
[Tables_module_internal_classes]

Class with static members defining the TaQL style. More...

#include <TaQLStyle.h>

List of all members.

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

Detailed Description

Class with static members defining the TaQL style.

Intended use:

Internal

Synopsis

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.


Constructor & Destructor Documentation

casa::TaQLStyle::TaQLStyle ( uInt  origin = 1  )  [inline]

Default style is Glish.

Definition at line 59 of file TaQLStyle.h.


Member Function Documentation

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]

Get the various style values.

Definition at line 76 of file TaQLStyle.h.

References itsOrigin.

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.


Member Data Documentation

Definition at line 87 of file TaQLStyle.h.

Referenced by isCOrder().

Definition at line 86 of file TaQLStyle.h.

Referenced by isEndExcl().

Definition at line 85 of file TaQLStyle.h.

Referenced by origin().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines