Puma Reference Manual | Puma::PathManager Class Reference |
#include <PathManager.h>
Public Member Functions | |
PathManager (ErrorStream &e) | |
PathManager (PathManager &pm) | |
virtual | ~PathManager () |
void | glob (char *pattern=(char *) 0) |
bool | iterate (PathIterator &) const |
virtual void | addPath (const char *, const char *=(const char *) 0) |
PFMConstIter | addFile (Filename name) |
PFMConstIter | addFile (Filename name, Filename dest) |
bool | lookupFile (Filename abs_name, PFMConstIter &iter) const |
void | setDest (const char *, const char *) |
void | protect (const char *) |
long | numPaths () const |
long | numProts () const |
const char * | src (long pos) const |
const char * | src_canon (long pos) const |
const char * | dest (long pos) const |
RegComp * | prot (long pos) const |
bool | isProtected (const char *file) const |
bool | isBelow (const char *file, PFMConstIter &iter) const |
virtual bool | isBelow (const char *file) const |
virtual void | configure (const Config &) |
virtual void | join (PathManager &) |
ErrorStream & | err () const |
bool | getDestinationPath (const char *filename, ostream &out) const |
Protected Member Functions | |
const char * | getDestination (Filename file, ostream *=0) const |
virtual void | action (PathIterator &) |
char * | addSeparator (const char *) const |
char * | addSeparator (const char *s, char *dest) const |
Puma::PathManager::PathManager | ( | ErrorStream & | e | ) | [inline] |
Puma::PathManager::PathManager | ( | PathManager & | pm | ) | [inline] |
virtual Puma::PathManager::~PathManager | ( | ) | [virtual] |
virtual void Puma::PathManager::action | ( | PathIterator & | ) | [inline, protected, virtual] |
PFMConstIter Puma::PathManager::addFile | ( | Filename | name | ) |
Reimplemented in Puma::Project, and Puma::CProject.
PFMConstIter Puma::PathManager::addFile | ( | Filename | name, |
Filename | dest | ||
) |
Reimplemented in Puma::Project.
virtual void Puma::PathManager::addPath | ( | const char * | , |
const char * | = (const char *) 0 |
||
) | [virtual] |
char* Puma::PathManager::addSeparator | ( | const char * | ) | const [protected] |
char* Puma::PathManager::addSeparator | ( | const char * | s, |
char * | dest | ||
) | const [protected] |
virtual void Puma::PathManager::configure | ( | const Config & | ) | [virtual] |
Reimplemented in Puma::Project.
const char* Puma::PathManager::dest | ( | long | pos | ) | const [inline] |
ErrorStream& Puma::PathManager::err | ( | ) | const [inline] |
const char* Puma::PathManager::getDestination | ( | Filename | file, |
ostream * | = 0 |
||
) | const [protected] |
bool Puma::PathManager::getDestinationPath | ( | const char * | filename, |
ostream & | out | ||
) | const |
void Puma::PathManager::glob | ( | char * | pattern = (char *) 0 | ) |
bool Puma::PathManager::isBelow | ( | const char * | file, |
PFMConstIter & | iter | ||
) | const |
bool Puma::PathManager::isBelow | ( | const char * | file | ) | const [inline, virtual] |
Reimplemented in Puma::Project.
bool Puma::PathManager::isProtected | ( | const char * | file | ) | const |
bool Puma::PathManager::iterate | ( | PathIterator & | ) | const |
virtual void Puma::PathManager::join | ( | PathManager & | ) | [virtual] |
bool Puma::PathManager::lookupFile | ( | Filename | abs_name, |
PFMConstIter & | iter | ||
) | const |
long Puma::PathManager::numPaths | ( | ) | const [inline] |
long Puma::PathManager::numProts | ( | ) | const [inline] |
RegComp* Puma::PathManager::prot | ( | long | pos | ) | const [inline] |
void Puma::PathManager::protect | ( | const char * | ) |
void Puma::PathManager::setDest | ( | const char * | , |
const char * | |||
) |
const char* Puma::PathManager::src | ( | long | pos | ) | const [inline] |
const char* Puma::PathManager::src_canon | ( | long | pos | ) | const [inline] |