Inviwo  0.9.10.1
Inviwo documentation
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 (const std::string &srcClassIdentifier, const std::string &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: