Puma Reference Manual Puma: Puma::PathManager Class Reference



Puma::PathManager Class Reference

#include <PathManager.h>

Inherited by Puma::Project.

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
char * addSeparator (const char *s, char *dest) const

Constructor & Destructor Documentation

Puma::PathManager::PathManager ( ErrorStream e  )  [inline]
Puma::PathManager::PathManager ( PathManager pm  )  [inline]
virtual Puma::PathManager::~PathManager (  )  [virtual]

Member Function Documentation

virtual void Puma::PathManager::action ( PathIterator  )  [inline, protected, virtual]
PFMConstIter Puma::PathManager::addFile ( Filename  name,
Filename  dest 
)

Reimplemented in Puma::Project.

PFMConstIter Puma::PathManager::addFile ( Filename  name  ) 

Reimplemented in Puma::Project, and Puma::CProject.

virtual void Puma::PathManager::addPath ( const char *  ,
const char *  = (const char *) 0 
) [virtual]
char* Puma::PathManager::addSeparator ( const char *  s,
char *  dest 
) const [protected]
char* Puma::PathManager::addSeparator ( const char *   )  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  )  const [inline, virtual]

Reimplemented in Puma::Project.

bool Puma::PathManager::isBelow ( const char *  file,
PFMConstIter iter 
) const
bool Puma::PathManager::isProtected ( const char *  file  )  const
const char* 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]



Puma Reference Manual. Created on 18 Sep 2009.