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

NodePathCollection Class Reference

#include <nodePathCollection.h>

List of all members.

Private Member Functions

 NodePathCollection (const NodePathCollection &copy)
void operator= (const NodePathCollection &copy)
INLINE ~NodePathCollection ()
void add_path (const NodePath &node_path)
bool remove_path (const NodePath &node_path)
void add_paths_from (const NodePathCollection &other)
void remove_paths_from (const NodePathCollection &other)
void remove_duplicate_paths ()
bool has_path (const NodePath &path) const
void clear ()
bool is_empty () const
int get_num_paths () const
NodePath get_path (int index) const
NodePath operator[] (int index) const
INLINE void ls () const
void ls (ostream &out, int indent_level=0) const
NodePathCollection find_all_matches (const string &path) const
void reparent_to (const NodePath &other)
void wrt_reparent_to (const NodePath &other)
void show ()
void hide ()
void stash ()
void unstash ()
void output (ostream &out) const
void write (ostream &out, int indent_level=0) const
typedef PTA (NodePath) NodePaths

Private Attributes

PUBLISHED __pad0__: NodePathCollection()
NodePaths _node_paths


Constructor & Destructor Documentation

NodePathCollection::NodePathCollection const NodePathCollection &  copy  )  [private]
 

Definition at line 40 of file nodePathCollection.cxx.

INLINE NodePathCollection::~NodePathCollection  )  [private]
 


Member Function Documentation

void NodePathCollection::add_path const NodePath node_path  )  [private]
 

Definition at line 61 of file nodePathCollection.cxx.

References _node_paths.

Referenced by add_paths_from(), FindApproxLevelEntry::consider_node(), NodePath::get_children(), and NodePath::r_find_matches().

void NodePathCollection::add_paths_from const NodePathCollection &  other  )  [private]
 

Definition at line 121 of file nodePathCollection.cxx.

References add_path(), get_num_paths(), and get_path().

void NodePathCollection::clear  )  [private]
 

Definition at line 199 of file nodePathCollection.cxx.

References _node_paths.

NodePathCollection NodePathCollection::find_all_matches const string &  path  )  const [private]
 

Definition at line 275 of file nodePathCollection.cxx.

References FindApproxPath::add_string(), NodePath::get_max_search_depth(), get_num_paths(), get_path(), is_empty(), level, NodePath::r_find_matches(), and start.

int NodePathCollection::get_num_paths  )  const [private]
 

Definition at line 220 of file nodePathCollection.cxx.

References _node_paths.

Referenced by add_paths_from(), FindApproxLevelEntry::consider_node(), find_all_matches(), has_path(), hide(), ls(), output(), NodePath::r_find_matches(), remove_duplicate_paths(), remove_paths_from(), reparent_to(), show(), stash(), unstash(), write(), and wrt_reparent_to().

NodePath NodePathCollection::get_path int  index  )  const [private]
 

Definition at line 230 of file nodePathCollection.cxx.

References _node_paths, and index.

Referenced by add_paths_from(), NodePath::find(), find_all_matches(), NodePath::find_path_to(), has_path(), hide(), ls(), remove_duplicate_paths(), remove_paths_from(), reparent_to(), show(), stash(), unstash(), write(), and wrt_reparent_to().

bool NodePathCollection::has_path const NodePath path  )  const [private]
 

Definition at line 184 of file nodePathCollection.cxx.

References get_num_paths(), and get_path().

Referenced by remove_paths_from().

void NodePathCollection::hide  )  [private]
 

Definition at line 339 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and NodePath::hide().

bool NodePathCollection::is_empty  )  const [private]
 

Definition at line 210 of file nodePathCollection.cxx.

References _node_paths.

Referenced by NodePath::find(), find_all_matches(), and NodePath::find_path_to().

void NodePathCollection::ls ostream &  out,
int  indent_level = 0
const [private]
 

Definition at line 257 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), indent(), and NodePath::ls().

INLINE void NodePathCollection::ls  )  const [private]
 

void NodePathCollection::operator= const NodePathCollection &  copy  )  [private]
 

Definition at line 51 of file nodePathCollection.cxx.

References _node_paths.

NodePath NodePathCollection::operator[] int  index  )  const [private]
 

Definition at line 244 of file nodePathCollection.cxx.

References _node_paths, and index.

void NodePathCollection::output ostream &  out  )  const [private]
 

Definition at line 376 of file nodePathCollection.cxx.

References get_num_paths().

Referenced by operator<<().

typedef NodePathCollection::PTA NodePath   )  [private]
 

void NodePathCollection::remove_duplicate_paths  )  [private]
 

Definition at line 157 of file nodePathCollection.cxx.

References _node_paths, get_num_paths(), and get_path().

bool NodePathCollection::remove_path const NodePath node_path  )  [private]
 

Definition at line 84 of file nodePathCollection.cxx.

References _node_paths.

void NodePathCollection::remove_paths_from const NodePathCollection &  other  )  [private]
 

Definition at line 136 of file nodePathCollection.cxx.

References _node_paths, get_num_paths(), get_path(), and has_path().

void NodePathCollection::reparent_to const NodePath other  )  [private]
 

Definition at line 301 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and NodePath::reparent_to().

void NodePathCollection::show  )  [private]
 

Definition at line 327 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and NodePath::show().

void NodePathCollection::stash  )  [private]
 

Definition at line 351 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and NodePath::stash().

void NodePathCollection::unstash  )  [private]
 

Definition at line 363 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and NodePath::unstash().

void NodePathCollection::write ostream &  out,
int  indent_level = 0
const [private]
 

Definition at line 391 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and indent().

void NodePathCollection::wrt_reparent_to const NodePath other  )  [private]
 

Definition at line 315 of file nodePathCollection.cxx.

References get_num_paths(), get_path(), and NodePath::wrt_reparent_to().


Member Data Documentation

PUBLISHED NodePathCollection::__pad0__ [private]
 

Definition at line 35 of file nodePathCollection.h.

NodePaths NodePathCollection::_node_paths [private]
 

Definition at line 71 of file nodePathCollection.h.

Referenced by add_path(), clear(), get_num_paths(), get_path(), is_empty(), operator=(), operator[](), remove_duplicate_paths(), remove_path(), and remove_paths_from().


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