casacore
|
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 TaQLNodeResultRep & | getRep () const |
Get the actual underlying object. | |
Private Attributes | |
std::shared_ptr< TaQLNodeResultRep > | itsRep |
Envelope class to hold the result of a visit to the node tree.
Internal
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.
|
inline |
Default constructor has no letter.
Definition at line 108 of file TaQLNodeResult.h.
|
inline |
Wrap the given pointer in a shared_ptr.
Definition at line 112 of file TaQLNodeResult.h.
|
inline |
Get the actual underlying object.
Definition at line 121 of file TaQLNodeResult.h.
References itsRep.
Referenced by casacore::TaQLNodeHandler::getHR().
|
inline |
Does the envelope hold a letter?
Definition at line 117 of file TaQLNodeResult.h.
References itsRep.
|
private |
Definition at line 125 of file TaQLNodeResult.h.