IOFormat 1.12.0
Loading...
Searching...
No Matches
ioformat::FormatPlugin Class Referenceabstract

Plugin class for format encoding/decoding. More...

#include <ioformat/plugin/FormatPlugin.h>

Inherits ioformat::Plugin.

Inherited by ioformat::ExtractorPlugin, and ioformat::WriterPlugin.

Public Member Functions

virtual const StringSet & supportedFormats () const =0
 Get the formats supported by the plugin.
 
virtual const StringMap & extensionMap () const =0
 Retrieve a mapping that associates file extensions with formats.
 
- Public Member Functions inherited from ioformat::Plugin
virtual uint64_t api () const =0
 Get the API version of the plugin.
 
virtual const std::string & name () const =0
 Get the name of the plugin.
 
virtual const PluginVersionversion () const =0
 Get the version of the plugin.
 
virtual void initLog (iolink::LogLevel level)=0
 Initialize the plugin's logger.
 

Additional Inherited Members

- Public Types inherited from ioformat::Plugin
using StringSet = std::unordered_set< std::string >
 
using StringMap = std::unordered_map< std::string, std::string >
 

Detailed Description

Plugin class for format encoding/decoding.

This class should not be used directly, inherit from ExtractorPlugin or WriterPlugin instead.


The documentation for this class was generated from the following file: