Puma Reference Manual Puma: Puma::PathManager Class Reference



Puma::PathManager Class Reference

#include <PathManager.h>

Inheritance diagram for Puma::PathManager:

Inheritance graph

List of all members.

Public Member Functions

 PathManager (ErrorStream &e)
 PathManager (PathManager &pm)
virtual ~PathManager ()
void glob (char *pattern=(char *) 0)
const char * 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 * dest (long pos) const
RegCompprot (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 &)
ErrorStreamerr () 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


Constructor & Destructor Documentation

Puma::PathManager::PathManager ( ErrorStream e  )  [inline]

Puma::PathManager::PathManager ( PathManager pm  )  [inline]

virtual Puma::PathManager::~PathManager (  )  [virtual]


Member Function Documentation

const char* Puma::PathManager::getDestination ( Filename  file,
ostream *  = 0 
) const [protected]

virtual void Puma::PathManager::action ( PathIterator  )  [inline, protected, virtual]

char* Puma::PathManager::addSeparator ( const char *   )  const [protected]

void Puma::PathManager::glob ( char *  pattern = (char *) 0  ) 

const char* Puma::PathManager::iterate ( PathIterator  )  const

virtual void Puma::PathManager::addPath ( const char *  ,
const char *  = (const char *) 0 
) [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.

bool Puma::PathManager::lookupFile ( Filename  abs_name,
PFMConstIter iter 
) const

void Puma::PathManager::setDest ( const char *  ,
const char *   
)

void Puma::PathManager::protect ( const char *   ) 

long Puma::PathManager::numPaths (  )  const [inline]

long Puma::PathManager::numProts (  )  const [inline]

const char* Puma::PathManager::src ( long  pos  )  const [inline]

const char* Puma::PathManager::dest ( long  pos  )  const [inline]

RegComp* Puma::PathManager::prot ( long  pos  )  const [inline]

bool Puma::PathManager::isProtected ( const char *  file  )  const

bool Puma::PathManager::isBelow ( const char *  file,
PFMConstIter iter 
) const

bool Puma::PathManager::isBelow ( const char *  file  )  const [inline, virtual]

Reimplemented in Puma::Project.

virtual void Puma::PathManager::configure ( const Config  )  [virtual]

Reimplemented in Puma::Project.

virtual void Puma::PathManager::join ( PathManager  )  [virtual]

ErrorStream& Puma::PathManager::err (  )  const [inline]

bool Puma::PathManager::getDestinationPath ( const char *  filename,
ostream &  out 
) const




Puma Reference Manual. Created on 11 Jul 2008.