root/OpenSceneGraph/trunk/src/osgWrappers/osgDB/Serializer.cpp @ 8897

Revision 8897, 2.7 kB (checked in by robert, 6 years ago)

Added Serializer wrappers

Line 
1// ***************************************************************************
2//
3//   Generated automatically by genwrapper.
4//   Please DO NOT EDIT this file!
5//
6// ***************************************************************************
7
8#include <osgIntrospection/ReflectionMacros>
9#include <osgIntrospection/TypedMethodInfo>
10#include <osgIntrospection/StaticMethodInfo>
11#include <osgIntrospection/Attributes>
12
13#include <osg/Object>
14#include <osgDB/Input>
15#include <osgDB/Output>
16#include <osgDB/Serializer>
17
18// Must undefine IN and OUT macros defined in Windows headers
19#ifdef IN
20#undef IN
21#endif
22#ifdef OUT
23#undef OUT
24#endif
25
26TYPE_NAME_ALIAS(int, osgDB::IntLookup::Value)
27
28TYPE_NAME_ALIAS(std::map< std::string COMMA  osgDB::IntLookup::Value >, osgDB::IntLookup::StringToValue)
29
30TYPE_NAME_ALIAS(std::map< osgDB::IntLookup::Value COMMA  std::string >, osgDB::IntLookup::ValueToString)
31
32BEGIN_VALUE_REFLECTOR(osgDB::IntLookup)
33        I_DeclaringFile("osgDB/Serializer");
34        I_Constructor1(IN, osgDB::IntLookup::Value, defaultValue,
35                       Properties::NON_EXPLICIT,
36                       ____IntLookup__Value,
37                       "",
38                       "");
39        I_Method2(void, add, IN, osgDB::IntLookup::Value, value, IN, const char *, str,
40                  Properties::NON_VIRTUAL,
41                  __void__add__Value__C5_char_P1,
42                  "",
43                  "");
44        I_Method1(osgDB::IntLookup::Value, getValue, IN, const char *, str,
45                  Properties::NON_VIRTUAL,
46                  __Value__getValue__C5_char_P1,
47                  "",
48                  "");
49        I_Method1(const std::string &, getString, IN, osgDB::IntLookup::Value, value,
50                  Properties::NON_VIRTUAL,
51                  __C5_std_string_R1__getString__Value,
52                  "",
53                  "");
54        I_PublicMemberProperty(osgDB::IntLookup::StringToValue, _stringToValue);
55        I_PublicMemberProperty(osgDB::IntLookup::ValueToString, _valueToString);
56        I_PublicMemberProperty(osgDB::IntLookup::Value, _default);
57END_REFLECTOR
58
59BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Serializer)
60        I_DeclaringFile("osgDB/Serializer");
61        I_BaseType(osg::Referenced);
62        I_Constructor0(____Serializer,
63                       "",
64                       "");
65        I_Method2(bool, write, IN, osgDB::Output &, x, IN, const osg::Object &, x,
66                  Properties::PURE_VIRTUAL,
67                  __bool__write__osgDB_Output_R1__C5_osg_Object_R1,
68                  "",
69                  "");
70        I_Method3(bool, read, IN, osgDB::Input &, x, IN, osg::Object &, x, IN, bool &, x,
71                  Properties::PURE_VIRTUAL,
72                  __bool__read__osgDB_Input_R1__osg_Object_R1__bool_R1,
73                  "",
74                  "");
75END_REFLECTOR
76
77STD_MAP_REFLECTOR(std::map< osgDB::IntLookup::Value COMMA  std::string >)
78
79STD_MAP_REFLECTOR(std::map< std::string COMMA  osgDB::IntLookup::Value >)
Note: See TracBrowser for help on using the browser.