|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Abstract interface defining lookup capabilities for file reader discovery and instantiation. More...
#include <IReaderRegistry.hpp>

Public Member Functions | |
| IReaderRegistry ()=default | |
| virtual | ~IReaderRegistry ()=default |
| IReaderRegistry (const IReaderRegistry &)=delete | |
| IReaderRegistry & | operator= (const IReaderRegistry &)=delete |
| IReaderRegistry (IReaderRegistry &&)=delete | |
| IReaderRegistry & | operator= (IReaderRegistry &&)=delete |
| virtual BaseReader * | getReaderForExtension (const ReaderExtensionQuery &query) const =0 |
| Finds a reader matching the given file extension and optional filename sniffing query. | |
| virtual BaseReader * | getReaderForExtension (std::string_view extension) const =0 |
| Finds a reader matching the given file extension. | |
| virtual std::vector< std::string > | getAllExtensions () const =0 |
| Returns a list of all file extensions supported by the registry. | |
| virtual const std::vector< std::unique_ptr< BaseReader > > & | getReaders () const =0 |
| Returns all registered reader instances. | |
Abstract interface defining lookup capabilities for file reader discovery and instantiation.
|
default |

|
virtualdefault |
|
delete |

|
delete |

|
nodiscardpure virtual |
Returns a list of all file extensions supported by the registry.
Implemented in correlation::readers::ReaderFactory.
|
nodiscardpure virtual |
Finds a reader matching the given file extension and optional filename sniffing query.
| [in] | query | Structure containing extension and optional file path. |
Implemented in correlation::readers::ReaderFactory.
|
nodiscardpure virtual |
Finds a reader matching the given file extension.
| [in] | extension | File extension (e.g., ".xyz", ".poscar"). |
Implemented in correlation::readers::ReaderFactory.
|
nodiscardpure virtual |
Returns all registered reader instances.
Implemented in correlation::readers::ReaderFactory.
|
delete |

|
delete |
