Added wrapper projects and updates of autogenerated wrappers.

This commit is contained in:
Robert Osfield
2005-07-19 20:40:29 +00:00
parent 7b23cf930e
commit 6778bc3981
32 changed files with 2716 additions and 8 deletions

View File

@@ -10,6 +10,7 @@
#include <osgIntrospection/Attributes>
#include <osg/CameraNode>
#include <osg/ColorMask>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/Matrix>
@@ -52,9 +53,17 @@ BEGIN_ENUM_REFLECTOR(osg::CameraNode::RenderTargetImplementation)
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::CameraNode::BufferComponent)
I_EnumLabel(osg::CameraNode::COLOR_BUFFER);
I_EnumLabel(osg::CameraNode::DEPTH_BUFFER);
I_EnumLabel(osg::CameraNode::STENCIL_BUFFER);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER0);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER1);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER2);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER3);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER4);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER5);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER6);
I_EnumLabel(osg::CameraNode::COLOR_BUFFER7);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::CameraNode)
@@ -68,11 +77,18 @@ BEGIN_OBJECT_REFLECTOR(osg::CameraNode)
I_Method0(const char *, className);
I_Method0(const char *, libraryName);
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color);
I_Method0(const osg::Vec4 &, getClearColor);
I_Method1(void, setClearMask, IN, GLbitfield, mask);
I_Method0(GLbitfield, getClearMask);
I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask);
I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha);
I_Method0(const osg::ColorMask *, getColorMask);
I_Method0(osg::ColorMask *, getColorMask);
I_Method1(void, setViewport, IN, osg::Viewport *, viewport);
I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height);
I_Method0(const osg::Viewport *, getViewport);
I_Method0(osg::Viewport *, getViewport);
I_Method4(void, getViewport, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height);
I_Method1(void, setTransformOrder, IN, osg::CameraNode::TransformOrder, order);
I_Method0(osg::CameraNode::TransformOrder, getTransformOrder);
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix);
@@ -93,10 +109,6 @@ BEGIN_OBJECT_REFLECTOR(osg::CameraNode)
I_Method0(const osg::Matrixd &, getViewMatrix);
I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3 &, eye, , IN, osg::Vec3 &, center, , IN, osg::Vec3 &, up, , IN, float, lookDistance, 1.0f);
I_Method0(osg::Matrixd, getInverseViewMatrix);
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color);
I_Method0(const osg::Vec4 &, getClearColor);
I_Method1(void, setClearMask, IN, GLbitfield, mask);
I_Method0(GLbitfield, getClearMask);
I_Method1(void, setRenderOrder, IN, osg::CameraNode::RenderOrder, order);
I_Method0(osg::CameraNode::RenderOrder, getRenderOrder);
I_Method1(void, setRenderTargetImplmentation, IN, osg::CameraNode::RenderTargetImplementation, impl);
@@ -121,6 +133,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CameraNode)
I_ReadOnlyProperty(osg::CameraNode::BufferAttachmentMap &, BufferAttachmentMap);
I_Property(const osg::Vec4 &, ClearColor);
I_Property(GLbitfield, ClearMask);
I_Property(osg::ColorMask *, ColorMask);
I_IndexedProperty1(GLenum, DrawBuffer, unsigned int, pos);
I_ReadOnlyProperty(osg::CameraNode::DrawBufferList &, DrawBufferList);
I_ReadOnlyProperty(osg::Matrixd, InverseViewMatrix);

View File

@@ -9,6 +9,7 @@
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CameraNode>
#include <osg/CopyOp>
#include <osg/FrameBufferObject>
#include <osg/Object>
@@ -63,6 +64,7 @@ BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0);
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0);
I_Constructor1(IN, osg::TextureRectangle *, target);
I_Constructor1(IN, osg::CameraNode::Attachment &, attachment);
I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext);
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa);
END_REFLECTOR

View File

@@ -30,7 +30,7 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
I_BaseType(osg::StateAttribute);
I_Constructor0();
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE);
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);

View File

