Puma Reference Manual Puma: Puma::Project Class Reference



Puma::Project Class Reference

#include <Project.h>

Inheritance diagram for Puma::Project:

Inheritance graph

List of all members.

Public Member Functions

 Project (ErrorStream &)
virtual ~Project ()
void saveMode (Mode=OVERWRITE, const char *suffix=(const char *) 0)
virtual void save (Unit *, bool=false) const
virtual void save (const char *file=(const char *) 0, bool only_modified=false, bool is_reg_ex=false) const
void print (const char *name=(const char *) 0, ostream &out=cout, bool is_reg_ex=false) const
void close (const char *name=(const char *) 0, bool destroy=false, bool is_reg_ex=false) const
UnitaddFile (Filename)
UnitaddFile (Filename, Filename)
virtual void configure (const Config &)
UnitManagerunitManager ()
bool isNewer (const char *) const
virtual bool isBelow (const char *) const
virtual bool isBelow (Unit *) const

Protected Member Functions

virtual void write (Unit *unit, ofstream &) const
bool checkState (const char *, Unit *) const
void updateState (const char *, Unit *) const


Constructor & Destructor Documentation

Puma::Project::Project ( ErrorStream  ) 

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


Member Function Documentation

virtual void Puma::Project::write ( Unit unit,
ofstream &   
) const [protected, virtual]

bool Puma::Project::checkState ( const char *  ,
Unit  
) const [protected]

void Puma::Project::updateState ( const char *  ,
Unit  
) const [protected]

void Puma::Project::saveMode ( Mode  = OVERWRITE,
const char *  suffix = (const char *) 0 
)

virtual void Puma::Project::save ( Unit ,
bool  = false 
) const [virtual]

virtual void Puma::Project::save ( const char *  file = (const char *) 0,
bool  only_modified = false,
bool  is_reg_ex = false 
) const [virtual]

void Puma::Project::print ( const char *  name = (const char *) 0,
ostream &  out = cout,
bool  is_reg_ex = false 
) const

void Puma::Project::close ( const char *  name = (const char *) 0,
bool  destroy = false,
bool  is_reg_ex = false 
) const

Unit* Puma::Project::addFile ( Filename   ) 

Reimplemented from Puma::PathManager.

Reimplemented in Puma::CProject.

Unit* Puma::Project::addFile ( Filename  ,
Filename   
)

Reimplemented from Puma::PathManager.

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

Reimplemented from Puma::PathManager.

UnitManager & Puma::Project::unitManager (  )  [inline]

bool Puma::Project::isNewer ( const char *   )  const

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

Reimplemented from Puma::PathManager.

virtual bool Puma::Project::isBelow ( Unit  )  const [virtual]




Puma Reference Manual. Created on 11 Jul 2008.