casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Public Attributes
casa::TaQLMultiNodeRep Class Reference

Raw TaQL parse tree node defining a list of nodes. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casa::TaQLMultiNodeRep:
casa::TaQLNodeRep

List of all members.

Public Member Functions

 TaQLMultiNodeRep (Bool isSetOrArray=False)
 TaQLMultiNodeRep (const String &prefix, const String &postfix, Bool isSetOrArray=False)
virtual ~TaQLMultiNodeRep ()
void setIsSetOrArray ()
void setPPFix (const String &prefix, const String &postfix)
void add (const TaQLNode &node)
const std::vector< TaQLNode > & getNodes ()
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 TaQLMultiNodeReprestore (AipsIO &aio)

Public Attributes

std::vector< TaQLNodeitsNodes
Bool itsIsSetOrArray
String itsPrefix
String itsPostfix

Detailed Description

Raw TaQL parse tree node defining a list of nodes.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding a list of heterogeneous nodes.

Definition at line 274 of file TaQLNodeDer.h.


Constructor & Destructor Documentation

casa::TaQLMultiNodeRep::TaQLMultiNodeRep ( Bool  isSetOrArray = False) [inline, explicit]

Definition at line 277 of file TaQLNodeDer.h.

casa::TaQLMultiNodeRep::TaQLMultiNodeRep ( const String prefix,
const String postfix,
Bool  isSetOrArray = False 
) [inline]

Definition at line 279 of file TaQLNodeDer.h.


Member Function Documentation

void casa::TaQLMultiNodeRep::add ( const TaQLNode node) [inline]

Definition at line 289 of file TaQLNodeDer.h.

References itsNodes.

const std::vector<TaQLNode>& casa::TaQLMultiNodeRep::getNodes ( ) [inline]

Definition at line 291 of file TaQLNodeDer.h.

References itsNodes.

virtual void casa::TaQLMultiNodeRep::save ( AipsIO aio) const [virtual]

Save the object.

Implements casa::TaQLNodeRep.

Definition at line 285 of file TaQLNodeDer.h.

References itsIsSetOrArray, and casa::True.

void casa::TaQLMultiNodeRep::setPPFix ( const String prefix,
const String postfix 
) [inline]

Definition at line 287 of file TaQLNodeDer.h.

References itsPostfix, and itsPrefix.

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

Print the object in an ostream.

Implements casa::TaQLNodeRep.

Visit a node for tree traversal.

Implements casa::TaQLNodeRep.


Member Data Documentation

Definition at line 299 of file TaQLNodeDer.h.

Referenced by setIsSetOrArray().

Definition at line 298 of file TaQLNodeDer.h.

Referenced by add(), and getNodes().

Definition at line 301 of file TaQLNodeDer.h.

Referenced by setPPFix().

Definition at line 300 of file TaQLNodeDer.h.

Referenced by setPPFix().


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