PUMA Library Reference Manual
|
#include <Puma/PathInfo.h>
A path information object consists of a source and optionally its destination path.
For comparison purposes the canonical version of the source path can be stored.
Public Member Functions | |
PathInfo () | |
Contruct a new empty path information object. | |
PathInfo (const PathInfo &other) | |
Copy-constructor. | |
~PathInfo () | |
Destroy this object and free the stored paths. | |
PathInfo & | operator= (const PathInfo &other) |
Assign another path information object to this one. | |
void | src (const char *path) |
Set the source path. | |
void | srcCanonical (const char *path) |
Set the canonical variant of the source path. | |
void | dest (const char *path) |
Set the destination path. | |
const char * | src () const |
Get the source path. | |
const char * | srcCanonical () const |
Get the canonical variant of the source path. | |
const char * | dest () const |
Get the destination path. | |
|
inline |
Contruct a new empty path information object.
Puma::PathInfo::PathInfo | ( | const PathInfo & | other | ) |
Copy-constructor.
other | The other path information object to copy. |
Puma::PathInfo::~PathInfo | ( | ) |
Destroy this object and free the stored paths.
|
inline |
Get the destination path.
void Puma::PathInfo::dest | ( | const char * | path | ) |
Set the destination path.
Assign another path information object to this one.
other | The other path information object to copy. |
|
inline |
Get the source path.
void Puma::PathInfo::src | ( | const char * | path | ) |
Set the source path.
|
inline |
Get the canonical variant of the source path.
void Puma::PathInfo::srcCanonical | ( | const char * | path | ) |
Set the canonical variant of the source path.