| 
    CXXR (C++ R)
    
   | 
 
Untemplated base class for GCRoot. More...
#include <GCRoot.h>

Static Public Member Functions | |
| static void | visitRoots (GCNode::const_visitor *v) | 
| Conduct a const visitor to all 'root' GCNode objects.   | |
Protected Member Functions | |
| GCRootBase (const GCNode *node) | |
| Primary constructor.   | |
| GCRootBase (const GCRootBase &source) | |
| Copy constructor.   | |
| GCRootBase & | operator= (const GCRootBase &source) | 
| void | redirect (const GCNode *node) | 
| Change the node protected by this GCRootBase.   | |
| const GCNode * | ptr () const | 
| Access the encapsulated pointer.   | |
Friends | |
| class | GCNode | 
Untemplated base class for GCRoot.
The preferred method for C++ code to protect a GCNode from the garbage collector is to use the templated class GCRoot, of which this is the untemplated base class, or class GCStackRoot.
      
  | 
  protected | 
Primary constructor.
| node | Pointer, possibly null, to the node to be protected. | 
      
  | 
  inlineprotected | 
Copy constructor.
| source | Pattern for the copy. | 
      
  | 
  inlineprotected | 
Access the encapsulated pointer.
      
  | 
  inlineprotected | 
Change the node protected by this GCRootBase.
| node | Pointer to the node now to be protected, or a null pointer. | 
      
  | 
  static | 
Conduct a const visitor to all 'root' GCNode objects.
Conduct a GCNode::const_visitor object to each root GCNode and each node on the C pointer protection stack.
| v | Pointer to the const_visitor object. | 
 1.8.1