Navigation

Operators and Keywords

Function List:

C++ API

dir_path Class Reference

#include <pathsearch.h>

Collaboration diagram for dir_path:

List of all members.


Classes

class  static_members

Public Member Functions

 dir_path (const std::string &s=std::string(), const std::string &d=std::string())
 dir_path (const dir_path &dp)
dir_pathoperator= (const dir_path &dp)
 ~dir_path (void)
void set (const std::string &s)
string_vector elements (void)
string_vector all_directories (void)
std::string find_first (const std::string &)
std::string find (const std::string &nm)
string_vector find_all (const std::string &)
std::string find_first_of (const string_vector &names)
string_vector find_all_first_of (const string_vector &names)
void rehash (void)

Static Public Member Functions

static char path_sep_char (void)
static void path_sep_char (char c)
static std::string path_sep_str (void)
static bool is_path_sep (char c)

Constructor & Destructor Documentation

dir_path::dir_path ( const std::string s = std::string (),
const std::string d = std::string () 
) [inline]

dir_path::dir_path ( const dir_path dp  )  [inline]

dir_path::~dir_path ( void   )  [inline]


Member Function Documentation

string_vector dir_path::all_directories ( void   ) 

string_vector dir_path::elements ( void   ) 

std::string dir_path::find ( const std::string nm  )  [inline]

string_vector dir_path::find_all ( const std::string nm  ) 

string_vector dir_path::find_all_first_of ( const string_vector names  ) 

std::string dir_path::find_first ( const std::string nm  ) 

std::string dir_path::find_first_of ( const string_vector names  ) 

static bool dir_path::is_path_sep ( char  c  )  [inline, static]

dir_path& dir_path::operator= ( const dir_path dp  )  [inline]

static void dir_path::path_sep_char ( char  c  )  [inline, static]

static char dir_path::path_sep_char ( void   )  [inline, static]

static std::string dir_path::path_sep_str ( void   )  [inline, static]

void dir_path::rehash ( void   )  [inline]

void dir_path::set ( const std::string s  )  [inline]


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