v_1_0_0::ReaderAndFormatHolder class
#include <calculators.hpp>
Interface for a class that holds formats and readers.
The default constructor initializes Formats and FileReaderDescriptors with their respective sets from FileReaderRegistry.
Derived classes
-
template<class ReaderType>class v_1_0_0::FileReaderProvider
- Base class for classes that create opaque readers.
-
template<class ReaderType>class v_1_0_0::FileReaderProvider
- Base class for classes that create opaque readers.
-
template<class ReaderType>class v_1_0_0::FileReaderProvider
- Base class for classes that create opaque readers.
Constructors, destructors, conversion operators
- ReaderAndFormatHolder()
- Constructor.
- ~ReaderAndFormatHolder() pure virtual noexcept
- Pure virtual default descriptor.
Public functions
- auto formats() const -> const FormatList*
- List of formats supported by this instance.
- auto readers() const -> const FileReaders*
- Get the FileReaders used by this instance.
- void set_formats(const FormatList* formats)
- Set the list of formats supported by this instance.
- void set_readers(const FileReaders* readers)
- Set the FileReaders for this instance.
Function documentation
arcsdec:: v_1_0_0:: ReaderAndFormatHolder:: ReaderAndFormatHolder()
Constructor.
Initializes the formats and readers from FileReaderRegistry.
const FormatList* arcsdec:: v_1_0_0:: ReaderAndFormatHolder:: formats() const
List of formats supported by this instance.
| Returns | List of supported formats. |
|---|
const FileReaders* arcsdec:: v_1_0_0:: ReaderAndFormatHolder:: readers() const
Get the FileReaders used by this instance.
| Returns | The MetadataParserSelection used by this instance |
|---|
void arcsdec:: v_1_0_0:: ReaderAndFormatHolder:: set_formats(const FormatList* formats)
Set the list of formats supported by this instance.
| Parameters | |
|---|---|
| formats in | The list of supported formats. |
void arcsdec:: v_1_0_0:: ReaderAndFormatHolder:: set_readers(const FileReaders* readers)
Set the FileReaders for this instance.
| Parameters | |
|---|---|
| readers in | The set of available FileReaderDescriptors to use |