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,11 @@
#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/PointSprite.svn-base>
#include <osg/.svn/text-base/StateAttribute.svn-base>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/PointSprite>
#include <osg/State>
#include <osg/StateAttribute>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode)
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
I_BaseType(osg::StateAttribute);
I_BaseType(osg::StateAttribute);
I_Constructor0(____PointSprite,
"",
@@ -43,32 +41,32 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
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,
@@ -83,18 +81,18 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
Properties::VIRTUAL,
__bool__checkValidityOfAssociatedModes__osg_State_R1,
"",
"");
"Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
"Return true if all associated modes are valid. ");
I_Method0(bool, isTextureAttribute,
Properties::VIRTUAL,
__bool__isTextureAttribute,
"",
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__osg_State_R1,
"",
"");
"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_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
Properties::NON_VIRTUAL,
__void__setCoordOriginMode__CoordOriginMode,
@@ -105,82 +103,6 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
__CoordOriginMode__getCoordOriginMode,
"",
"");
I_Constructor0(____PointSprite,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PointSprite__C5_PointSprite_R1__C5_osg_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(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
Properties::VIRTUAL,
__bool__checkValidityOfAssociatedModes__osg_State_R1,
"",
"");
I_Method0(bool, isTextureAttribute,
Properties::VIRTUAL,
__bool__isTextureAttribute,
"",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__osg_State_R1,
"",
"");
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
Properties::NON_VIRTUAL,
__void__setCoordOriginMode__CoordOriginMode,
"",
"");
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
Properties::NON_VIRTUAL,
__CoordOriginMode__getCoordOriginMode,
"",
"");
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
__bool__isPointSpriteSupported__unsigned_int_S,
"",
"");
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
__bool__isPointSpriteSupported__unsigned_int_S,
"",
@@ -188,175 +110,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode,
__CoordOriginMode__getCoordOriginMode,
__void__setCoordOriginMode__CoordOriginMode);
I_SimpleProperty(Type, Type,
__Type__getType,
0);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode)
I_EnumLabel(osg::PointSprite::UPPER_LEFT);
I_EnumLabel(osg::PointSprite::LOWER_LEFT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
I_BaseType(osg::StateAttribute);
I_BaseType(osg::StateAttribute);
I_Constructor0(____PointSprite,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PointSprite__C5_PointSprite_R1__C5_osg_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(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
Properties::VIRTUAL,
__bool__checkValidityOfAssociatedModes__osg_State_R1,
"",
"");
I_Method0(bool, isTextureAttribute,
Properties::VIRTUAL,
__bool__isTextureAttribute,
"",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__osg_State_R1,
"",
"");
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
Properties::NON_VIRTUAL,
__void__setCoordOriginMode__CoordOriginMode,
"",
"");
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
Properties::NON_VIRTUAL,
__CoordOriginMode__getCoordOriginMode,
"",
"");
I_Constructor0(____PointSprite,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PointSprite__C5_PointSprite_R1__C5_osg_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(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
Properties::VIRTUAL,
__bool__checkValidityOfAssociatedModes__osg_State_R1,
"",
"");
I_Method0(bool, isTextureAttribute,
Properties::VIRTUAL,
__bool__isTextureAttribute,
"",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__osg_State_R1,
"",
"");
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
Properties::NON_VIRTUAL,
__void__setCoordOriginMode__CoordOriginMode,
"",
"");
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
Properties::NON_VIRTUAL,
__CoordOriginMode__getCoordOriginMode,
"",
"");
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
__bool__isPointSpriteSupported__unsigned_int_S,
"",
"");
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
__bool__isPointSpriteSupported__unsigned_int_S,
"",
"");
I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode,
__CoordOriginMode__getCoordOriginMode,
__void__setCoordOriginMode__CoordOriginMode);
I_SimpleProperty(Type, Type,
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR