Inexor
 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.

Namespaces

 inexor
 Show stacktrace on unix, do not include directly.
 
 inexor::filesystem
 

Typedefs

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

Functions

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...