Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TaQLUnaryNodeRep.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:50:50 2011
Кодировка:

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

casa::TaQLUnaryNodeRep Class Reference
[Tables_module_internal_classes]

Raw TaQL parse tree node defining a unary operator. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casa::TaQLUnaryNodeRep:
casa::TaQLNodeRep

List of all members.

Public Types

enum  Type {
  U_MINUS,
  U_NOT,
  U_EXISTS,
  U_NOTEXISTS,
  U_BITNOT
}
 

Do not change the values of this enum, as objects might be persistent.

More...

Public Member Functions

 TaQLUnaryNodeRep (Type type, const TaQLNode &child)
virtual ~TaQLUnaryNodeRep ()
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal.
virtual void show (std::ostream &os) const
 Print the object in an ostream.
virtual void save (AipsIO &aio) const
 Save the object.

Static Public Member Functions

static TaQLUnaryNodeReprestore (AipsIO &aio)

Public Attributes

Type itsType
TaQLNode itsChild

Detailed Description

Raw TaQL parse tree node defining a unary operator.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding a unary operator and operand. The operators supported are -, ~, NOT, EXISTS, and NOT EXISTS. Note the unary operator + is superfluous and is ignored by the parser.

Definition at line 167 of file TaQLNodeDer.h.


Member Enumeration Documentation

Do not change the values of this enum, as objects might be persistent.

Enumerator:
U_MINUS 
U_NOT 
U_EXISTS 
U_NOTEXISTS 
U_BITNOT 

Definition at line 171 of file TaQLNodeDer.h.


Constructor & Destructor Documentation

casa::TaQLUnaryNodeRep::TaQLUnaryNodeRep ( Type  type,
const TaQLNode child 
) [inline]

Definition at line 176 of file TaQLNodeDer.h.

References U_BITNOT, U_EXISTS, U_MINUS, U_NOT, and U_NOTEXISTS.

virtual casa::TaQLUnaryNodeRep::~TaQLUnaryNodeRep (  )  [virtual]

Member Function Documentation

static TaQLUnaryNodeRep* casa::TaQLUnaryNodeRep::restore ( AipsIO aio  )  [static]
virtual void casa::TaQLUnaryNodeRep::save ( AipsIO aio  )  const [virtual]

Save the object.

Implements casa::TaQLNodeRep.

virtual void casa::TaQLUnaryNodeRep::show ( std::ostream &  os  )  const [virtual]

Print the object in an ostream.

Implements casa::TaQLNodeRep.

virtual TaQLNodeResult casa::TaQLUnaryNodeRep::visit ( TaQLNodeVisitor  )  const [virtual]

Visit a node for tree traversal.

Implements casa::TaQLNodeRep.


Member Data Documentation


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