Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

FindApproxLevelEntry Class Reference

#include <findApproxLevelEntry.h>

List of all members.

Public Member Functions

INLINE FindApproxLevelEntry (const WorkingNodePath &node_path, FindApproxPath &approx_path)
INLINE FindApproxLevelEntry (const FindApproxLevelEntry &copy, int increment=0)
INLINE void operator= (const FindApproxLevelEntry &copy)
INLINE bool next_is_stashed (int increment) const
void consider_node (NodePathCollection &result, FindApproxLevel &next_level, int max_matches, int increment) const
void consider_next_step (NodePathCollection &result, PandaNode *child_node, FindApproxLevel &next_level, int max_matches, int increment) const
INLINE bool is_solution (int increment) const
void output (ostream &out) const

Public Attributes

WorkingNodePath _node_path
int _i
FindApproxPath_approx_path


Constructor & Destructor Documentation

INLINE FindApproxLevelEntry::FindApproxLevelEntry const WorkingNodePath node_path,
FindApproxPath approx_path
 

INLINE FindApproxLevelEntry::FindApproxLevelEntry const FindApproxLevelEntry &  copy,
int  increment = 0
 


Member Function Documentation

void FindApproxLevelEntry::consider_next_step NodePathCollection result,
PandaNode child_node,
FindApproxLevel next_level,
int  max_matches,
int  increment
const
 

Definition at line 122 of file findApproxLevelEntry.cxx.

References _approx_path, _i, _node_path, FindApproxLevel::add_entry(), PandaNode::get_draw_mask(), FindApproxPath::get_num_components(), FindApproxPath::is_component_match_many(), BitMask< PN_uint32, 32 >::is_zero(), FindApproxPath::matches_component(), and FindApproxPath::return_hidden().

Referenced by consider_node().

void FindApproxLevelEntry::consider_node NodePathCollection result,
FindApproxLevel next_level,
int  max_matches,
int  increment
const
 

Definition at line 48 of file findApproxLevelEntry.cxx.

References _approx_path, _i, _node_path, NodePathCollection::add_path(), consider_next_step(), PandaNode::get_child(), WorkingNodePath::get_node_path(), PandaNode::get_num_children(), FindApproxPath::get_num_components(), NodePathCollection::get_num_paths(), PandaNode::get_num_stashed(), PandaNode::get_stashed(), FindApproxPath::is_component_match_many(), is_solution(), next_is_stashed(), WorkingNodePath::node(), NULL, and FindApproxPath::return_stashed().

Referenced by NodePath::r_find_matches().

INLINE bool FindApproxLevelEntry::is_solution int  increment  )  const
 

Referenced by consider_node(), output(), and NodePath::r_find_matches().

INLINE bool FindApproxLevelEntry::next_is_stashed int  increment  )  const
 

Referenced by consider_node().

INLINE void FindApproxLevelEntry::operator= const FindApproxLevelEntry &  copy  ) 
 

void FindApproxLevelEntry::output ostream &  out  )  const
 

Definition at line 31 of file findApproxLevelEntry.cxx.

References _approx_path, _i, _node_path, is_solution(), and FindApproxPath::output_component().

Referenced by operator<<().


Member Data Documentation

FindApproxPath& FindApproxLevelEntry::_approx_path
 

Definition at line 64 of file findApproxLevelEntry.h.

Referenced by consider_next_step(), consider_node(), and output().

int FindApproxLevelEntry::_i
 

Definition at line 63 of file findApproxLevelEntry.h.

Referenced by consider_next_step(), consider_node(), and output().

WorkingNodePath FindApproxLevelEntry::_node_path
 

Definition at line 57 of file findApproxLevelEntry.h.

Referenced by consider_next_step(), consider_node(), output(), and NodePath::r_find_matches().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:16 2003 for Panda by doxygen1.3