@@ -0,0 +1,132 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomIndexAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::IndexInfo *, ii);
I_Method0(const osgIntrospection::IndexInfo *, getIndexInfo);
I_ReadOnlyProperty(const osgIntrospection::IndexInfo *, IndexInfo);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyAddAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::PropertyAdder *, adder);
I_Method0(const osgIntrospection::PropertyAdder *, getAdder);
I_ReadOnlyProperty(const osgIntrospection::PropertyAdder *, Adder);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyCountAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::PropertyCounter *, counter);
I_Method0(const osgIntrospection::PropertyCounter *, getCounter);
I_ReadOnlyProperty(const osgIntrospection::PropertyCounter *, Counter);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyGetAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::PropertyGetter *, getter);
I_Method0(const osgIntrospection::PropertyGetter *, getGetter);
I_ReadOnlyProperty(const osgIntrospection::PropertyGetter *, Getter);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyRemoveAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::PropertyRemover *, remover);
I_Method0(const osgIntrospection::PropertyRemover *, getRemover);
I_ReadOnlyProperty(const osgIntrospection::PropertyRemover *, Remover);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertySetAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::PropertySetter *, setter);
I_Method0(const osgIntrospection::PropertySetter *, getSetter);
I_ReadOnlyProperty(const osgIntrospection::PropertySetter *, Setter);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::DefaultValueAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::Value &, v);
I_Method0(const osgIntrospection::Value &, getDefaultValue);
I_ReadOnlyProperty(const osgIntrospection::Value &, DefaultValue);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::IndexInfo)
I_Constructor0();
I_Method0(const osgIntrospection::ParameterInfoList &, getIndexParameters);
I_Method3(void, getIndexValueSet, IN, int, whichindex, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, values);
I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, IndexParameters);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::IndexTypeAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor2(IN, int, whichindex, IN, const osgIntrospection::Type &, type);
I_Method0(int, getWhichIndex);
I_Method0(const osgIntrospection::Type &, getIndexType);
I_ReadOnlyProperty(const osgIntrospection::Type &, IndexType);
I_ReadOnlyProperty(int, WhichIndex);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::NoDefaultValueAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyAdder)
I_Constructor0();
I_Method2(void, add, IN, osgIntrospection::Value &, x, IN, const osgIntrospection::Value &, x);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyCounter)
I_Constructor0();
I_Method1(int, count, IN, const osgIntrospection::Value &, x);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyGetter)
I_Constructor0();
I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, x, IN, const osgIntrospection::ValueList &, x);
I_Method1(osgIntrospection::Value, get, IN, osgIntrospection::Value &, x);
I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, x, IN, int, x);
I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, x, IN, const osgIntrospection::ValueList &, x);
I_Method1(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, x);
I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, x, IN, int, x);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyRemover)
I_Constructor0();
I_Method2(void, remove, IN, osgIntrospection::Value &, x, IN, int, x);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertySetter)
I_Constructor0();
I_Method3(void, set, IN, osgIntrospection::Value &, x, IN, osgIntrospection::ValueList &, x, IN, const osgIntrospection::Value &, x);
I_Method2(void, set, IN, osgIntrospection::Value &, x, IN, const osgIntrospection::Value &, x);
I_Method3(void, set, IN, osgIntrospection::Value &, x, IN, int, x, IN, const osgIntrospection::Value &, x);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::PropertyTypeAttribute)
I_BaseType(osgIntrospection::CustomAttribute);
I_Constructor1(IN, const osgIntrospection::Type &, type);
I_Method0(const osgIntrospection::Type &, getPropertyType);
I_ReadOnlyProperty(const osgIntrospection::Type &, PropertyType);
END_REFLECTOR

View File

@@ -0,0 +1,28 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Comparator>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::Comparator)
I_Constructor0();
I_Method2(bool, isEqualTo, IN, const osgIntrospection::Value &, l, IN, const osgIntrospection::Value &, r);
I_Method2(bool, isLessThanOrEqualTo, IN, const osgIntrospection::Value &, l, IN, const osgIntrospection::Value &, r);
END_REFLECTOR

View File

