Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::RepresentationConverterFactory< BaseRepr > Class Template Reference

#include <representationconverterfactory.h>

Inheritance diagram for inviwo::RepresentationConverterFactory< BaseRepr >:

Public Types

using ConverterID = typename RepresentationConverter<BaseRepr>::ConverterID
using RepMap = std::unordered_map<ConverterID, RepresentationConverter<BaseRepr>*>
using PackageMap
Public Types inherited from inviwo::BaseRepresentationConverterFactory
using BaseReprId = std::type_index

Public Member Functions

virtual BaseReprId getBaseReprId () override final
const RepMap & getConverters () const
bool registerObject (RepresentationConverter< BaseRepr > *representationConverter)
bool unRegisterObject (RepresentationConverter< BaseRepr > *representationConverter)
const RepresentationConverterPackage< BaseRepr > * getRepresentationConverter (ConverterID)
const RepresentationConverterPackage< BaseRepr > * getRepresentationConverter (std::type_index from, std::type_index to)

Detailed Description

Member Typedef Documentation

◆ PackageMap

template<typename BaseRepr>
using inviwo::RepresentationConverterFactory< BaseRepr >::PackageMap
Initial value:
std::unordered_multimap<ConverterID,
std::unique_ptr<RepresentationConverterPackage<BaseRepr>>>

Member Function Documentation

◆ getBaseReprId()

template<typename BaseRepr>
auto inviwo::RepresentationConverterFactory< BaseRepr >::getBaseReprId ( )
finaloverridevirtual

The documentation for this class was generated from the following file:
  • representationconverterfactory.h