15 #ifndef CVSSOURCEDIRECTORY_H 16 #define CVSSOURCEDIRECTORY_H 18 #include "pandatoolbase.h" 43 const string &dirname);
58 bool scan(
const Filename &directory,
const string &key_filename);
CVSSourceDirectory * find_dirname(const string &dirname)
Returns the source directory that corresponds to the given local directory name, or NULL if there is ...
int get_num_children() const
Returns the number of subdirectories below this directory.
CVSSourceDirectory * find_relpath(const string &relpath)
Returns the source directory that corresponds to the given relative path from this directory...
string get_dirname() const
Returns the local name of this particular directory.
Filename get_rel_to(const CVSSourceDirectory *other) const
Returns the relative path to the other directory from this one.
Filename get_path() const
Returns the relative pathname to this particular directory, as seen from the root of the tree...
Filename get_fullpath() const
Returns the full pathname to this particular directory.
This represents one particular directory in the hierarchy of source directory files.
The name of a file, such as a texture file or an Egg file.
This represents the root of the tree of source directory files.
CVSSourceDirectory * get_child(int n) const
Returns the nth subdirectory below this directory.
bool scan(const Filename &directory, const string &key_filename)
Recursively scans the contents of the source directory.