Classes | |
| class | DirIter | 
| A class for iterating over all items in a directory.  More... | |
Functions | |
| template<typename... Args> | |
| std::string | append (Args const &... args) | 
| Append one or more additional path elements to the first passed in argument.  More... | |
| IGNITION_SDFORMAT_VISIBLE std::string | basename (const std::string &_path) | 
| Given a path, get just the basename portion.  More... | |
| IGNITION_SDFORMAT_VISIBLE bool | create_directory (const std::string &_path) | 
| Create a new directory on the filesystem.  More... | |
| IGNITION_SDFORMAT_VISIBLE std::string | current_path () | 
| Get the current working path.  More... | |
| IGNITION_SDFORMAT_VISIBLE bool | exists (const std::string &_path) | 
| Determine whether the given path exists on the filesystem.  More... | |
| IGNITION_SDFORMAT_VISIBLE bool | is_directory (const std::string &_path) | 
| Determine whether the given path is a directory.  More... | |
| IGNITION_SDFORMAT_VISIBLE const std::string | separator (std::string const &_s) | 
| Append the preferred path separator character for this platform onto the passed-in string.  More... | |
| std::string sdf::v12::filesystem::append | ( | Args const &... | args | ) | 
Append one or more additional path elements to the first passed in argument.
| [in] | args | The paths to append together | 
References separator().
| IGNITION_SDFORMAT_VISIBLE std::string sdf::v12::filesystem::basename | ( | const std::string & | _path | ) | 
Given a path, get just the basename portion.
| [in] | _path | The full path. | 
| IGNITION_SDFORMAT_VISIBLE bool sdf::v12::filesystem::create_directory | ( | const std::string & | _path | ) | 
Create a new directory on the filesystem.
Intermediate directories must already exist.
| [in] | _path | The new directory path to create | 
| IGNITION_SDFORMAT_VISIBLE std::string sdf::v12::filesystem::current_path | ( | ) | 
Get the current working path.
| IGNITION_SDFORMAT_VISIBLE bool sdf::v12::filesystem::exists | ( | const std::string & | _path | ) | 
Determine whether the given path exists on the filesystem.
| [in] | _path | The path to check for existence | 
| IGNITION_SDFORMAT_VISIBLE bool sdf::v12::filesystem::is_directory | ( | const std::string & | _path | ) | 
Determine whether the given path is a directory.
| [in] | _path | The path to check | 
| IGNITION_SDFORMAT_VISIBLE const std::string sdf::v12::filesystem::separator | ( | std::string const & | _s | ) | 
Append the preferred path separator character for this platform onto the passed-in string.
| [in] | _s | The path to start with. | 
Referenced by append().