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

CVSSourceDirectory Class Reference

#include <cvsSourceDirectory.h>

List of all members.

Public Member Functions

 CVSSourceDirectory (CVSSourceTree *tree, CVSSourceDirectory *parent, const string &dirname)
 ~CVSSourceDirectory ()
string get_dirname () const
string get_fullpath () const
string get_path () const
string get_rel_to (const CVSSourceDirectory *other) const
int get_num_children () const
CVSSourceDirectory * get_child (int n) const
CVSSourceDirectory * find_relpath (const string &relpath)
CVSSourceDirectory * find_dirname (const string &dirname)
bool scan (const Filename &directory, const string &key_filename)

Private Types

typedef pvector< CVSSourceDirectory * > Children

Private Attributes

CVSSourceTree_tree
CVSSourceDirectory * _parent
string _dirname
int _depth
Children _children


Member Typedef Documentation

typedef pvector<CVSSourceDirectory *> CVSSourceDirectory::Children [private]
 

Definition at line 62 of file cvsSourceDirectory.h.


Constructor & Destructor Documentation

CVSSourceDirectory::CVSSourceDirectory CVSSourceTree tree,
CVSSourceDirectory *  parent,
const string &  dirname
 

Definition at line 30 of file cvsSourceDirectory.cxx.

References _depth, _parent, and NULL.

Referenced by scan().

CVSSourceDirectory::~CVSSourceDirectory  ) 
 

Definition at line 49 of file cvsSourceDirectory.cxx.

References _children.


Member Function Documentation

CVSSourceDirectory * CVSSourceDirectory::find_dirname const string &  dirname  ) 
 

Definition at line 209 of file cvsSourceDirectory.cxx.

References _children, _dirname, and NULL.

Referenced by CVSSourceTree::find_dirname().

CVSSourceDirectory * CVSSourceDirectory::find_relpath const string &  relpath  ) 
 

Definition at line 166 of file cvsSourceDirectory.cxx.

References _children, _parent, first, NULL, and size_t.

Referenced by CVSSourceTree::find_directory(), and CVSSourceTree::find_relpath().

CVSSourceDirectory * CVSSourceDirectory::get_child int  n  )  const
 

Definition at line 153 of file cvsSourceDirectory.cxx.

References _children, n, nassertr, and NULL.

string CVSSourceDirectory::get_dirname  )  const
 

Definition at line 62 of file cvsSourceDirectory.cxx.

References _dirname.

Referenced by CVSSourceTree::find_relpath(), and CVSSourceTree::get_root_dirname().

string CVSSourceDirectory::get_fullpath  )  const
 

Definition at line 73 of file cvsSourceDirectory.cxx.

References _dirname, _parent, _tree, CVSSourceTree::get_root_fullpath(), and NULL.

Referenced by CVSCopy::import().

int CVSSourceDirectory::get_num_children  )  const
 

Definition at line 143 of file cvsSourceDirectory.cxx.

References _children.

string CVSSourceDirectory::get_path  )  const
 

Definition at line 87 of file cvsSourceDirectory.cxx.

References _dirname, _parent, and NULL.

Referenced by CVSSourceTree::ask_existing(), and CVSSourceTree::ask_new().

string CVSSourceDirectory::get_rel_to const CVSSourceDirectory *  other  )  const
 

Definition at line 101 of file cvsSourceDirectory.cxx.

References a, b, nassertr, and NULL.

Referenced by FltCopy::copy_flt_file(), and MayaCopy::extract_texture().

bool CVSSourceDirectory::scan const Filename directory,
const string &  key_filename
 

Definition at line 236 of file cvsSourceDirectory.cxx.

References _children, _tree, CVSSourceTree::add_file(), CVSSourceDirectory(), Filename::exists(), nout, Filename::scan_directory(), and vector_string.

Referenced by CVSSourceTree::scan().


Member Data Documentation

Children CVSSourceDirectory::_children [private]
 

Definition at line 63 of file cvsSourceDirectory.h.

Referenced by find_dirname(), find_relpath(), get_child(), get_num_children(), scan(), and ~CVSSourceDirectory().

int CVSSourceDirectory::_depth [private]
 

Definition at line 60 of file cvsSourceDirectory.h.

Referenced by CVSSourceDirectory().

string CVSSourceDirectory::_dirname [private]
 

Definition at line 59 of file cvsSourceDirectory.h.

Referenced by find_dirname(), get_dirname(), get_fullpath(), and get_path().

CVSSourceDirectory* CVSSourceDirectory::_parent [private]
 

Definition at line 58 of file cvsSourceDirectory.h.

Referenced by CVSSourceDirectory(), find_relpath(), get_fullpath(), and get_path().

CVSSourceTree* CVSSourceDirectory::_tree [private]
 

Definition at line 57 of file cvsSourceDirectory.h.

Referenced by get_fullpath(), and scan().


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