#include <textfilereader.h>
|
| TextFileReader (const std::string &filePath) |
|
virtual std::string | read (const std::string &filePath) |
|
virtual std::string | read () |
|
void | setFilePath (const std::string &filePath) |
|
const std::string & | getFilePath () const |
|
◆ read() [1/2]
std::string inviwo::TextFileReader::read |
( |
const std::string & |
filePath | ) |
|
|
virtual |
Read a file and return the content as a string. Throws an exception if file could not be opened and prints an error message to the error log.
- Parameters
-
- Returns
- Content of file.
◆ read() [2/2]
std::string inviwo::TextFileReader::read |
( |
| ) |
|
|
virtual |
Read a file and return the content as a string. Throws an exception if file could not be opened and prints an error message to the error log.
- Returns
- Content of file.
The documentation for this class was generated from the following files:
- textfilereader.h
- textfilereader.cpp