23 lines
354 B
Plaintext
23 lines
354 B
Plaintext
|
#ifndef OSGINTROSPECTION_CONVERTERPROXY_
|
||
|
#define OSGINTROSPECTION_CONVERTERPROXY_
|
||
|
|
||
|
#include <osgIntrospection/Reflection>
|
||
|
|
||
|
namespace osgIntrospection
|
||
|
{
|
||
|
|
||
|
struct Converter;
|
||
|
|
||
|
struct ConverterProxy
|
||
|
{
|
||
|
ConverterProxy(const Type &source, const Type &dest, const Converter *cvt)
|
||
|
{
|
||
|
Reflection::registerConverter(source, dest, cvt);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
|