file_specification Class Reference

Ratpac-two: file_specification Class Reference
Ratpac-two
file_specification Class Reference

Public Member Functions

bool initialise_folder (const std::string &spec)
 
bool initialise_file (const std::string &spec)
 
bool simplify (void)
 
bool make_absolute (const std::string &root=folder_current_full())
 
bool make_absolute (const file_specification &root)
 
bool make_relative (const std::string &root)
 
bool make_relative (const file_specification &root)
 
bool relative (void) const
 
bool absolute (void) const
 
void set_relative (void)
 
void set_absolute (void)
 
const std::string & drive (void) const
 
std::string & drive (void)
 
void set_drive (const std::string &_drive)
 
const std::vector< std::string > & path (void) const
 
std::vector< std::string > & path (void)
 
void set_path (const std::vector< std::string > &_path)
 
void add_subpath (const std::string &subpath)
 
unsigned subpath_size (void) const
 
const std::string & subpath_element (unsigned i) const
 
void subpath_erase (unsigned i)
 
const std::string & file (void) const
 
std::string & file (void)
 
void set_file (const std::string &_file)
 
std::string image (void) const
 
otextprint (otext &str) const
 

Friends

otextoperator<< (otext &str, const file_specification &spec)
 

The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/external/stlplus/src/file_system.cc