@@ -0,0 +1,33 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/ConstructorInfo>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::ConstructorInfo)
I_BaseType(osgIntrospection::CustomAttributeProvider);
I_Constructor2(IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::ParameterInfoList &, params);
I_Method0(const osgIntrospection::Type &, getDeclaringType);
I_Method0(const osgIntrospection::ParameterInfoList &, getParameters);
I_Method1(osgIntrospection::Value, createInstance, IN, osgIntrospection::ValueList &, args);
I_ReadOnlyProperty(const osgIntrospection::Type &, DeclaringType);
I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, Parameters);
END_REFLECTOR

View File

@@ -0,0 +1,38 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Converter>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgIntrospection::CompositeConverter)
I_BaseType(osgIntrospection::Converter);
I_Constructor1(IN, const osgIntrospection::ConverterList &, cvt);
I_Constructor1(IN, osgIntrospection::ConverterList &, cvt);
I_Method1(osgIntrospection::Value, convert, IN, const osgIntrospection::Value &, src);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::Converter)
I_Constructor0();
I_Method1(osgIntrospection::Value, convert, IN, const osgIntrospection::Value &, x);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::Converter * >, osgIntrospection::ConverterList);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::Converter * >);

View File

@@ -0,0 +1,27 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Converter>
#include <osgIntrospection/ConverterProxy>
#include <osgIntrospection/Type>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgIntrospection::ConverterProxy)
I_Constructor3(IN, const osgIntrospection::Type &, source, IN, const osgIntrospection::Type &, dest, IN, const osgIntrospection::Converter *, cvt);
END_REFLECTOR

View File

@@ -0,0 +1,25 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/CustomAttribute>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgIntrospection::CustomAttribute)
I_Constructor0();
END_REFLECTOR

View File

@@ -0,0 +1,41 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/CustomAttribute>
#include <osgIntrospection/CustomAttributeProvider>
#include <osgIntrospection/Type>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::CustomAttributeProvider)
I_Constructor0();
I_Method0(const osgIntrospection::CustomAttributeList &, getCustomAttributes);
I_Method0(osgIntrospection::CustomAttributeList &, getCustomAttributes);
I_Method1(osgIntrospection::CustomAttributeProvider *, addAttribute, IN, const osgIntrospection::CustomAttribute *, attr);
I_Method2(bool, isDefined, IN, const osgIntrospection::Type &, type, IN, bool, inherit);
I_Method2(const osgIntrospection::CustomAttribute *, getAttribute, IN, const osgIntrospection::Type &, type, IN, bool, inherit);
I_ReadOnlyProperty(osgIntrospection::CustomAttributeList &, CustomAttributes);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::CustomAttribute * >, osgIntrospection::CustomAttributeList);
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::CustomAttributeProvider * >, osgIntrospection::CustomAttributeProviderList);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::CustomAttribute * >);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::CustomAttributeProvider * >);

View File

@@ -0,0 +1,136 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Exceptions>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgIntrospection::ComparisonNotPermittedException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor1(IN, const std::type_info &, ti);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::ComparisonOperatorNotSupportedException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor2(IN, const std::type_info &, ti, IN, const std::string &, op);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::ConstIsConstException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor0();
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::ConstructorNotFoundException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor1(IN, const std::type_info &, ti);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::EmptyValueException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::Exception)
I_Constructor1(IN, const std::string &, msg);
I_Method0(const std::string &, what);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::IndexValuesNotDefinedException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor2(IN, const std::string &, name, IN, const std::string &, iname);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::InvalidFunctionPointerException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor0();
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::InvokeNotImplementedException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor0();
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::MethodNotFoundException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor2(IN, const std::string &, name, IN, const std::string &, cname);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgIntrospection::PropertyAccessException::AccessType)
I_EnumLabel(osgIntrospection::PropertyAccessException::GET);
I_EnumLabel(osgIntrospection::PropertyAccessException::SET);
I_EnumLabel(osgIntrospection::PropertyAccessException::IGET);
I_EnumLabel(osgIntrospection::PropertyAccessException::ISET);
I_EnumLabel(osgIntrospection::PropertyAccessException::AGET);
I_EnumLabel(osgIntrospection::PropertyAccessException::ASET);
I_EnumLabel(osgIntrospection::PropertyAccessException::ADD);
I_EnumLabel(osgIntrospection::PropertyAccessException::REMOVE);
I_EnumLabel(osgIntrospection::PropertyAccessException::COUNT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::PropertyAccessException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor2(IN, const std::string &, pname, IN, osgIntrospection::PropertyAccessException::AccessType, denied);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::ReflectionException)
I_BaseType(osgIntrospection::Exception);
I_Constructor1(IN, const std::string &, msg);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgIntrospection::StreamingNotSupportedException::OperationType)
I_EnumLabel(osgIntrospection::StreamingNotSupportedException::ANY);
I_EnumLabel(osgIntrospection::StreamingNotSupportedException::TEXT_WRITE);
I_EnumLabel(osgIntrospection::StreamingNotSupportedException::TEXT_READ);
I_EnumLabel(osgIntrospection::StreamingNotSupportedException::BINARY_WRITE);
I_EnumLabel(osgIntrospection::StreamingNotSupportedException::BINARY_READ);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StreamingNotSupportedException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor2(IN, osgIntrospection::StreamingNotSupportedException::OperationType, op, IN, const std::type_info &, type);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StreamReadErrorException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor0();
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StreamWriteErrorException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor0();
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeConversionException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor2(IN, const std::type_info &, type1, IN, const std::type_info &, type2);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeIsAbstractException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor1(IN, const std::type_info &, ti);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeNotDefinedException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor1(IN, const std::type_info &, ti);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeNotFoundException)
I_BaseType(osgIntrospection::ReflectionException);
I_Constructor1(IN, const std::string &, qname);
END_REFLECTOR

View File

@@ -0,0 +1,30 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
Attributes.cpp\
Comparator.cpp\
ConstructorInfo.cpp\
Converter.cpp\
ConverterProxy.cpp\
CustomAttribute.cpp\
CustomAttributeProvider.cpp\
Exceptions.cpp\
MethodInfo.cpp\
ParameterInfo.cpp\
PropertyInfo.cpp\
ReaderWriter.cpp\
Reflection.cpp\
Reflector.cpp\
Type.cpp\
Value.cpp\
LIBS += -losgIntrospection -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgIntrospection
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,45 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/MethodInfo>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::MethodInfo)
I_BaseType(osgIntrospection::CustomAttributeProvider);
I_Constructor4(IN, const std::string &, qname, IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::Type &, rtype, IN, const osgIntrospection::ParameterInfoList &, plist);
I_Method0(const osgIntrospection::Type &, getDeclaringType);
I_Method0(const std::string &, getName);
I_Method0(const osgIntrospection::Type &, getReturnType);
I_Method0(const osgIntrospection::ParameterInfoList &, getParameters);
I_Method0(bool, isConst);
I_Method0(bool, isStatic);
I_Method1(bool, overrides, IN, const osgIntrospection::MethodInfo *, other);
I_Method2(osgIntrospection::Value, invoke, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args);
I_Method2(osgIntrospection::Value, invoke, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args);
I_Method1(osgIntrospection::Value, invoke, IN, osgIntrospection::ValueList &, args);
I_Method1(osgIntrospection::Value, invoke, IN, const osgIntrospection::Value &, instance);
I_Method1(osgIntrospection::Value, invoke, IN, osgIntrospection::Value &, instance);
I_Method0(osgIntrospection::Value, invoke);
I_ReadOnlyProperty(const osgIntrospection::Type &, DeclaringType);
I_ReadOnlyProperty(const std::string &, Name);
I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, Parameters);
I_ReadOnlyProperty(const osgIntrospection::Type &, ReturnType);
END_REFLECTOR

View File

@@ -0,0 +1,45 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/ParameterInfo>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osgIntrospection::ParameterInfo::ParameterAttributes)
I_EnumLabel(osgIntrospection::ParameterInfo::NONE);
I_EnumLabel(osgIntrospection::ParameterInfo::IN);
I_EnumLabel(osgIntrospection::ParameterInfo::OUT);
I_EnumLabel(osgIntrospection::ParameterInfo::INOUT);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::ParameterInfo)
I_ConstructorWithDefaults4(IN, const std::string &, name, , IN, const osgIntrospection::Type &, type, , IN, int, attribs, , IN, const osgIntrospection::Value &, defval, osgIntrospection::Value());
I_Method0(const std::string &, getName);
I_Method0(const osgIntrospection::Type &, getParameterType);
I_Method0(int, getAttributes);
I_Method0(const osgIntrospection::Value &, getDefaultValue);
I_Method0(bool, isIn);
I_Method0(bool, isOut);
I_Method0(bool, isInOut);
I_ReadOnlyProperty(int, Attributes);
I_ReadOnlyProperty(const osgIntrospection::Value &, DefaultValue);
I_ReadOnlyProperty(const std::string &, Name);
I_ReadOnlyProperty(const osgIntrospection::Type &, ParameterType);
END_REFLECTOR

View File

@@ -0,0 +1,72 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/MethodInfo>
#include <osgIntrospection/PropertyInfo>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgIntrospection::PropertyInfo)
I_BaseType(osgIntrospection::CustomAttributeProvider);
I_Constructor5(IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::Type &, ptype, IN, const std::string &, name, IN, const osgIntrospection::MethodInfo *, getm, IN, const osgIntrospection::MethodInfo *, setm);
I_Constructor8(IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::Type &, ptype, IN, const std::string &, name, IN, const osgIntrospection::MethodInfo *, getm, IN, const osgIntrospection::MethodInfo *, setm, IN, const osgIntrospection::MethodInfo *, numm, IN, const osgIntrospection::MethodInfo *, addm, IN, const osgIntrospection::MethodInfo *, remm);
I_Method0(int, getNumIndices);
I_Method0(const std::string &, getName);
I_Method0(const osgIntrospection::Type &, getDeclaringType);
I_Method0(const osgIntrospection::Type &, getPropertyType);
I_Method0(const osgIntrospection::MethodInfo *, getGetMethod);
I_Method0(const osgIntrospection::MethodInfo *, getSetMethod);
I_Method0(const osgIntrospection::MethodInfo *, getCountMethod);
I_Method0(const osgIntrospection::MethodInfo *, getAddMethod);
I_Method0(const osgIntrospection::MethodInfo *, getRemoveMethod);
I_Method0(bool, canGet);
I_Method0(bool, canSet);
I_Method0(bool, canCount);
I_Method0(bool, canAdd);
I_Method0(bool, canRemove);
I_Method0(bool, isSimple);
I_Method0(bool, isIndexed);
I_Method0(bool, isArray);
I_Method0(const osgIntrospection::ParameterInfoList &, getIndexParameters);
I_Method3(void, getIndexValueSet, IN, int, whichindex, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, values);
I_Method1(osgIntrospection::Value, getValue, IN, const osgIntrospection::Value &, instance);
I_Method1(osgIntrospection::Value, getValue, IN, osgIntrospection::Value &, instance);
I_Method2(void, setValue, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, value);
I_Method2(osgIntrospection::Value, getIndexedValue, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, indices);
I_Method2(osgIntrospection::Value, getIndexedValue, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, indices);
I_Method3(void, setIndexedValue, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, indices, IN, const osgIntrospection::Value &, value);
I_Method1(int, getNumArrayItems, IN, const osgIntrospection::Value &, instance);
I_Method2(osgIntrospection::Value, getArrayItem, IN, const osgIntrospection::Value &, instance, IN, int, i);
I_Method2(osgIntrospection::Value, getArrayItem, IN, osgIntrospection::Value &, instance, IN, int, i);
I_Method3(void, setArrayItem, IN, osgIntrospection::Value &, instance, IN, int, i, IN, const osgIntrospection::Value &, value);
I_Method2(void, addArrayItem, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, value);
I_Method2(void, removeArrayItem, IN, osgIntrospection::Value &, instance, IN, int, i);
I_Method0(osgIntrospection::Value, getDefaultValue);
I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, AddMethod);
I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, CountMethod);
I_ReadOnlyProperty(const osgIntrospection::Type &, DeclaringType);
I_ReadOnlyProperty(osgIntrospection::Value, DefaultValue);
I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, GetMethod);
I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, IndexParameters);
I_ReadOnlyProperty(const std::string &, Name);
I_ReadOnlyProperty(const osgIntrospection::Type &, PropertyType);
I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, RemoveMethod);
I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, SetMethod);
END_REFLECTOR

View File

