Puma Reference Manual | Puma: Puma::FileUnit Class Reference |
#include <FileUnit.h>
Public Member Functions | |
FileUnit () | |
FileUnit (Unit &) | |
FileUnit (const List &) | |
virtual | ~FileUnit () |
virtual void | name (const char *) |
Set the name of the unit (usually the file name). | |
void | setLocation (const char *) |
char * | lastLocation () const |
char * | absolutePath () const |
bool | isFile () const |
Check if this is a unit for a file. | |
bool | belongsTo (Project &) |
Static Public Member Functions | |
static char * | absolutePath (const char *) |
static char * | resolvePath (const char *) |
Puma::FileUnit::FileUnit | ( | ) | [inline] |
Puma::FileUnit::FileUnit | ( | Unit & | unit | ) | [inline] |
Puma::FileUnit::FileUnit | ( | const List & | list | ) | [inline] |
Puma::FileUnit::~FileUnit | ( | ) | [inline, virtual] |
char * Puma::FileUnit::absolutePath | ( | ) | const [inline] |
static char* Puma::FileUnit::absolutePath | ( | const char * | ) | [static] |
bool Puma::FileUnit::belongsTo | ( | Project & | ) |
bool Puma::FileUnit::isFile | ( | ) | const [inline, virtual] |
Check if this is a unit for a file.
Reimplemented from Puma::Unit.
char * Puma::FileUnit::lastLocation | ( | ) | const [inline] |
virtual void Puma::FileUnit::name | ( | const char * | name | ) | [virtual] |
Set the name of the unit (usually the file name).
name | The name. |
Reimplemented from Puma::Unit.
static char* Puma::FileUnit::resolvePath | ( | const char * | ) | [static] |
void Puma::FileUnit::setLocation | ( | const char * | ) |