casacore
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
casacore::TaQLNodeResult Class Reference

Envelope class to hold the result of a visit to the node tree. More...

#include <TaQLNodeResult.h>

Public Member Functions

 TaQLNodeResult ()
 Default constructor has no letter.
 
 TaQLNodeResult (TaQLNodeResultRep *rep)
 Wrap the given pointer in a shared_ptr.
 
Bool isValid () const
 Does the envelope hold a letter?
 
const TaQLNodeResultRepgetRep () const
 Get the actual underlying object.
 

Private Attributes

std::shared_ptr< TaQLNodeResultRepitsRep
 

Detailed Description

Envelope class to hold the result of a visit to the node tree.

Intended use:

Internal

Review Status

Test programs:
tTableGram

Prerequisite

Synopsis

TaQLNodeResult is the envelope class for classes holding values filled by visitors to the raw TaQL parse tree. Visitors are classes derived from TaQLNodeVisitor which traverse the parse tree. The counted referenced letter base class for the envelope is class TaQLNodeResultRep.

Definition at line 104 of file TaQLNodeResult.h.

Constructor & Destructor Documentation

◆ TaQLNodeResult() [1/2]

casacore::TaQLNodeResult::TaQLNodeResult ( )
inline

Default constructor has no letter.

Definition at line 108 of file TaQLNodeResult.h.

◆ TaQLNodeResult() [2/2]

casacore::TaQLNodeResult::TaQLNodeResult ( TaQLNodeResultRep rep)
inline

Wrap the given pointer in a shared_ptr.

Definition at line 112 of file TaQLNodeResult.h.

Member Function Documentation

◆ getRep()

const TaQLNodeResultRep & casacore::TaQLNodeResult::getRep ( ) const
inline

Get the actual underlying object.

Definition at line 121 of file TaQLNodeResult.h.

References itsRep.

Referenced by casacore::TaQLNodeHandler::getHR().

◆ isValid()

Bool casacore::TaQLNodeResult::isValid ( ) const
inline

Does the envelope hold a letter?

Definition at line 117 of file TaQLNodeResult.h.

References itsRep.

Member Data Documentation

◆ itsRep

std::shared_ptr<TaQLNodeResultRep> casacore::TaQLNodeResult::itsRep
private

Definition at line 125 of file TaQLNodeResult.h.

Referenced by getRep(), and isValid().


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