MeshLib Documentation
Loading...
Searching...
No Matches
MR::FormatRegistry< Processor > Class Template Reference

#include <MRIOFormatsRegistry.h>

Static Public Member Functions

static const IOFiltersgetFilters ()
 
static Processor getProcessor (const IOFilter &filter)
 
static Processor getProcessor (const std::string &extension)
 
static void setProcessor (const IOFilter &filter, Processor processor, int8_t priorityScore=0)
 

Detailed Description

template<typename Processor>
class MR::FormatRegistry< Processor >

format loader registry NOTE: this is a singleton class, do NOT access it from header files you might use MR_FORMAT_REGISTRY_DECL and MR_FORMAT_REGISTRY_IMPL macros to simplify the usage for most common cases

Member Function Documentation

◆ getFilters()

template<typename Processor >
static const IOFilters & MR::FormatRegistry< Processor >::getFilters ( )
inlinestatic

◆ getProcessor() [1/2]

template<typename Processor >
static Processor MR::FormatRegistry< Processor >::getProcessor ( const IOFilter & filter)
inlinestatic

◆ getProcessor() [2/2]

template<typename Processor >
static Processor MR::FormatRegistry< Processor >::getProcessor ( const std::string & extension)
inlinestatic

◆ setProcessor()

template<typename Processor >
static void MR::FormatRegistry< Processor >::setProcessor ( const IOFilter & filter,
Processor processor,
int8_t priorityScore = 0 )
inlinestatic

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