All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
path.cpp File Reference
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path_traits.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include <boost/system/error_code.hpp>
#include <fstream>
#include <vector>
#include "inexor/io/filesystem/path.hpp"


 Show stacktrace on unix, do not include directly.


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