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,10 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/NodeVisitor.svn-base>
#include <osg/.svn/text-base/Object.svn-base>
#include <osg/.svn/text-base/TexGenNode.svn-base>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/TexGen>
#include <osg/TexGenNode>
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame)
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
I_BaseType(osg::Group);
I_BaseType(osg::Group);
I_Constructor0(____TexGenNode,
"",
@@ -48,300 +46,32 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"clone an object of the same type as the node. ",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"return a clone of a node, with Object* return type. ",
"");
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 *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"return the name of the node's class type. ",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"return the name of the node's library. ",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
"");
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,
"Ge thte TexGenNode's ReferenceFrame. ",
"");
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
Properties::NON_VIRTUAL,
__void__setTextureUnit__unsigned_int,
"Set the texture unit that this TexGenNode is associated with. ",
"");
I_Method0(unsigned int, getTextureUnit,
Properties::NON_VIRTUAL,
__unsigned_int__getTextureUnit,
"",
"");
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
Properties::NON_VIRTUAL,
__void__setTexGen__TexGen_P1,
"Set the TexGen. ",
"");
I_Method0(osg::TexGen *, getTexGen,
Properties::NON_VIRTUAL,
__TexGen_P1__getTexGen,
"Get the TexGen. ",
"");
I_Method0(const osg::TexGen *, getTexGen,
Properties::NON_VIRTUAL,
__C5_TexGen_P1__getTexGen,
"Get the const TexGen. ",
"");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Constructor0(____TexGenNode,
"",
"");
I_Constructor1(IN, osg::TexGen *, texgen,
Properties::NON_EXPLICIT,
____TexGenNode__TexGen_P1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
"",
"");
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 *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
"");
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,
"Ge thte TexGenNode's ReferenceFrame. ",
"");
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
Properties::NON_VIRTUAL,
__void__setTextureUnit__unsigned_int,
"Set the texture unit that this TexGenNode is associated with. ",
"");
I_Method0(unsigned int, getTextureUnit,
Properties::NON_VIRTUAL,
__unsigned_int__getTextureUnit,
"",
"");
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
Properties::NON_VIRTUAL,
__void__setTexGen__TexGen_P1,
"Set the TexGen. ",
"");
I_Method0(osg::TexGen *, getTexGen,
Properties::NON_VIRTUAL,
__TexGen_P1__getTexGen,
"Get the TexGen. ",
"");
I_Method0(const osg::TexGen *, getTexGen,
Properties::NON_VIRTUAL,
__C5_TexGen_P1__getTexGen,
"Get the const TexGen. ",
"");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_SimpleProperty(osg::TexGenNode::ReferenceFrame, ReferenceFrame,
__ReferenceFrame__getReferenceFrame,
__void__setReferenceFrame__ReferenceFrame);
I_SimpleProperty(osg::TexGen *, TexGen,
__TexGen_P1__getTexGen,
__void__setTexGen__TexGen_P1);
I_SimpleProperty(unsigned int, TextureUnit,
__unsigned_int__getTextureUnit,
__void__setTextureUnit__unsigned_int);
I_SimpleProperty(bool, ThreadSafeRefUnref,
0,
__void__setThreadSafeRefUnref__bool);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame)
I_EnumLabel(osg::TexGenNode::RELATIVE_RF);
I_EnumLabel(osg::TexGenNode::ABSOLUTE_RF);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
I_BaseType(osg::Group);
I_BaseType(osg::Group);
I_Constructor0(____TexGenNode,
"",
"");
I_Constructor1(IN, osg::TexGen *, texgen,
Properties::NON_EXPLICIT,
____TexGenNode__TexGen_P1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
"",
"");
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 *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
"");
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,
"Ge thte TexGenNode's ReferenceFrame. ",
"");
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
Properties::NON_VIRTUAL,
__void__setTextureUnit__unsigned_int,
"Set the texture unit that this TexGenNode is associated with. ",
"");
I_Method0(unsigned int, getTextureUnit,
Properties::NON_VIRTUAL,
__unsigned_int__getTextureUnit,
"",
"");
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
Properties::NON_VIRTUAL,
__void__setTexGen__TexGen_P1,
"Set the TexGen. ",
"");
I_Method0(osg::TexGen *, getTexGen,
Properties::NON_VIRTUAL,
__TexGen_P1__getTexGen,
"Get the TexGen. ",
"");
I_Method0(const osg::TexGen *, getTexGen,
Properties::NON_VIRTUAL,
__C5_TexGen_P1__getTexGen,
"Get the const TexGen. ",
"");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Constructor0(____TexGenNode,
"",
"");
I_Constructor1(IN, osg::TexGen *, texgen,
Properties::NON_EXPLICIT,
____TexGenNode__TexGen_P1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
"",
"");
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 *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
"");
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
Properties::NON_VIRTUAL,