3.4.0
tigl::CGlobalExporterConfigs Class Reference

#include <CGlobalExporterConfigs.h>

Public Member Functions

TIGL_EXPORT void Add (const std::string &supportedFileTypes, const ExporterOptions &config)
 
TIGL_EXPORT const ExporterOptionsGet (const std::string &fileType) const
 
TIGL_EXPORT ExporterOptionsGet (const std::string &fileType)
 

Static Public Member Functions

static TIGL_EXPORT CGlobalExporterConfigsInstance ()
 

Private Types

typedef std::map< std::string, size_t > IndexMap
 

Private Member Functions

 CGlobalExporterConfigs ()
 

Private Attributes

std::vector< ExporterOptionsm_configs
 
IndexMap m_index_map
 

Detailed Description

Singleton instance holding the configs

Member Typedef Documentation

◆ IndexMap

typedef std::map<std::string, size_t> tigl::CGlobalExporterConfigs::IndexMap
private

Constructor & Destructor Documentation

◆ CGlobalExporterConfigs()

tigl::CGlobalExporterConfigs::CGlobalExporterConfigs ( )
private

Member Function Documentation

◆ Add()

TIGL_EXPORT void tigl::CGlobalExporterConfigs::Add ( const std::string &  supportedFileTypes,
const ExporterOptions config 
)

◆ Get() [1/2]

TIGL_EXPORT const ExporterOptions& tigl::CGlobalExporterConfigs::Get ( const std::string &  fileType) const

◆ Get() [2/2]

TIGL_EXPORT ExporterOptions& tigl::CGlobalExporterConfigs::Get ( const std::string &  fileType)

◆ Instance()

static TIGL_EXPORT CGlobalExporterConfigs& tigl::CGlobalExporterConfigs::Instance ( )
static

Field Documentation

◆ m_configs

std::vector<ExporterOptions> tigl::CGlobalExporterConfigs::m_configs
private

◆ m_index_map

IndexMap tigl::CGlobalExporterConfigs::m_index_map
private

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