Updated wrappers

This commit is contained in:
Robert Osfield
2008-07-17 12:26:42 +00:00
parent 969884e6c2
commit 8751bdbc97
3 changed files with 94 additions and 4 deletions

View File

@@ -0,0 +1,62 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/AuthenticationMap>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osgDB::AuthenticationDetails::HttpAuthentication)
I_DeclaringFile("osgDB/AuthenticationMap");
I_EnumLabel(osgDB::AuthenticationDetails::BASIC);
I_EnumLabel(osgDB::AuthenticationDetails::DIGEST);
I_EnumLabel(osgDB::AuthenticationDetails::NTLM);
I_EnumLabel(osgDB::AuthenticationDetails::GSSNegotiate);
I_EnumLabel(osgDB::AuthenticationDetails::ANY);
I_EnumLabel(osgDB::AuthenticationDetails::ANYSAFE);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::AuthenticationDetails)
I_DeclaringFile("osgDB/AuthenticationMap");
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults3(IN, const std::string &, u, , IN, const std::string &, p, , IN, osgDB::AuthenticationDetails::HttpAuthentication, auth, osgDB::AuthenticationDetails::BASIC,
____AuthenticationDetails__C5_std_string_R1__C5_std_string_R1__HttpAuthentication,
"",
"");
I_PublicMemberProperty(std::string, username);
I_PublicMemberProperty(std::string, password);
I_PublicMemberProperty(osgDB::AuthenticationDetails::HttpAuthentication, httpAuthentication);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::AuthenticationMap)
I_DeclaringFile("osgDB/AuthenticationMap");
I_BaseType(osg::Referenced);
I_Constructor0(____AuthenticationMap,
"",
"");
I_Method2(void, addAuthenticationDetails, IN, const std::string &, path, IN, osgDB::AuthenticationDetails *, details,
Properties::VIRTUAL,
__void__addAuthenticationDetails__C5_std_string_R1__AuthenticationDetails_P1,
"",
"");
I_Method1(const osgDB::AuthenticationDetails *, getAuthenticationDetails, IN, const std::string &, path,
Properties::VIRTUAL,
__C5_AuthenticationDetails_P1__getAuthenticationDetails__C5_std_string_R1,
"",
"");
END_REFLECTOR

View File

@@ -17,6 +17,7 @@
#include <osg/Shader>
#include <osg/Shape>
#include <osgDB/Archive>
#include <osgDB/AuthenticationMap>
#include <osgDB/ReaderWriter>
// Must undefine IN and OUT macros defined in Windows headers
@@ -325,6 +326,16 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options)
__BuildKdTreesHint__getBuildKdTreesHint,
"Get whether the KdTrees should be built for geometry in the loader model. ",
"");
I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap,
Properties::NON_VIRTUAL,
__void__setAuthenticationMap__AuthenticationMap_P1,
"Set the password map to be used by plugins when access files from secure locations. ",
"");
I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap,
Properties::NON_VIRTUAL,
__C5_AuthenticationMap_P1__getAuthenticationMap,
"Get the password map to be used by plugins when access files from secure locations. ",
"");
I_Method2(void, setPluginData, IN, const std::string &, s, IN, void *, v,
Properties::NON_VIRTUAL,
__void__setPluginData__C5_std_string_R1__void_P1,
@@ -345,6 +356,9 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options)
__void__removePluginData__C5_std_string_R1,
"Remove a value from the PluginData. ",
"");
I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap,
0,
__void__setAuthenticationMap__AuthenticationMap_P1);
I_SimpleProperty(osgDB::ReaderWriter::Options::BuildKdTreesHint, BuildKdTreesHint,
__BuildKdTreesHint__getBuildKdTreesHint,
__void__setBuildKdTreesHint__BuildKdTreesHint);

View File

@@ -22,6 +22,7 @@
#include <osg/StateAttribute>
#include <osg/Uniform>
#include <osgDB/Archive>
#include <osgDB/AuthenticationMap>
#include <osgDB/DatabasePager>
#include <osgDB/DotOsgWrapper>
#include <osgDB/DynamicLibrary>
@@ -351,22 +352,32 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
I_Method1(void, setBuildKdTreesHint, IN, osgDB::ReaderWriter::Options::BuildKdTreesHint, hint,
Properties::NON_VIRTUAL,
__void__setBuildKdTreesHint__ReaderWriter_Options_BuildKdTreesHint,
"",
"Set whether the KdTrees should be built for geometry in the loader model. ",
"");
I_Method0(osgDB::ReaderWriter::Options::BuildKdTreesHint, getBuildKdTreesHint,
Properties::NON_VIRTUAL,
__ReaderWriter_Options_BuildKdTreesHint__getBuildKdTreesHint,
"",
"Get whether the KdTrees should be built for geometry in the loader model. ",
"");
I_Method1(void, setKdTreeBuilder, IN, osg::KdTreeBuilder *, builder,
Properties::NON_VIRTUAL,
__void__setKdTreeBuilder__osg_KdTreeBuilder_P1,
"",
"Set the KdTreeBuilder visitor that is used to build KdTree on loaded models. ",
"");
I_Method0(osg::KdTreeBuilder *, getKdTreeBuilder,
Properties::NON_VIRTUAL,
__osg_KdTreeBuilder_P1__getKdTreeBuilder,
"",
"Get the KdTreeBuilder visitor that is used to build KdTree on loaded models. ",
"");
I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap,
Properties::NON_VIRTUAL,
__void__setAuthenticationMap__AuthenticationMap_P1,
"Set the password map to be used by plugins when access files from secure locations. ",
"");
I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap,
Properties::NON_VIRTUAL,
__C5_AuthenticationMap_P1__getAuthenticationMap,
"Get the password map to be used by plugins when access files from secure locations. ",
"");
I_Method1(void, setCreateNodeFromImage, IN, bool, flag,
Properties::NON_VIRTUAL,
@@ -566,6 +577,9 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
__ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__bool,
"",
"");
I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap,
0,
__void__setAuthenticationMap__AuthenticationMap_P1);
I_SimpleProperty(osgDB::ReaderWriter::Options::BuildKdTreesHint, BuildKdTreesHint,
__ReaderWriter_Options_BuildKdTreesHint__getBuildKdTreesHint,
__void__setBuildKdTreesHint__ReaderWriter_Options_BuildKdTreesHint);