|
| JSONReader (const JSONReader &)=default |
| JSONReader (JSONReader &&) noexcept=default |
JSONReader & | operator= (const JSONReader &)=default |
JSONReader & | operator= (JSONReader &&) noexcept=default |
virtual JSONReader * | clone () const override |
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 |
| DataReader (const DataReader &rhs)=default |
| DataReader (DataReader &&rhs) noexcept=default |
DataReader & | operator= (const DataReader &that)=default |
DataReader & | operator= (DataReader &&that) noexcept=default |
const std::vector< FileExtension > & | getExtensions () const |
void | addExtension (FileExtension ext) |
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 std::any | getOption (std::string_view key) |
| Query the value of an reader specific option.
|
template<typename T> |
bool | readsType () const |
|
virtual bool | canRead (const std::type_index &index) const override |
static void | checkExists (const std::filesystem::path &path) |
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::filesystem::path | downloadAndCacheIfUrl (const std::filesystem::path &url) |
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: