GME  13
Public Member Functions | Static Public Member Functions
Path Class Reference

#include <Path.h>

List of all members.

Public Member Functions

 Path (const std::string &pi_path, apr_pool_t *pool)
 Path (const char *pi_path, apr_pool_t *pool)
 Path (const Path &pi_path)
Pathoperator= (const Path &)
const std::stringpath () const
const char * c_str () const
svn_error_terror_occured () const

Static Public Member Functions

static bool isValid (const char *path)

Detailed Description

Encapsulation for Subversion Path handling

Definition at line 32 of file Path.h.


Constructor & Destructor Documentation

Path::Path ( const std::string pi_path,
apr_pool_t pool 
)

Constructor that takes a string as parameter. The string is converted to subversion internal representation. The string is copied.

Parameters:
pi_pathPath string
Path::Path ( const char *  pi_path,
apr_pool_t pool 
)

Constructor

See also:
Path::Path (const std::string &)
Parameters:
pi_pathPath string
Path::Path ( const Path pi_path)

Copy constructor

Parameters:
pi_pathPath to be copied

Member Function Documentation

const char* Path::c_str ( ) const
Returns:
Path string as c string
static bool Path::isValid ( const char *  path) [static]

Returns whether path is non-NULL and passes the svn_path_check_valid() test.

Since:
1.4.0
Path& Path::operator= ( const Path )

Assignment operator

const std::string& Path::path ( ) const
Returns:
Path string

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