@@ -0,0 +1,37 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/ReaderWriter>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgIntrospection::ReaderWriter)
I_Constructor0();
I_MethodWithDefaults3(std::ostream &, writeTextValue, IN, std::ostream &, x, , IN, const osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0);
I_MethodWithDefaults3(std::istream &, readTextValue, IN, std::istream &, x, , IN, osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0);
I_MethodWithDefaults3(std::ostream &, writeBinaryValue, IN, std::ostream &, x, , IN, const osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0);
I_MethodWithDefaults3(std::istream &, readBinaryValue, IN, std::istream &, x, , IN, osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::ReaderWriter::Options)
I_Constructor0();
I_Method0(bool, getForceNumericOutput);
I_Method1(void, setForceNumericOutput, IN, bool, fno);
I_Property(bool, ForceNumericOutput);
END_REFLECTOR

View File

@@ -0,0 +1,33 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Reflection>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgIntrospection::Reflection)
I_Constructor0();
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgIntrospection::TypeInfoCmp)
I_Constructor0();
END_REFLECTOR
TYPE_NAME_ALIAS(std::map< const std::type_info * COMMA osgIntrospection::Type * COMMA osgIntrospection::TypeInfoCmp >, osgIntrospection::TypeMap);
STD_MAP_REFLECTOR(std::map< const std::type_info * COMMA osgIntrospection::Type * COMMA osgIntrospection::TypeInfoCmp >);

View File

@@ -0,0 +1,139 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Reflector>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Adder)
I_BaseType(osgIntrospection::PropertyAdder);
I_Constructor0();
I_Method2(void, add, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Counter)
I_BaseType(osgIntrospection::PropertyCounter);
I_Constructor0();
I_Method1(int, count, IN, const osgIntrospection::Value &, instance);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Getter)
I_BaseType(osgIntrospection::PropertyGetter);
I_Constructor0();
I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, int, i);
I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, int, i);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Remover)
I_BaseType(osgIntrospection::PropertyRemover);
I_Constructor0();
I_Method2(void, remove, IN, osgIntrospection::Value &, instance, IN, int, i);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Setter)
I_BaseType(osgIntrospection::PropertySetter);
I_Constructor0();
I_Method3(void, set, IN, osgIntrospection::Value &, instance, IN, int, i, IN, const osgIntrospection::Value &, v);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdMapReflector::Getter)
I_BaseType(osgIntrospection::PropertyGetter);
I_Constructor0();
I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::ValueList &, indices);
I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, const osgIntrospection::ValueList &, indices);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdMapReflector::Indexer)
I_BaseType(osgIntrospection::IndexInfo);
I_Constructor0();
I_Method0(const osgIntrospection::ParameterInfoList &, getIndexParameters);
I_Method3(void, getIndexValueSet, IN, int, x, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, values);
I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, IndexParameters);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdMapReflector::Setter)
I_BaseType(osgIntrospection::PropertySetter);
I_Constructor0();
I_Method3(void, set, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::ValueList &, indices, IN, const osgIntrospection::Value &, v);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdPairReflector::Accessor)
I_BaseType(osgIntrospection::PropertyGetter);
I_Constructor1(IN, int, i);
I_Method1(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance);
I_Method1(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance);
I_Method2(void, set, IN, const osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Adder)
I_BaseType(osgIntrospection::PropertyAdder);
I_Constructor0();
I_Method2(void, add, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Counter)
I_BaseType(osgIntrospection::PropertyCounter);
I_Constructor0();
I_Method1(int, count, IN, const osgIntrospection::Value &, instance);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Getter)
I_BaseType(osgIntrospection::PropertyGetter);
I_Constructor0();
I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, int, i);
I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, int, i);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Remover)
I_BaseType(osgIntrospection::PropertyRemover);
I_Constructor0();
I_Method2(void, remove, IN, osgIntrospection::Value &, instance, IN, int, i);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Adder)
I_BaseType(osgIntrospection::PropertyAdder);
I_Constructor0();
I_Method2(void, add, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Counter)
I_BaseType(osgIntrospection::PropertyCounter);
I_Constructor0();
I_Method1(int, count, IN, const osgIntrospection::Value &, instance);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Getter)
I_BaseType(osgIntrospection::PropertyGetter);
I_Constructor0();
I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, int, i);
I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, int, i);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Remover)
I_BaseType(osgIntrospection::PropertyRemover);
I_Constructor0();
I_Method2(void, remove, IN, osgIntrospection::Value &, instance, IN, int, i);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Setter)
I_BaseType(osgIntrospection::PropertySetter);
I_Constructor0();
I_Method3(void, set, IN, osgIntrospection::Value &, instance, IN, int, i, IN, const osgIntrospection::Value &, v);
END_REFLECTOR

