| 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] |
| 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.
| void Puma::FileUnit::setLocation | ( | const char * | ) |
| char * Puma::FileUnit::lastLocation | ( | ) | const [inline] |
| char * Puma::FileUnit::absolutePath | ( | ) | const [inline] |
| bool Puma::FileUnit::isFile | ( | ) | const [inline, virtual] |
| static char* Puma::FileUnit::absolutePath | ( | const char * | ) | [static] |
| static char* Puma::FileUnit::resolvePath | ( | const char * | ) | [static] |
| bool Puma::FileUnit::belongsTo | ( | Project & | ) |