zorba::filesystem_path Class Reference

#include <zorba/util/path.h>

Inheritance diagram for zorba::filesystem_path:

Inheritance graph
[legend]

List of all members.

Public Types

enum  flags_t { CONVERT_SLASHES = 1 << 0, RESOLVE = 1 << 1 }

Public Member Functions

filesystem_path branch_path () const
const char * c_str ()
 filesystem_path ()
 filesystem_path (const filesystem_path &base, const filesystem_path &rel)
 filesystem_path (const std::string &path_, int flags=0)
const std::string & get_path () const
bool is_complete () const
bool is_root () const
 operator const std::string & () const
filesystem_pathoperator= (const std::string &p_)
void resolve_relative ()

Static Public Member Functions

static const char * get_path_separator ()


Detailed Description

Definition at line 10 of file path.h.


Member Enumeration Documentation

Enumerator:
CONVERT_SLASHES 
RESOLVE 

Definition at line 16 of file path.h.


Constructor & Destructor Documentation

zorba::filesystem_path::filesystem_path ( const std::string &  path_,
int  flags = 0 
)

zorba::filesystem_path::filesystem_path ( const filesystem_path base,
const filesystem_path rel 
) [inline]

Definition at line 25 of file path.h.

References get_path(), and is_complete().

zorba::filesystem_path::filesystem_path (  ) 


Member Function Documentation

filesystem_path zorba::filesystem_path::branch_path (  )  const

const char* zorba::filesystem_path::c_str (  )  [inline]

Definition at line 22 of file path.h.

const std::string& zorba::filesystem_path::get_path (  )  const [inline]

Definition at line 21 of file path.h.

Referenced by filesystem_path(), and zorba::operator<<().

static const char* zorba::filesystem_path::get_path_separator (  )  [static]

bool zorba::filesystem_path::is_complete (  )  const

Referenced by filesystem_path().

bool zorba::filesystem_path::is_root (  )  const

zorba::filesystem_path::operator const std::string & (  )  const [inline]

Definition at line 23 of file path.h.

filesystem_path& zorba::filesystem_path::operator= ( const std::string &  p_  )  [inline]

Definition at line 35 of file path.h.

void zorba::filesystem_path::resolve_relative (  ) 


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