|
| virtual JSONReader * | clone () const override |
|
| JSONReader (const JSONReader &)=default |
|
| JSONReader (JSONReader &&) noexcept=default |
|
JSONReader & | operator= (const JSONReader &)=default |
|
JSONReader & | operator= (JSONReader &&) noexcept=default |
| virtual std::shared_ptr< json > | readData (const std::filesystem::path &fileName) override |
|
virtual std::shared_ptr< json > | readData (const std::filesystem::path &filePath, MetaDataOwner *) override |
|
std::shared_ptr< json > | readData (std::istream &stream) const |
|
DataReaderType & | operator= (const DataReaderType &that)=default |
|
void | addExtension (FileExtension ext) |
|
| DataReader (const DataReader &rhs)=default |
|
| DataReader (DataReader &&rhs) noexcept=default |
|
const std::vector< FileExtension > & | getExtensions () const |
| virtual std::any | getOption (std::string_view key) |
| | Query the value of an reader specific option.
|
|
DataReader & | operator= (const DataReader &that)=default |
|
DataReader & | operator= (DataReader &&that) noexcept=default |
|
template<typename T> |
| bool | readsType () const |
| virtual bool | setOption (std::string_view key, std::any value) |
| | Set reader specific options See the documentation of the specific reader for the available options.
|
|
| virtual bool | canRead (const std::type_index &index) const override |
| static void | checkExists (const std::filesystem::path &path) |
|
static std::filesystem::path | downloadAndCacheIfUrl (const std::filesystem::path &url) |
| static std::ifstream | open (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::in) |
|
static std::ifstream | openAndCacheIfUrl (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::in) |
| static std::string | readFileContents (const std::filesystem::path &path) |
|
std::vector< FileExtension > | extensions_ |
◆ clone()
| virtual JSONReader * inviwo::JSONReader::clone |
( |
| ) |
const |
|
overridevirtual |
◆ readData()
| virtual std::shared_ptr< json > inviwo::JSONReader::readData |
( |
const std::filesystem::path & | fileName | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- modules/json/include/modules/json/io/jsonreader.h