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
◆ File()
globjects::File::File |
( |
const std::string & |
filePath, |
|
|
bool |
binary = true |
|
) |
| |
◆ ~File()
virtual globjects::File::~File |
( |
| ) |
|
|
protectedvirtual |
◆ string()
virtual std::string globjects::File::string |
( |
| ) |
const |
|
overridevirtual |
◆ shortInfo()
virtual std::string globjects::File::shortInfo |
( |
| ) |
const |
|
overridevirtual |
◆ filePath()
const std::string& globjects::File::filePath |
( |
| ) |
const |
◆ reload()
void globjects::File::reload |
( |
| ) |
|
◆ reloadAll()
static void globjects::File::reloadAll |
( |
| ) |
|
|
static |
◆ loadFileContent()
void globjects::File::loadFileContent |
( |
| ) |
const |
|
protected |
◆ m_filePath
std::string globjects::File::m_filePath |
|
protected |
◆ m_binary
bool globjects::File::m_binary |
|
protected |
◆ m_source
std::string globjects::File::m_source |
|
mutableprotected |
◆ m_valid
bool globjects::File::m_valid |
|
mutableprotected |
The documentation for this class was generated from the following file: