PathB_t Class Reference

Class to encapsulate a path to a file or directory and facilitate path operations, with a built-in PATH_MAX sized buffer. More...

#include <UTPath.h>

Inheritance diagram for PathB_t:
Path_t String_t Buffer_t

List of all members.

Public Member Functions

 PathB_t ()
 PathB_t (stringliteral *path)
 PathB_t (const utf8 *path)
 PathB_t (const Path_t &path)
 PathB_t (const String_t &path)
const Path_toperator= (stringliteral *path)
const Path_toperator= (const utf8 *path)
const Path_toperator= (const Path_t &path)
const Path_toperator= (const String_t &path)

Detailed Description

Class to encapsulate a relative or absolute path to a file or directory and facilitate path operations without the developer having to be concerned with platforms like Windows which use a nonstandard path delimiter. Tne PathB_t version incorperates a built-in buffer of length PATH_MAX.

Definition at line 487 of file UTPath.h.


Constructor & Destructor Documentation

PathB_t::PathB_t (  )  [inline]

Constructor for an empty path.

Definition at line 827 of file UTPath.h.

PathB_t::PathB_t ( stringliteral path  )  [inline]

Constructor which initializes itself using the specified string. The path string is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Definition at line 833 of file UTPath.h.

PathB_t::PathB_t ( const utf8 path  )  [inline]

Constructor which initializes itself using the specified string. The path string is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Definition at line 841 of file UTPath.h.

PathB_t::PathB_t ( const Path_t path  )  [inline]

Copy constructor. A file does not need to exist at the path to be valid.

Definition at line 849 of file UTPath.h.

PathB_t::PathB_t ( const String_t path  )  [inline]

Constructor which initializes itself using the specified string. The path string is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Definition at line 857 of file UTPath.h.


Member Function Documentation

const Path_t & PathB_t::operator= ( stringliteral path  )  [inline]

Copies the specified path string into this. The path string is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Reimplemented from Path_t.

Definition at line 865 of file UTPath.h.

const Path_t & PathB_t::operator= ( const utf8 path  )  [inline]

Copies the specified path string into this. The path string is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Reimplemented from Path_t.

Definition at line 873 of file UTPath.h.

const Path_t & PathB_t::operator= ( const Path_t path  )  [inline]

Copies the specified path into this. The path is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Definition at line 881 of file UTPath.h.

const Path_t & PathB_t::operator= ( const String_t path  )  [inline]

Copies the specified path string into this. The path string is assumed to be valid. If it is not, subsequent operations will fail. A file does not need to exist at the path to be valid.

Reimplemented from Path_t.

Definition at line 889 of file UTPath.h.


The documentation for this class was generated from the following file:

Generated on Tue Dec 14 22:35:07 2010 for UT library by  doxygen 1.6.1