20 #ifndef LUNCHBOX_FILE_H    21 #define LUNCHBOX_FILE_H    24 #include <lunchbox/compiler.h>    37                                      const std::string& pattern);
    42 LUNCHBOX_API std::string 
getFilename(
const std::string& filename);
    47 LUNCHBOX_API std::string 
getDirname(
const std::string& filename);
   105 LUNCHBOX_API 
bool saveBinary(
const servus::Serializable& 
object,
   106                              const std::string& filename);
   109 LUNCHBOX_API 
bool loadBinary(servus::Serializable& 
object,
   110                              const std::string& filename);
   113 LUNCHBOX_API 
bool saveAscii(
const servus::Serializable& 
object,
   114                             const std::string& filename);
   117 LUNCHBOX_API 
bool loadAscii(servus::Serializable& 
object,
   118                             const std::string& filename);
   121 #endif // LUNCHBOX_FILE_H std::string getRootDir()
Get the absolute path to the root directory of the current executable. 
 
bool loadAscii(servus::Serializable &object, const std::string &filename)
Load from ascii (JSON) file. 
 
Defines export visibility macros for library Lunchbox. 
 
Basic type definitions not provided by the operating system. 
 
std::string getExecutableDir()
Get the absolute directory of the current executable. 
 
bool loadBinary(servus::Serializable &object, const std::string &filename)
Load from binary file. 
 
Strings searchDirectory(const std::string &directory, const std::string &pattern)
Retrieve a list of files in a directory matching a boost::regex pattern. 
 
std::string getExecutablePath()
 
std::string getRootPath()
 
bool saveBinary(const servus::Serializable &object, const std::string &filename)
Save binary to file. 
 
std::string getLibraryPath()
 
std::vector< std::string > Strings
A vector of std::strings. 
 
std::string getDirname(const std::string &filename)
 
Abstraction layer and common utilities for multi-threaded programming. 
 
Strings getLibraryPaths()
 
bool saveAscii(const servus::Serializable &object, const std::string &filename)
Save ascii (JSON) to file. 
 
std::string getFilename(const std::string &filename)