Fixed genwrapper so that it handles .svn directories, updated wrappers

This commit is contained in:
Robert Osfield
2007-02-16 17:45:53 +00:00
parent 049f907aad
commit afab03a0fa
240 changed files with 10258 additions and 85887 deletions

View File

@@ -10,12 +10,12 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Object.svn-base>
#include <osg/.svn/text-base/StateAttribute.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Point>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -26,7 +26,6 @@
#endif
BEGIN_OBJECT_REFLECTOR(osg::Point)
I_BaseType(osg::StateAttribute);
I_BaseType(osg::StateAttribute);
I_Constructor0(____Point,
"",
@@ -38,32 +37,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
"Clone the type of an attribute, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
"Clone an attribute, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"Return true if this and obj are of the same kind of object. ",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"Return the name of the attribute's library. ",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"Return the name of the attribute's class type. ",
"");
I_Method0(Type, getType,
I_Method0(osg::StateAttribute::Type, getType,
Properties::VIRTUAL,
__Type__getType,
"",
"Return the Type identifier of the attribute's class type. ",
"");
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
Properties::VIRTUAL,
@@ -128,118 +127,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"",
"");
I_Constructor0(____Point,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Point__C5_Point_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(Type, getType,
Properties::VIRTUAL,
__Type__getType,
"",
"");
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
Properties::VIRTUAL,
__int__compare__C5_StateAttribute_R1,
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
"");
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
Properties::VIRTUAL,
__bool__getModeUsage__ModeUsage_R1,
"",
"");
I_Method1(void, setSize, IN, float, size,
Properties::NON_VIRTUAL,
__void__setSize__float,
"",
"");
I_Method0(float, getSize,
Properties::NON_VIRTUAL,
__float__getSize,
"",
"");
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
Properties::NON_VIRTUAL,
__void__setFadeThresholdSize__float,
"",
"");
I_Method0(float, getFadeThresholdSize,
Properties::NON_VIRTUAL,
__float__getFadeThresholdSize,
"",
"");
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
Properties::NON_VIRTUAL,
__void__setDistanceAttenuation__C5_Vec3_R1,
"",
"");
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getDistanceAttenuation,
"",
"");
I_Method1(void, setMinSize, IN, float, minSize,
Properties::NON_VIRTUAL,
__void__setMinSize__float,
"",
"");
I_Method0(float, getMinSize,
Properties::NON_VIRTUAL,
__float__getMinSize,
"",
"");
I_Method1(void, setMaxSize, IN, float, maxSize,
Properties::NON_VIRTUAL,
__void__setMaxSize__float,
"",
"");
I_Method0(float, getMaxSize,
Properties::NON_VIRTUAL,
__float__getMaxSize,
"",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"",
"");
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() allows users to override the extensions across graphics contexts. ",
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
"apply the OpenGL state attributes. ",
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
@@ -263,400 +152,13 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
I_SimpleProperty(float, Size,
__float__getSize,
__void__setSize__float);
I_SimpleProperty(Type, Type,
__Type__getType,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Point)
I_BaseType(osg::StateAttribute);
I_BaseType(osg::StateAttribute);
I_Constructor0(____Point,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Point__C5_Point_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(Type, getType,
Properties::VIRTUAL,
__Type__getType,
"",
"");
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
Properties::VIRTUAL,
__int__compare__C5_StateAttribute_R1,
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
"");
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
Properties::VIRTUAL,
__bool__getModeUsage__ModeUsage_R1,
"",
"");
I_Method1(void, setSize, IN, float, size,
Properties::NON_VIRTUAL,
__void__setSize__float,
"",
"");
I_Method0(float, getSize,
Properties::NON_VIRTUAL,
__float__getSize,
"",
"");
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
Properties::NON_VIRTUAL,
__void__setFadeThresholdSize__float,
"",
"");
I_Method0(float, getFadeThresholdSize,
Properties::NON_VIRTUAL,
__float__getFadeThresholdSize,
"",
"");
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
Properties::NON_VIRTUAL,
__void__setDistanceAttenuation__C5_Vec3_R1,
"",
"");
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getDistanceAttenuation,
"",
"");
I_Method1(void, setMinSize, IN, float, minSize,
Properties::NON_VIRTUAL,
__void__setMinSize__float,
"",
"");
I_Method0(float, getMinSize,
Properties::NON_VIRTUAL,
__float__getMinSize,
"",
"");
I_Method1(void, setMaxSize, IN, float, maxSize,
Properties::NON_VIRTUAL,
__void__setMaxSize__float,
"",
"");
I_Method0(float, getMaxSize,
Properties::NON_VIRTUAL,
__float__getMaxSize,
"",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"",
"");
I_Constructor0(____Point,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Point__C5_Point_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(Type, getType,
Properties::VIRTUAL,
__Type__getType,
"",
"");
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
Properties::VIRTUAL,
__int__compare__C5_StateAttribute_R1,
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
"");
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
Properties::VIRTUAL,
__bool__getModeUsage__ModeUsage_R1,
"",
"");
I_Method1(void, setSize, IN, float, size,
Properties::NON_VIRTUAL,
__void__setSize__float,
"",
"");
I_Method0(float, getSize,
Properties::NON_VIRTUAL,
__float__getSize,
"",
"");
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
Properties::NON_VIRTUAL,
__void__setFadeThresholdSize__float,
"",
"");
I_Method0(float, getFadeThresholdSize,
Properties::NON_VIRTUAL,
__float__getFadeThresholdSize,
"",
"");
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
Properties::NON_VIRTUAL,
__void__setDistanceAttenuation__C5_Vec3_R1,
"",
"");
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getDistanceAttenuation,
"",
"");
I_Method1(void, setMinSize, IN, float, minSize,
Properties::NON_VIRTUAL,
__void__setMinSize__float,
"",
"");
I_Method0(float, getMinSize,
Properties::NON_VIRTUAL,
__float__getMinSize,
"",
"");
I_Method1(void, setMaxSize, IN, float, maxSize,
Properties::NON_VIRTUAL,
__void__setMaxSize__float,
"",
"");
I_Method0(float, getMaxSize,
Properties::NON_VIRTUAL,
__float__getMaxSize,
"",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"",
"");
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() allows users to override the extensions across graphics contexts. ",
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() allows users to override the extensions across graphics contexts. ",
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
I_SimpleProperty(const osg::Vec3 &, DistanceAttenuation,
__C5_Vec3_R1__getDistanceAttenuation,
__void__setDistanceAttenuation__C5_Vec3_R1);
I_SimpleProperty(float, FadeThresholdSize,
__float__getFadeThresholdSize,
__void__setFadeThresholdSize__float);
I_SimpleProperty(float, MaxSize,
__float__getMaxSize,
__void__setMaxSize__float);
I_SimpleProperty(float, MinSize,
__float__getMinSize,
__void__setMinSize__float);
I_SimpleProperty(float, Size,
__float__getSize,
__void__setSize__float);
I_SimpleProperty(Type, Type,
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor1(IN, unsigned int, contextID,
Properties::NON_EXPLICIT,
____Extensions__unsigned_int,
"",
"");
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
Properties::NON_EXPLICIT,
____Extensions__C5_Extensions_R1,
"",
"");
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
Properties::NON_VIRTUAL,
__void__lowestCommonDenominator__C5_Extensions_R1,
"",
"");
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
__void__setupGLExtenions__unsigned_int,
"",
"");
I_Method1(void, setPointParametersSupported, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setPointParametersSupported__bool,
"",
"");
I_Method0(bool, isPointParametersSupported,
Properties::NON_VIRTUAL,
__bool__isPointParametersSupported,
"",
"");
I_Method2(void, glPointParameteri, IN, GLenum, pname, IN, GLint, param,
Properties::NON_VIRTUAL,
__void__glPointParameteri__GLenum__GLint,
"",
"");
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
Properties::NON_VIRTUAL,
__void__glPointParameterf__GLenum__GLfloat,
"",
"");
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
Properties::NON_VIRTUAL,
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
"",
"");
I_Constructor1(IN, unsigned int, contextID,
Properties::NON_EXPLICIT,
____Extensions__unsigned_int,
"",
"");
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
Properties::NON_EXPLICIT,
____Extensions__C5_Extensions_R1,
"",
"");
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
Properties::NON_VIRTUAL,
__void__lowestCommonDenominator__C5_Extensions_R1,
"",
"");
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
__void__setupGLExtenions__unsigned_int,
"",
"");
I_Method1(void, setPointParametersSupported, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setPointParametersSupported__bool,
"",
"");
I_Method0(bool, isPointParametersSupported,
Properties::NON_VIRTUAL,
__bool__isPointParametersSupported,
"",
"");
I_Method2(void, glPointParameteri, IN, GLenum, pname, IN, GLint, param,
Properties::NON_VIRTUAL,
__void__glPointParameteri__GLenum__GLint,
"",
"");
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
Properties::NON_VIRTUAL,
__void__glPointParameterf__GLenum__GLfloat,
"",
"");
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
Properties::NON_VIRTUAL,
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
"",
"");
I_SimpleProperty(bool, PointParametersSupported,
0,
__void__setPointParametersSupported__bool);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor1(IN, unsigned int, contextID,
Properties::NON_EXPLICIT,
____Extensions__unsigned_int,
"",
"");
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
Properties::NON_EXPLICIT,
____Extensions__C5_Extensions_R1,
"",
"");
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
Properties::NON_VIRTUAL,
__void__lowestCommonDenominator__C5_Extensions_R1,
"",
"");
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
__void__setupGLExtenions__unsigned_int,
"",
"");
I_Method1(void, setPointParametersSupported, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setPointParametersSupported__bool,
"",
"");
I_Method0(bool, isPointParametersSupported,
Properties::NON_VIRTUAL,
__bool__isPointParametersSupported,
"",
"");
I_Method2(void, glPointParameteri, IN, GLenum, pname, IN, GLint, param,
Properties::NON_VIRTUAL,
__void__glPointParameteri__GLenum__GLint,
"",
"");
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
Properties::NON_VIRTUAL,
__void__glPointParameterf__GLenum__GLfloat,
"",
"");
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
Properties::NON_VIRTUAL,
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
"",
"");
I_Constructor1(IN, unsigned int, contextID,
Properties::NON_EXPLICIT,
____Extensions__unsigned_int,