View File

@@ -0,0 +1,100 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Comparator>
#include <osgIntrospection/ConstructorInfo>
#include <osgIntrospection/MethodInfo>
#include <osgIntrospection/PropertyInfo>
#include <osgIntrospection/ReaderWriter>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgIntrospection::Type)
I_BaseType(osgIntrospection::CustomAttributeProvider);
I_Method0(const std::type_info &, getStdTypeInfo);
I_Method0(bool, isDefined);
I_Method0(const std::string &, getName);
I_Method0(const std::string &, getNamespace);
I_Method0(std::string, getQualifiedName);
I_Method1(bool, matchesName, IN, const std::string &, name);
I_Method0(int, getNumBaseTypes);
I_Method1(const osgIntrospection::Type &, getBaseType, IN, int, i);
I_Method0(int, getNumAliases);
I_Method1(const std::string &, getAlias, IN, int, i);
I_Method0(bool, isAbstract);
I_Method0(bool, isAtomic);
I_Method0(bool, isEnum);
I_Method0(bool, isVoid);
I_Method0(bool, isPointer);
I_Method0(bool, isConstPointer);
I_Method0(bool, isNonConstPointer);
I_Method0(const osgIntrospection::Type &, getPointedType);
I_Method0(const osgIntrospection::PropertyInfoList &, getProperties);
I_Method1(void, getAllProperties, IN, osgIntrospection::PropertyInfoList &, props);
I_Method0(const osgIntrospection::ConstructorInfoList &, getConstructors);
I_Method0(const osgIntrospection::MethodInfoList &, getMethods);
I_Method1(void, getAllMethods, IN, osgIntrospection::MethodInfoList &, methods);
I_Method0(const osgIntrospection::EnumLabelMap &, getEnumLabels);
I_Method1(const osgIntrospection::ConstructorInfo *, getCompatibleConstructor, IN, const osgIntrospection::ValueList &, values);
I_Method1(const osgIntrospection::ConstructorInfo *, getConstructor, IN, const osgIntrospection::ParameterInfoList &, params);
I_Method3(const osgIntrospection::MethodInfo *, getCompatibleMethod, IN, const std::string &, name, IN, const osgIntrospection::ValueList &, values, IN, bool, inherit);
I_Method3(const osgIntrospection::MethodInfo *, getMethod, IN, const std::string &, name, IN, const osgIntrospection::ParameterInfoList &, params, IN, bool, inherit);
I_Method4(const osgIntrospection::PropertyInfo *, getProperty, IN, const std::string &, name, IN, const osgIntrospection::Type &, ptype, IN, const osgIntrospection::ParameterInfoList &, indices, IN, bool, inherit);
I_Method4(osgIntrospection::Value, invokeMethod, IN, const std::string &, name, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args, IN, bool, inherit);
I_Method4(osgIntrospection::Value, invokeMethod, IN, const std::string &, name, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args, IN, bool, inherit);
I_Method1(bool, isSubclassOf, IN, const osgIntrospection::Type &, type);
I_Method0(const osgIntrospection::ReaderWriter *, getReaderWriter);
I_Method0(const osgIntrospection::Comparator *, getComparator);
I_Method1(osgIntrospection::Value, createInstance, IN, osgIntrospection::ValueList &, args);
I_Method0(osgIntrospection::Value, createInstance);
I_ArrayProperty_G(const std::string &, Alias, Aliases, int, void);
I_ArrayProperty_G(const osgIntrospection::Type &, BaseType, BaseTypes, int, void);
I_ReadOnlyProperty(const osgIntrospection::Comparator *, Comparator);
I_ReadOnlyProperty(const osgIntrospection::ConstructorInfoList &, Constructors);
I_ReadOnlyProperty(const osgIntrospection::EnumLabelMap &, EnumLabels);
I_ReadOnlyProperty(const osgIntrospection::MethodInfoList &, Methods);
I_ReadOnlyProperty(const std::string &, Name);
I_ReadOnlyProperty(const std::string &, Namespace);
I_ReadOnlyProperty(const osgIntrospection::Type &, PointedType);
I_ReadOnlyProperty(const osgIntrospection::PropertyInfoList &, Properties);
I_ReadOnlyProperty(std::string, QualifiedName);
I_ReadOnlyProperty(const osgIntrospection::ReaderWriter *, ReaderWriter);
I_ReadOnlyProperty(const std::type_info &, StdTypeInfo);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::MethodInfo * >, osgIntrospection::MethodInfoList);
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::PropertyInfo * >, osgIntrospection::PropertyInfoList);
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::ParameterInfo * >, osgIntrospection::ParameterInfoList);
TYPE_NAME_ALIAS(std::vector< const osgIntrospection::ConstructorInfo * >, osgIntrospection::ConstructorInfoList);
TYPE_NAME_ALIAS(std::map< int COMMA std::string >, osgIntrospection::EnumLabelMap);
STD_MAP_REFLECTOR(std::map< int COMMA std::string >);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::ConstructorInfo * >);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::MethodInfo * >);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::ParameterInfo * >);
STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::PropertyInfo * >);

View File

@@ -0,0 +1,44 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgIntrospection::Value)
I_Constructor0();
I_Constructor1(IN, void *, v);
I_Constructor1(IN, const void *, v);
I_Constructor1(IN, const osgIntrospection::Value &, copy);
I_Method0(bool, isTypedPointer);
I_Method0(bool, isEmpty);
I_Method0(bool, isNullPointer);
I_Method0(const osgIntrospection::Type &, getType);
I_Method0(const osgIntrospection::Type &, getInstanceType);
I_Method1(osgIntrospection::Value, convertTo, IN, const osgIntrospection::Type &, outtype);
I_Method1(osgIntrospection::Value, tryConvertTo, IN, const osgIntrospection::Type &, outtype);
I_Method0(std::string, toString);
I_Method1(void, swap, IN, osgIntrospection::Value &, v);
I_ReadOnlyProperty(const osgIntrospection::Type &, InstanceType);
I_ReadOnlyProperty(const osgIntrospection::Type &, Type);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osgIntrospection::Value >, osgIntrospection::ValueList);
STD_VECTOR_REFLECTOR(std::vector< osgIntrospection::Value >);

View File

@@ -57,6 +57,10 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage)
I_Method0(double, getClearDepth);
I_Method1(void, setClearStencil, IN, int, stencil);
I_Method0(int, getClearStencil);
I_Method1(void, setInheritedRenderStageLightingMatrix, IN, const osg::Matrix &, matrix);
I_Method0(const osg::Matrix &, getInheritedRenderStageLightingMatrix);
I_Method1(void, setInheritedRenderStageLighting, IN, osgUtil::RenderStageLighting *, rsl);
I_Method0(osgUtil::RenderStageLighting *, getInheritedRenderStageLighting);
I_Method1(void, setRenderStageLighting, IN, osgUtil::RenderStageLighting *, rsl);
I_Method0(osgUtil::RenderStageLighting *, getRenderStageLighting);
I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr);
@@ -75,6 +79,8 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage)
I_Property(GLbitfield, ClearMask);
I_Property(int, ClearStencil);
I_Property(osg::ColorMask *, ColorMask);
I_Property(osgUtil::RenderStageLighting *, InheritedRenderStageLighting);
I_Property(const osg::Matrix &, InheritedRenderStageLightingMatrix);
I_Property(osgUtil::RenderStageLighting *, RenderStageLighting);
I_Property(osg::Viewport *, Viewport);
END_REFLECTOR

View File

@@ -42,7 +42,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStageLighting)
I_Method0(void, reset);
I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr);
I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr);
I_Method2(void, draw, IN, osg::State &, state, IN, osgUtil::RenderLeaf *&, previous);
I_MethodWithDefaults3(void, draw, IN, osg::State &, state, , IN, osgUtil::RenderLeaf *&, previous, , IN, const osg::Matrix *, postMultMatrix, 0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::RefMatrix >)