Puma Reference Manual Puma: Puma::Project Class Reference



Puma::Project Class Reference

#include <Project.h>

Inherits Puma::PathManager, and Puma::SaveMode.

Inherited by Puma::CProject.

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

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

Reimplemented from Puma::PathManager.

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

Reimplemented from Puma::PathManager.

Reimplemented in Puma::CProject.

bool Puma::Project::checkState ( const char *  ,
Unit  
) const [protected]
void Puma::Project::close ( const char *  name = (const char *) 0,
bool  destroy = false,
bool  is_reg_ex = false 
) const
virtual void Puma::Project::configure ( const Config  )  [virtual]

Reimplemented from Puma::PathManager.

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

Reimplemented from Puma::PathManager.

bool Puma::Project::isNewer ( const char *   )  const
void Puma::Project::print ( const char *  name = (const char *) 0,
ostream &  out = cout,
bool  is_reg_ex = false 
) const
virtual void Puma::Project::save ( const char *  file = (const char *) 0,
bool  only_modified = false,
bool  is_reg_ex = false 
) const [virtual]
virtual void Puma::Project::save ( Unit ,
bool  = false 
) const [virtual]
void Puma::Project::saveMode ( Mode  = OVERWRITE,
const char *  suffix = (const char *) 0 
)
UnitManager & Puma::Project::unitManager (  )  [inline]
void Puma::Project::updateState ( const char *  ,
Unit  
) const [protected]
virtual void Puma::Project::write ( Unit unit,
ofstream &   
) const [protected, virtual]



Puma Reference Manual. Created on 11 Sep 2009.