14 #ifndef CVSSOURCEDIRECTORY_H 15 #define CVSSOURCEDIRECTORY_H 38 const std::string &dirname);
53 bool scan(
const Filename &directory,
const std::string &key_filename);
int get_num_children() const
Returns the number of subdirectories below this directory.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::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.
bool scan(const Filename &directory, const std::string &key_filename)
Recursively scans the contents of the source directory.
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 * find_dirname(const std::string &dirname)
Returns the source directory that corresponds to the given local directory name, or NULL if there is ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
CVSSourceDirectory * find_relpath(const std::string &relpath)
Returns the source directory that corresponds to the given relative path from this directory,...
CVSSourceDirectory * get_child(int n) const
Returns the nth subdirectory below this directory.