Added Serializer wrappers

This commit is contained in:
Robert Osfield
2008-09-18 16:03:34 +00:00
parent 90d5c9d0c6
commit 44113cfa14

View File

@@ -0,0 +1,80 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Object>
#include <osgDB/Input>
#include <osgDB/Output>
#include <osgDB/Serializer>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(int, osgDB::IntLookup::Value)
TYPE_NAME_ALIAS(std::map< std::string COMMA osgDB::IntLookup::Value >, osgDB::IntLookup::StringToValue)
TYPE_NAME_ALIAS(std::map< osgDB::IntLookup::Value COMMA std::string >, osgDB::IntLookup::ValueToString)
BEGIN_VALUE_REFLECTOR(osgDB::IntLookup)
I_DeclaringFile("osgDB/Serializer");
I_Constructor1(IN, osgDB::IntLookup::Value, defaultValue,
Properties::NON_EXPLICIT,
____IntLookup__Value,
"",
"");
I_Method2(void, add, IN, osgDB::IntLookup::Value, value, IN, const char *, str,
Properties::NON_VIRTUAL,
__void__add__Value__C5_char_P1,
"",
"");
I_Method1(osgDB::IntLookup::Value, getValue, IN, const char *, str,
Properties::NON_VIRTUAL,
__Value__getValue__C5_char_P1,
"",
"");
I_Method1(const std::string &, getString, IN, osgDB::IntLookup::Value, value,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getString__Value,
"",
"");
I_PublicMemberProperty(osgDB::IntLookup::StringToValue, _stringToValue);
I_PublicMemberProperty(osgDB::IntLookup::ValueToString, _valueToString);
I_PublicMemberProperty(osgDB::IntLookup::Value, _default);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Serializer)
I_DeclaringFile("osgDB/Serializer");
I_BaseType(osg::Referenced);
I_Constructor0(____Serializer,
"",
"");
I_Method2(bool, write, IN, osgDB::Output &, x, IN, const osg::Object &, x,
Properties::PURE_VIRTUAL,
__bool__write__osgDB_Output_R1__C5_osg_Object_R1,
"",
"");
I_Method3(bool, read, IN, osgDB::Input &, x, IN, osg::Object &, x, IN, bool &, x,
Properties::PURE_VIRTUAL,
__bool__read__osgDB_Input_R1__osg_Object_R1__bool_R1,
"",
"");
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< osgDB::IntLookup::Value COMMA std::string >)
STD_MAP_REFLECTOR(std::map< std::string COMMA osgDB::IntLookup::Value >)