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

Envelope class for a node containing a list of nodes. More...

#include <TaQLNode.h>

Inheritance diagram for casacore::TaQLMultiNode:

Public Member Functions

 TaQLMultiNode ()
 TaQLMultiNode (Bool isSetOrArray)
 TaQLMultiNode (TaQLMultiNodeRep *rep)
void add (const TaQLNode &node)
void add (TaQLNodeRep *noderep)
void setIsSetOrArray ()
void setPPFix (const String &prefix, const String &postfix)
void setSeparator (const String &sep)
void setSeparator (uInt incr, const String &sep)
const TaQLMultiNodeRepgetMultiRep () const
- Public Member Functions inherited from casacore::TaQLNode
 TaQLNode ()
 Default constructor. More...
 TaQLNode (TaQLNodeRep *rep)
 Construct for given letter. More...
 TaQLNode (const TaQLNode &that)
 Copy constructor (reference semantics). More...
TaQLNodeoperator= (const TaQLNode &that)
 Assignment (reference semantics). More...
const TaQLStylestyle () const
 Get the TaQL style. More...
 ~TaQLNode ()
 Destructor deletes the letter if no more references. More...
Bool isValid () const
 Does the envelope contain a letter? More...
char nodeType () const
 Return the type of letter. More...
const TaQLNodeRepgetRep () const
 Get read access to the letter. More...
TaQLNodeResult visit (TaQLNodeVisitor &visitor) const
 Let the visitor visit the node. More...
void show (std::ostream &os) const
 Print the node (recursively) in the given stream. More...
void save (AipsIO &aio) const
 Save and restore the entire tree. More...
void saveNode (AipsIO &aio) const
 Helper functions for save/restore of tree. More...

Private Attributes


Additional Inherited Members

- Static Public Member Functions inherited from casacore::TaQLNode
static TaQLNode parse (const String &command)
 Parse a TaQL command and return the result. More...
static TaQLNode restore (AipsIO &aio)
static TaQLNode restoreNode (AipsIO &aio)
static TaQLMultiNode restoreMultiNode (AipsIO &aio)
- Static Public Attributes inherited from casacore::TaQLNode
static TaQLNode theirNode
 The object getting the final tree. More...
static std::vector< TaQLNode * > theirNodesCreated
 A list of objects created by the parser and deleted at the end. More...
static TaQLStyle theirStyle
 Keep the TaQL style to use. More...
static Mutex theirMutex
 Use a mutex to guard the statics. More...
- Protected Attributes inherited from casacore::TaQLNode
CountedPtr< TaQLNodeRepitsRep

Detailed Description

Envelope class for a node containing a list of nodes.

Intended use:


Review Status

Test programs:


This is a specialization of the envelope class TaQLNode for a node containing a list of nodes.

Definition at line 226 of file TaQLNode.h.

Constructor & Destructor Documentation

casacore::TaQLMultiNode::TaQLMultiNode ( )
casacore::TaQLMultiNode::TaQLMultiNode ( Bool  isSetOrArray)
casacore::TaQLMultiNode::TaQLMultiNode ( TaQLMultiNodeRep rep)

Member Function Documentation

void casacore::TaQLMultiNode::add ( const TaQLNode node)
void casacore::TaQLMultiNode::add ( TaQLNodeRep noderep)
const TaQLMultiNodeRep* casacore::TaQLMultiNode::getMultiRep ( ) const

Definition at line 238 of file TaQLNode.h.

References itsNRep.

void casacore::TaQLMultiNode::setIsSetOrArray ( )
void casacore::TaQLMultiNode::setPPFix ( const String prefix,
const String postfix 
void casacore::TaQLMultiNode::setSeparator ( const String sep)
void casacore::TaQLMultiNode::setSeparator ( uInt  incr,
const String sep 

Member Data Documentation

TaQLMultiNodeRep* casacore::TaQLMultiNode::itsNRep

Definition at line 241 of file TaQLNode.h.

Referenced by getMultiRep().

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