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

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

#include <TaQLNodeResult.h>

Inheritance diagram for casa::TaQLNodeResultRep:
casa::TaQLNodeHRValue

List of all members.

Public Member Functions

 TaQLNodeResultRep ()
 Default constructor clears the reference count.
virtual ~TaQLNodeResultRep ()
 Destructor.

Static Public Member Functions

static TaQLNodeResultReplink (TaQLNodeResultRep *rep)
 Increment the reference count.
static void unlink (TaQLNodeResultRep *rep)
 Decrement the reference count.

Private Member Functions

 TaQLNodeResultRep (const TaQLNodeResultRep &)
 Letter objects cannot be copied.
TaQLNodeResultRepoperator= (const TaQLNodeResultRep &)

Private Attributes

int itsCount
 
   


Detailed Description

Abstract base class to hold the result of a visit to the node tree.

Intended use:

Internal

Review Status

Test programs:
tTableGram

Prerequisite

Synopsis

TaQLNodeResultRep is the abstract base 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. TaQLNodeResultRep is the counted referenced letter class in the envelope class TaQLNodeResult .

Definition at line 62 of file TaQLNodeResult.h.


Constructor & Destructor Documentation

Default constructor clears the reference count.

The count is updated by functions link and unlink.

Definition at line 67 of file TaQLNodeResult.h.

Destructor.

Letter objects cannot be copied.


Member Function Documentation

Increment the reference count.

Definition at line 74 of file TaQLNodeResult.h.

References itsCount.

Referenced by casa::TaQLNodeResult::operator=(), and casa::TaQLNodeResult::TaQLNodeResult().

TaQLNodeResultRep& casa::TaQLNodeResultRep::operator= ( const TaQLNodeResultRep ) [private]
static void casa::TaQLNodeResultRep::unlink ( TaQLNodeResultRep rep) [inline, static]

Decrement the reference count.

Delete the letter if no more references.

Definition at line 82 of file TaQLNodeResult.h.

References itsCount.

Referenced by casa::TaQLNodeResult::operator=(), and casa::TaQLNodeResult::~TaQLNodeResult().


Member Data Documentation

   

Definition at line 94 of file TaQLNodeResult.h.

Referenced by link(), and unlink().


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