// ***************************************************************************
//
//   Generated automatically by genwrapper.
//   Please DO NOT EDIT this file!
//
// ***************************************************************************

#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>

#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/StateSet>
#include <osg/Uniform>

// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

TYPE_NAME_ALIAS(std::vector< osg::Object * >, osg::StateSet::ParentList);

TYPE_NAME_ALIAS(std::map< osg::StateAttribute::GLMode COMMA  osg::StateAttribute::GLModeValue >, osg::StateSet::ModeList);

TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::StateAttribute > COMMA  osg::StateAttribute::OverrideValue >, osg::StateSet::RefAttributePair);

TYPE_NAME_ALIAS(std::map< osg::StateAttribute::TypeMemberPair COMMA  osg::StateSet::RefAttributePair >, osg::StateSet::AttributeList);

TYPE_NAME_ALIAS(std::vector< osg::StateSet::ModeList >, osg::StateSet::TextureModeList);

TYPE_NAME_ALIAS(std::vector< osg::StateSet::AttributeList >, osg::StateSet::TextureAttributeList);

TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::Uniform > COMMA  osg::StateAttribute::OverrideValue >, osg::StateSet::RefUniformPair);

TYPE_NAME_ALIAS(std::map< std::string COMMA  osg::StateSet::RefUniformPair >, osg::StateSet::UniformList);

BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderingHint)
	I_EnumLabel(osg::StateSet::DEFAULT_BIN);
	I_EnumLabel(osg::StateSet::OPAQUE_BIN);
	I_EnumLabel(osg::StateSet::TRANSPARENT_BIN);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderBinMode)
	I_EnumLabel(osg::StateSet::INHERIT_RENDERBIN_DETAILS);
	I_EnumLabel(osg::StateSet::USE_RENDERBIN_DETAILS);
	I_EnumLabel(osg::StateSet::OVERRIDE_RENDERBIN_DETAILS);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::StateSet)
	I_BaseType(osg::Object);
	I_Constructor0();
	I_ConstructorWithDefaults2(IN, const osg::StateSet &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
	I_Method0(osg::Object *, cloneType);
	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
	I_Method0(const char *, libraryName);
	I_Method0(const char *, className);
	I_MethodWithDefaults2(int, compare, IN, const osg::StateSet &, rhs, , IN, bool, compareAttributeContents, false);
	I_Method0(const osg::StateSet::ParentList &, getParents);
	I_Method0(osg::StateSet::ParentList, getParents);
	I_Method1(osg::Object *, getParent, IN, unsigned int, i);
	I_Method1(const osg::Object *, getParent, IN, unsigned int, i);
	I_Method0(unsigned int, getNumParents);
	I_Method0(void, setGlobalDefaults);
	I_Method0(void, clear);
	I_Method1(void, merge, IN, const osg::StateSet &, rhs);
	I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
	I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode);
	I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode);
	I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml);
	I_Method0(osg::StateSet::ModeList &, getModeList);
	I_Method0(const osg::StateSet::ModeList &, getModeList);
	I_MethodWithDefaults2(void, setAttribute, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF);
	I_MethodWithDefaults2(void, setAttributeAndModes, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON);
	I_MethodWithDefaults2(void, removeAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
	I_Method1(void, removeAttribute, IN, osg::StateAttribute *, attribute);
	I_MethodWithDefaults2(osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
	I_MethodWithDefaults2(const osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
	I_MethodWithDefaults2(const osg::StateSet::RefAttributePair *, getAttributePair, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
	I_Method1(void, setAttributeList, IN, osg::StateSet::AttributeList &, al);
	I_Method0(osg::StateSet::AttributeList &, getAttributeList);
	I_Method0(const osg::StateSet::AttributeList &, getAttributeList);
	I_Method3(void, setTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
	I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
	I_Method2(osg::StateAttribute::GLModeValue, getTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
	I_Method1(void, setTextureModeList, IN, osg::StateSet::TextureModeList &, tml);
	I_Method0(osg::StateSet::TextureModeList &, getTextureModeList);
	I_Method0(const osg::StateSet::TextureModeList &, getTextureModeList);
	I_MethodWithDefaults3(void, setTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF);
	I_MethodWithDefaults3(void, setTextureAttributeAndModes, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON);
	I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
	I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute *, attribute);
	I_Method2(osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
	I_Method2(const osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
	I_Method2(const osg::StateSet::RefAttributePair *, getTextureAttributePair, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
	I_Method1(void, setTextureAttributeList, IN, osg::StateSet::TextureAttributeList &, tal);
	I_Method0(osg::StateSet::TextureAttributeList &, getTextureAttributeList);
	I_Method0(const osg::StateSet::TextureAttributeList &, getTextureAttributeList);
	I_Method2(void, setAssociatedModes, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value);
	I_Method3(void, setAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value);
	I_MethodWithDefaults2(void, addUniform, IN, osg::Uniform *, uniform, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::ON);
	I_Method1(void, removeUniform, IN, const std::string &, name);
	I_Method1(void, removeUniform, IN, osg::Uniform *, uniform);
	I_Method1(osg::Uniform *, getUniform, IN, const std::string &, name);
	I_MethodWithDefaults3(osg::Uniform *, getOrCreateUniform, IN, const std::string &, name, , IN, osg::Uniform::Type, type, , IN, unsigned int, numElements, 1);
	I_Method1(const osg::Uniform *, getUniform, IN, const std::string &, name);
	I_Method1(const osg::StateSet::RefUniformPair *, getUniformPair, IN, const std::string &, name);
	I_Method1(void, setUniformList, IN, osg::StateSet::UniformList &, al);
	I_Method0(osg::StateSet::UniformList &, getUniformList);
	I_Method0(const osg::StateSet::UniformList &, getUniformList);
	I_Method1(void, setRenderingHint, IN, int, hint);
	I_Method0(int, getRenderingHint);
	I_MethodWithDefaults3(void, setRenderBinDetails, IN, int, binNum, , IN, const std::string &, binName, , IN, osg::StateSet::RenderBinMode, mode, osg::StateSet::USE_RENDERBIN_DETAILS);
	I_Method0(void, setRenderBinToInherit);
	I_Method0(bool, useRenderBinDetails);
	I_Method1(void, setRenderBinMode, IN, osg::StateSet::RenderBinMode, mode);
	I_Method0(osg::StateSet::RenderBinMode, getRenderBinMode);
	I_Method1(void, setBinNumber, IN, int, num);
	I_Method0(int, getBinNumber);
	I_Method1(void, setBinName, IN, const std::string &, name);
	I_Method0(const std::string &, getBinName);
	I_Method1(void, setUpdateCallback, IN, osg::StateSet::Callback *, ac);
	I_Method0(osg::StateSet::Callback *, getUpdateCallback);
	I_Method0(const osg::StateSet::Callback *, getUpdateCallback);
	I_Method0(bool, requiresUpdateTraversal);
	I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal);
	I_Method1(void, runUpdateCallbacks, IN, osg::NodeVisitor *, nv);
	I_Method1(void, setEventCallback, IN, osg::StateSet::Callback *, ac);
	I_Method0(osg::StateSet::Callback *, getEventCallback);
	I_Method0(const osg::StateSet::Callback *, getEventCallback);
	I_Method0(bool, requiresEventTraversal);
	I_Method0(unsigned int, getNumChildrenRequiringEventTraversal);
	I_Method1(void, runEventCallbacks, IN, osg::NodeVisitor *, nv);
	I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, state);
	I_Method1(void, compileGLObjects, IN, osg::State &, state);
	I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
	I_Property(osg::StateSet::AttributeList &, AttributeList);
	I_Property(const std::string &, BinName);
	I_Property(int, BinNumber);
	I_Property(osg::StateSet::Callback *, EventCallback);

	I_Property(osg::StateSet::ModeList &, ModeList);
	I_ArrayProperty_G(osg::Object *, Parent, Parents, unsigned int, void);
	I_ReadOnlyProperty(osg::StateSet::ParentList, Parents);
	I_Property(osg::StateSet::RenderBinMode, RenderBinMode);
	I_Property(int, RenderingHint);
	I_Property(osg::StateSet::TextureAttributeList &, TextureAttributeList);
	I_IndexedProperty2(osg::StateAttribute::GLModeValue, TextureMode, unsigned int, unit, osg::StateAttribute::GLMode, mode);
	I_Property(osg::StateSet::TextureModeList &, TextureModeList);
	I_Property(osg::StateSet::UniformList &, UniformList);
	I_Property(osg::StateSet::Callback *, UpdateCallback);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::StateSet::Callback)
	I_VirtualBaseType(osg::Object);
	I_Constructor0();
	I_Constructor2(IN, const osg::StateSet::Callback &, x, IN, const osg::CopyOp &, x);
	I_Method0(osg::Object *, cloneType);
	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
	I_Method0(const char *, libraryName);
	I_Method0(const char *, className);
END_REFLECTOR

BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateAttribute >)
	I_Constructor0();
	I_Constructor1(IN, osg::StateAttribute *, ptr);
	I_Constructor1(IN, const osg::ref_ptr< osg::StateAttribute > &, rp);
	I_Method0(osg::StateAttribute *, get);
	I_Method0(bool, valid);
	I_Method0(osg::StateAttribute *, release);
	I_Method1(void, swap, IN, osg::ref_ptr< osg::StateAttribute > &, rp);
	I_ReadOnlyProperty(osg::StateAttribute *, );
END_REFLECTOR

BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Uniform >)
	I_Constructor0();
	I_Constructor1(IN, osg::Uniform *, ptr);
	I_Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp);
	I_Method0(osg::Uniform *, get);
	I_Method0(bool, valid);
	I_Method0(osg::Uniform *, release);
	I_Method1(void, swap, IN, osg::ref_ptr< osg::Uniform > &, rp);
	I_ReadOnlyProperty(osg::Uniform *, );
END_REFLECTOR

STD_MAP_REFLECTOR_WITH_TYPES(std::map< osg::StateAttribute::GLMode COMMA  osg::StateAttribute::GLModeValue >, osg::StateAttribute::GLMode, osg::StateAttribute::Values);
STD_MAP_REFLECTOR(std::map< osg::StateAttribute::TypeMemberPair COMMA  osg::StateSet::RefAttributePair >);

STD_MAP_REFLECTOR(std::map< std::string COMMA  osg::StateSet::RefUniformPair >);

STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::StateAttribute > COMMA  osg::StateAttribute::OverrideValue >);

STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::Uniform > COMMA  osg::StateAttribute::OverrideValue >);

STD_VECTOR_REFLECTOR(std::vector< osg::Object * >);

STD_VECTOR_REFLECTOR(std::vector< osg::StateSet::AttributeList >);

STD_VECTOR_REFLECTOR(std::vector< osg::StateSet::ModeList >);

