From eed365aef46e606b1ac8929ffa135b2c6fede0c9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 25 Jul 2008 20:49:17 +0000 Subject: [PATCH] Added PluginQuery function to wrappers --- src/osgWrappers/osgDB/PluginQuery.cpp | 81 +++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 src/osgWrappers/osgDB/PluginQuery.cpp diff --git a/src/osgWrappers/osgDB/PluginQuery.cpp b/src/osgWrappers/osgDB/PluginQuery.cpp new file mode 100644 index 000000000..d4ab5b4fe --- /dev/null +++ b/src/osgWrappers/osgDB/PluginQuery.cpp @@ -0,0 +1,81 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriterInfo) + I_DeclaringFile("osgDB/PluginQuery"); + I_BaseType(osg::Referenced); + I_Constructor0(____ReaderWriterInfo, + "", + ""); + I_PublicMemberProperty(std::string, plugin); + I_PublicMemberProperty(std::string, description); + I_PublicMemberProperty(osgDB::ReaderWriter::FormatDescriptionMap, protocols); + I_PublicMemberProperty(osgDB::ReaderWriter::FormatDescriptionMap, extensions); + I_PublicMemberProperty(osgDB::ReaderWriter::FormatDescriptionMap, options); +END_REFLECTOR + +TYPE_NAME_ALIAS(std::list< std::string >, osgDB::FileNameList) + +TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgDB::ReaderWriterInfo > >, osgDB::ReaderWriterInfoList) + +BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriterInfo >) + I_DeclaringFile("osg/ref_ptr"); + I_Constructor0(____ref_ptr, + "", + ""); + I_Constructor1(IN, osgDB::ReaderWriterInfo *, ptr, + Properties::NON_EXPLICIT, + ____ref_ptr__T_P1, + "", + ""); + I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriterInfo > &, rp, + Properties::NON_EXPLICIT, + ____ref_ptr__C5_ref_ptr_R1, + "", + ""); + I_Method0(osgDB::ReaderWriterInfo *, get, + Properties::NON_VIRTUAL, + __T_P1__get, + "", + ""); + I_Method0(bool, valid, + Properties::NON_VIRTUAL, + __bool__valid, + "", + ""); + I_Method0(osgDB::ReaderWriterInfo *, release, + Properties::NON_VIRTUAL, + __T_P1__release, + "", + ""); + I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriterInfo > &, rp, + Properties::NON_VIRTUAL, + __void__swap__ref_ptr_R1, + "", + ""); + I_SimpleProperty(osgDB::ReaderWriterInfo *, , + __T_P1__get, + 0); +END_REFLECTOR + +STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgDB::ReaderWriterInfo > >) +