Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::TemplatePropertyConverter< SrcProperty, DstProperty > Class Template Referenceabstract
Inheritance diagram for inviwo::TemplatePropertyConverter< SrcProperty, DstProperty >:

Public Member Functions

virtual void convert (const Property *src, Property *dst) const override
Public Member Functions inherited from inviwo::PropertyConverter
 PropertyConverter (std::string_view srcClassIdentifier, std::string_view dstClassIdentifier)
std::string getSourcePropertyClassIdenetifier () const
std::string getDestinationPropertyClassIdenetifier () const

Protected Member Functions

virtual void convertimpl (const SrcProperty *src, DstProperty *dst) const =0

Additional Inherited Members

Protected Attributes inherited from inviwo::PropertyConverter
std::string srcClassIdentifier_
std::string dstClassIdentifier_

Member Function Documentation

◆ convert()

template<typename SrcProperty, typename DstProperty>
virtual void inviwo::TemplatePropertyConverter< SrcProperty, DstProperty >::convert ( const Property * srcProperty,
Property * dstProperty ) const
inlineoverridevirtual

convert requires that srcProperty and dstProperty has the same class identifiers as srcClassIdentifier and dstClassIdentifier, given in the constructor, i.e. the same types.

Reimplemented from inviwo::PropertyConverter.


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