Puma Reference Manual Puma: Puma::FileUnit Class Reference



Puma::FileUnit Class Reference

#include <FileUnit.h>

Inherits Puma::Unit.

List of all members.

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 *)

Constructor & Destructor Documentation

Puma::FileUnit::FileUnit (  )  [inline]
Puma::FileUnit::FileUnit ( Unit unit  )  [inline]
Puma::FileUnit::FileUnit ( const List list  )  [inline]
Puma::FileUnit::~FileUnit (  )  [inline, virtual]

Member Function Documentation

static char* Puma::FileUnit::absolutePath ( const char *   )  [static]
char * Puma::FileUnit::absolutePath (  )  const [inline]
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).

Parameters:
name The name.

Reimplemented from Puma::Unit.

static char* Puma::FileUnit::resolvePath ( const char *   )  [static]
void Puma::FileUnit::setLocation ( const char *   ) 



Puma Reference Manual. Created on 11 Sep 2009.