CXXR (C++ R) API
Public Member Functions | Protected Member Functions
CXXR::GCEdgeBase Class Reference

Untemplated base class for GCEdge. More...

#include <GCEdge.hpp>

Inheritance diagram for CXXR::GCEdgeBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void detach ()
 Null the encapsulated pointer.

Protected Member Functions

 GCEdgeBase (const GCNode *target)
 Primary constructor.
 GCEdgeBase (const GCEdgeBase &source)
 Copy constructor.
const GCNodetarget () const
 Get target of this edge.
void retarget (const GCNode *newtarget)
 Redirect the GCEdge to point at a (possibly) different node.

Detailed Description

Untemplated base class for GCEdge.


Constructor & Destructor Documentation

CXXR::GCEdgeBase::GCEdgeBase ( const GCNode target)
inlineprotected

Primary constructor.

Parameters:
targetPointer to the object (if any) to which this GCEdgeBase is initially to refer.
CXXR::GCEdgeBase::GCEdgeBase ( const GCEdgeBase source)
inlineprotected

Copy constructor.

Parameters:
sourcePattern for the copy.

Member Function Documentation

void CXXR::GCEdgeBase::retarget ( const GCNode newtarget)
inlineprotected

Redirect the GCEdge to point at a (possibly) different node.

Parameters:
newtargetPointer to the object to which reference is now to be made.
const GCNode* CXXR::GCEdgeBase::target ( ) const
inlineprotected

Get target of this edge.

Returns:
Pointer to the target (if any) of this GCEdgeBase.

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