String source associated to a file.
More...
#include <globjects/include/globjects/base/File.h>
String source associated to a file.
The file path of a File can be queried using filePath(); To reload the contents from a file, use reload().
- See also
- StringSource
globjects::File::File |
( |
const std::string & |
filePath, |
|
|
bool |
binary = true |
|
) |
| |
virtual globjects::File::~File |
( |
| ) |
|
|
protectedvirtual |
virtual std::string globjects::File::string |
( |
| ) |
const |
|
overridevirtual |
virtual std::string globjects::File::shortInfo |
( |
| ) |
const |
|
overridevirtual |
const std::string& globjects::File::filePath |
( |
| ) |
const |
void globjects::File::reload |
( |
| ) |
|
static void globjects::File::reloadAll |
( |
| ) |
|
|
static |
void globjects::File::loadFileContent |
( |
| ) |
const |
|
protected |
std::string globjects::File::m_filePath |
|
protected |
bool globjects::File::m_binary |
|
protected |
std::string globjects::File::m_source |
|
mutableprotected |
bool globjects::File::m_valid |
|
mutableprotected |
The documentation for this class was generated from the following file: