casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
casacore::TaQLMultiNodeRep Class Reference

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

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLMultiNodeRep:
casacore::TaQLNodeRep

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 setSeparator (const String &sep)
 
void setSeparator (uInt incr, const String &sep)
 
void add (const TaQLNode &node)
 
const std::vector< TaQLNode > & getNodes () const
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal. More...
 
virtual void show (std::ostream &os) const
 Print the object in an ostream. More...
 
virtual void save (AipsIO &aio) const
 Save the object. More...
 
- Public Member Functions inherited from casacore::TaQLNodeRep
 TaQLNodeRep (int nodeType)
 Constructor for derived classes specifying the type. More...
 
virtual ~TaQLNodeRep ()
 
char nodeType () const
 Get the node type of the derived class. More...
 
const TaQLStylestyle () const
 Get the TaQL style. More...
 
String addEscape (const String &str) const
 Add escape characters to a table name where needed. More...
 

Static Public Member Functions

static TaQLMultiNodeReprestore (AipsIO &aio)
 
- Static Public Member Functions inherited from casacore::TaQLNodeRep
static String checkDataType (const String &)
 Check the data type string and return its standard form. More...
 

Public Attributes

std::vector< TaQLNodeitsNodes
 
Bool itsIsSetOrArray
 
String itsPrefix
 
String itsPostfix
 
String itsSep
 
String itsSep2
 
uInt itsIncr
 

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 251 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLMultiNodeRep::TaQLMultiNodeRep ( Bool  isSetOrArray = False)
explicit
casacore::TaQLMultiNodeRep::TaQLMultiNodeRep ( const String prefix,
const String postfix,
Bool  isSetOrArray = False 
)
virtual casacore::TaQLMultiNodeRep::~TaQLMultiNodeRep ( )
virtual

Member Function Documentation

void casacore::TaQLMultiNodeRep::add ( const TaQLNode node)
inline

Definition at line 266 of file TaQLNodeDer.h.

References itsNodes.

const std::vector<TaQLNode>& casacore::TaQLMultiNodeRep::getNodes ( ) const
inline

Definition at line 268 of file TaQLNodeDer.h.

References itsNodes.

static TaQLMultiNodeRep* casacore::TaQLMultiNodeRep::restore ( AipsIO aio)
static
virtual void casacore::TaQLMultiNodeRep::save ( AipsIO aio) const
virtual

Save the object.

Implements casacore::TaQLNodeRep.

void casacore::TaQLMultiNodeRep::setIsSetOrArray ( )
inline

Definition at line 258 of file TaQLNodeDer.h.

References itsIsSetOrArray, and casacore::True.

void casacore::TaQLMultiNodeRep::setPPFix ( const String prefix,
const String postfix 
)
inline

Definition at line 260 of file TaQLNodeDer.h.

References itsPostfix, and itsPrefix.

void casacore::TaQLMultiNodeRep::setSeparator ( const String sep)
inline

Definition at line 262 of file TaQLNodeDer.h.

References itsSep.

void casacore::TaQLMultiNodeRep::setSeparator ( uInt  incr,
const String sep 
)
inline

Definition at line 264 of file TaQLNodeDer.h.

References itsIncr, and itsSep2.

virtual void casacore::TaQLMultiNodeRep::show ( std::ostream &  os) const
virtual

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

virtual TaQLNodeResult casacore::TaQLMultiNodeRep::visit ( TaQLNodeVisitor ) const
virtual

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

uInt casacore::TaQLMultiNodeRep::itsIncr

Definition at line 281 of file TaQLNodeDer.h.

Referenced by setSeparator().

Bool casacore::TaQLMultiNodeRep::itsIsSetOrArray

Definition at line 276 of file TaQLNodeDer.h.

Referenced by setIsSetOrArray().

std::vector<TaQLNode> casacore::TaQLMultiNodeRep::itsNodes

Definition at line 275 of file TaQLNodeDer.h.

Referenced by add(), and getNodes().

String casacore::TaQLMultiNodeRep::itsPostfix

Definition at line 278 of file TaQLNodeDer.h.

Referenced by setPPFix().

String casacore::TaQLMultiNodeRep::itsPrefix

Definition at line 277 of file TaQLNodeDer.h.

Referenced by setPPFix().

String casacore::TaQLMultiNodeRep::itsSep

Definition at line 279 of file TaQLNodeDer.h.

Referenced by setSeparator().

String casacore::TaQLMultiNodeRep::itsSep2

Definition at line 280 of file TaQLNodeDer.h.

Referenced by setSeparator().


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