ARB
Public Member Functions | List of all members
ResourceStack Class Reference

#include <AP_buffer.hxx>

Public Member Functions

 ResourceStack ()
 
 ~ResourceStack ()
 
void extract_common (ResourceStack &stack1, ResourceStack &stack2)
 
void destroy_nodes ()
 
void destroy_edges ()
 
void forget_nodes ()
 
void forget_edges ()
 
void move_nodes (ResourceStack &target)
 
void move_edges (ResourceStack &target)
 
AP_tree_nlen * put (AP_tree_nlen *node)
 
AP_tree_edgeput (AP_tree_edge *edge)
 
AP_tree_nlen * getNode ()
 
AP_tree_edgegetEdge ()
 
bool has_nodes () const
 
bool has_edges () const
 
bool has_node (AP_tree_nlen *node) const
 

Detailed Description

Definition at line 179 of file AP_buffer.hxx.

Constructor & Destructor Documentation

ResourceStack::ResourceStack ( )
inline

Definition at line 184 of file AP_buffer.hxx.

ResourceStack::~ResourceStack ( )
inline

Definition at line 185 of file AP_buffer.hxx.

References ap_assert.

Member Function Documentation

void ResourceStack::extract_common ( ResourceStack stack1,
ResourceStack stack2 
)

Definition at line 163 of file AP_buffer.cxx.

References set_extract_common().

Referenced by StackFrameData::extract_common_to().

void ResourceStack::destroy_nodes ( )

Definition at line 172 of file AP_buffer.cxx.

Referenced by StackFrameData::accept_resources().

void ResourceStack::destroy_edges ( )

Definition at line 186 of file AP_buffer.cxx.

References NULp.

Referenced by StackFrameData::accept_resources().

void ResourceStack::forget_nodes ( )

Definition at line 200 of file AP_buffer.cxx.

void ResourceStack::forget_edges ( )

Definition at line 201 of file AP_buffer.cxx.

void ResourceStack::move_nodes ( ResourceStack target)

Definition at line 203 of file AP_buffer.cxx.

References put().

void ResourceStack::move_edges ( ResourceStack target)

Definition at line 206 of file AP_buffer.cxx.

References put().

AP_tree_nlen* ResourceStack::put ( AP_tree_nlen *  node)
inline
AP_tree_edge* ResourceStack::put ( AP_tree_edge edge)
inline

Definition at line 200 of file AP_buffer.hxx.

AP_tree_nlen* ResourceStack::getNode ( )
inline

Definition at line 202 of file AP_buffer.hxx.

References ap_assert, and result.

AP_tree_edge* ResourceStack::getEdge ( )
inline

Definition at line 203 of file AP_buffer.hxx.

References ap_assert, and result.

Referenced by StackFrameData::makeEdge().

bool ResourceStack::has_nodes ( ) const
inline

Definition at line 205 of file AP_buffer.hxx.

Referenced by StackFrameData::accept_resources().

bool ResourceStack::has_edges ( ) const
inline

Definition at line 206 of file AP_buffer.hxx.

Referenced by StackFrameData::accept_resources(), and StackFrameData::makeEdge().

bool ResourceStack::has_node ( AP_tree_nlen *  node) const
inline

Definition at line 208 of file AP_buffer.hxx.

Referenced by AP_main::accept().


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