14#ifndef CVSSOURCEDIRECTORY_H
15#define CVSSOURCEDIRECTORY_H
38 const std::string &dirname);
53 bool scan(
const Filename &directory,
const std::string &key_filename);
This represents one particular directory in the hierarchy of source directory files.
bool scan(const Filename &directory, const std::string &key_filename)
Recursively scans the contents of the source directory.
CVSSourceDirectory * find_dirname(const std::string &dirname)
Returns the source directory that corresponds to the given local directory name, or NULL if there is ...
CVSSourceDirectory * get_child(int n) const
Returns the nth subdirectory below this directory.
Filename get_rel_to(const CVSSourceDirectory *other) const
Returns the relative path to the other directory from this one.
std::string get_dirname() const
Returns the local name of this particular directory.
Filename get_fullpath() const
Returns the full pathname to this particular directory.
CVSSourceDirectory * find_relpath(const std::string &relpath)
Returns the source directory that corresponds to the given relative path from this directory,...
Filename get_path() const
Returns the relative pathname to this particular directory, as seen from the root of the tree.
int get_num_children() const
Returns the number of subdirectories below this directory.
This represents the root of the tree of source directory files.
The name of a file, such as a texture file or an Egg file.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.