All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Typedefs | Functions
path.hpp File Reference
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <stddef.h>
#include <string>
#include <vector>

Go to the source code of this file.


 Show stacktrace on unix, do not include directly.


using inexor::filesystem::Path = boost::filesystem::path


const std::string inexor::filesystem::filecontents (const std::string &filename)
 Retrieve the contents of a text file. More...
const std::string inexor::filesystem::filecontents_partly (const std::string &filename, size_t start_line, size_t end_line)
 Load the contents of a file in a specific section. More...
std::vector< Path > & inexor::filesystem::list_files (Path folder, std::vector< Path > &file_list, Path ext)
 Retrieve a list of all files inside a folder (non recursively!). More...