// *************************************************************************** // // Generated automatically by genwrapper. // Please DO NOT EDIT this file! // // *************************************************************************** #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // Must undefine IN and OUT macros defined in Windows headers #ifdef IN #undef IN #endif #ifdef OUT #undef OUT #endif BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper) I_DeclaringFile("osgDB/Registry"); I_Constructor0(____basic_type_wrapper, "", ""); I_Method1(bool, matches, IN, const osg::Object *, proto, Properties::PURE_VIRTUAL, __bool__matches__C5_osg_Object_P1, "", ""); END_REFLECTOR BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy) I_DeclaringFile("osgDB/Registry"); I_Constructor1(IN, CPluginFunction, function, Properties::NON_EXPLICIT, ____PluginFunctionProxy__CPluginFunction, "", ""); END_REFLECTOR BEGIN_VALUE_REFLECTOR(osgDB::RegisterDotOsgWrapperProxy) I_DeclaringFile("osgDB/Registry"); I_ConstructorWithDefaults6(IN, osg::Object *, proto, , IN, const std::string &, name, , IN, const std::string &, associates, , IN, osgDB::DotOsgWrapper::ReadFunc, readFunc, , IN, osgDB::DotOsgWrapper::WriteFunc, writeFunc, , IN, osgDB::DotOsgWrapper::ReadWriteMode, readWriteMode, osgDB::DotOsgWrapper::READ_AND_WRITE, ____RegisterDotOsgWrapperProxy__osg_Object_P1__C5_std_string_R1__C5_std_string_R1__DotOsgWrapper_ReadFunc__DotOsgWrapper_WriteFunc__DotOsgWrapper_ReadWriteMode, "", ""); END_REFLECTOR BEGIN_ENUM_REFLECTOR(osgDB::Registry::LoadStatus) I_DeclaringFile("osgDB/Registry"); I_EnumLabel(osgDB::Registry::NOT_LOADED); I_EnumLabel(osgDB::Registry::PREVIOUSLY_LOADED); I_EnumLabel(osgDB::Registry::LOADED); END_REFLECTOR TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >, osgDB::Registry::ReaderWriterList) BEGIN_OBJECT_REFLECTOR(osgDB::Registry) I_DeclaringFile("osgDB/Registry"); I_BaseType(osg::Referenced); I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false, __Registry_P1__instance__bool_S, "", ""); I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, commandLine, Properties::NON_VIRTUAL, __void__readCommandLine__osg_ArgumentParser_R1, "read the command line arguments. ", ""); I_Method2(void, addFileExtensionAlias, IN, const std::string, mapExt, IN, const std::string, toExt, Properties::NON_VIRTUAL, __void__addFileExtensionAlias__C5_std_string__C5_std_string, "register an .fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library. ", "For example to map .tif files to the tiff loader, use addExtAlias(\"tif\",\"tiff\") which will enable .tif to be read by the libdb_tiff readerwriter plugin. "); I_Method1(bool, readPluginAliasConfigurationFile, IN, const std::string &, file, Properties::NON_VIRTUAL, __bool__readPluginAliasConfigurationFile__C5_std_string_R1, "Reads a file that configures extension mappings. ", "File is ASCII text and each line contains the parameters to the addFileExtensionAlias method. Lines can be commented out with an initial '#' character. "); I_Method2(void, addMimeTypeExtensionMapping, IN, const std::string, fromMimeType, IN, const std::string, toExt, Properties::NON_VIRTUAL, __void__addMimeTypeExtensionMapping__C5_std_string__C5_std_string, "Registers a mapping of a mime-type to an extension. ", "A process fetching data over HTTP can use this facility to determine the proper ReaderWriter to use when there is no filename extension to rely upon. "); I_Method1(void, addDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper, Properties::NON_VIRTUAL, __void__addDotOsgWrapper__DotOsgWrapper_P1, "", ""); I_Method1(void, removeDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper, Properties::NON_VIRTUAL, __void__removeDotOsgWrapper__DotOsgWrapper_P1, "", ""); I_Method1(void, addReaderWriter, IN, osgDB::ReaderWriter *, rw, Properties::NON_VIRTUAL, __void__addReaderWriter__ReaderWriter_P1, "", ""); I_Method1(void, removeReaderWriter, IN, osgDB::ReaderWriter *, rw, Properties::NON_VIRTUAL, __void__removeReaderWriter__ReaderWriter_P1, "", ""); I_Method1(std::string, createLibraryNameForFile, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __std_string__createLibraryNameForFile__C5_std_string_R1, "create the platform specific library name associated with file. ", ""); I_Method1(std::string, createLibraryNameForExtension, IN, const std::string &, ext, Properties::NON_VIRTUAL, __std_string__createLibraryNameForExtension__C5_std_string_R1, "create the platform specific library name associated with file extension. ", ""); I_Method1(std::string, createLibraryNameForNodeKit, IN, const std::string &, name, Properties::NON_VIRTUAL, __std_string__createLibraryNameForNodeKit__C5_std_string_R1, "create the platform specific library name associated with nodekit library name. ", ""); I_Method1(osgDB::Registry::LoadStatus, loadLibrary, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __LoadStatus__loadLibrary__C5_std_string_R1, "find the library in the OSG_LIBRARY_PATH and load it. ", ""); I_Method1(bool, closeLibrary, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __bool__closeLibrary__C5_std_string_R1, "close the attached library with specified name. ", ""); I_Method0(void, closeAllLibraries, Properties::NON_VIRTUAL, __void__closeAllLibraries, "close all libraries. ", ""); I_Method1(osgDB::ReaderWriter *, getReaderWriterForExtension, IN, const std::string &, ext, Properties::NON_VIRTUAL, __ReaderWriter_P1__getReaderWriterForExtension__C5_std_string_R1, "get a reader writer which handles specified extension. ", ""); I_Method1(osgDB::ReaderWriter *, getReaderWriterForMimeType, IN, const std::string &, mimeType, Properties::NON_VIRTUAL, __ReaderWriter_P1__getReaderWriterForMimeType__C5_std_string_R1, "gets a reader/writer that handles the extension mapped to by one of the registered mime-types. ", ""); I_Method0(osgDB::Registry::ReaderWriterList &, getReaderWriterList, Properties::NON_VIRTUAL, __ReaderWriterList_R1__getReaderWriterList, "get list of all registered ReaderWriters. ", ""); I_Method0(const osgDB::Registry::ReaderWriterList &, getReaderWriterList, Properties::NON_VIRTUAL, __C5_ReaderWriterList_R1__getReaderWriterList, "get const list of all registered ReaderWriters. ", ""); I_Method2(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Object_P1__readObjectOfType__C5_osg_Object_R1__Input_R1, "", ""); I_Method2(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Object_P1__readObjectOfType__C5_basic_type_wrapper_R1__Input_R1, "", ""); I_Method1(osg::Object *, readObject, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Object_P1__readObject__Input_R1, "", ""); I_Method1(osg::Image *, readImage, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Image_P1__readImage__Input_R1, "", ""); I_Method1(osg::Drawable *, readDrawable, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Drawable_P1__readDrawable__Input_R1, "", ""); I_Method1(osg::Uniform *, readUniform, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Uniform_P1__readUniform__Input_R1, "", ""); I_Method1(osg::StateAttribute *, readStateAttribute, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_StateAttribute_P1__readStateAttribute__Input_R1, "", ""); I_Method1(osg::Node *, readNode, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Node_P1__readNode__Input_R1, "", ""); I_Method1(osg::Shader *, readShader, IN, osgDB::Input &, fr, Properties::NON_VIRTUAL, __osg_Shader_P1__readShader__Input_R1, "", ""); I_Method2(bool, writeObject, IN, const osg::Object &, obj, IN, osgDB::Output &, fw, Properties::NON_VIRTUAL, __bool__writeObject__C5_osg_Object_R1__Output_R1, "", ""); I_Method1(void, setReadFileCallback, IN, osgDB::Registry::ReadFileCallback *, cb, Properties::NON_VIRTUAL, __void__setReadFileCallback__ReadFileCallback_P1, "Set the Registry callback to use in place of the default readFile calls. ", ""); I_Method0(osgDB::Registry::ReadFileCallback *, getReadFileCallback, Properties::NON_VIRTUAL, __ReadFileCallback_P1__getReadFileCallback, "Get the readFile callback. ", ""); I_Method0(const osgDB::Registry::ReadFileCallback *, getReadFileCallback, Properties::NON_VIRTUAL, __C5_ReadFileCallback_P1__getReadFileCallback, "Get the const readFile callback. ", ""); I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1, "", ""); I_Method4(osgDB::ReaderWriter::ReadResult, openArchiveImplementation, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__openArchiveImplementation__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1, "", ""); I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, fileName, , IN, const osgDB::ReaderWriter::Options *, options, , IN, bool, buildKdTreeIfRequired, true, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_ReaderWriter_Options_P1__bool, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readObjectImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readObjectImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readImageImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readImageImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readHeightFieldImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readHeightFieldImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, fileName, , IN, const osgDB::ReaderWriter::Options *, options, , IN, bool, buildKdTreeIfRequired, true, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_ReaderWriter_Options_P1__bool, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readNodeImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readNodeImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readShaderImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_ReadResult__readShaderImplementation__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method1(void, setWriteFileCallback, IN, osgDB::Registry::WriteFileCallback *, cb, Properties::NON_VIRTUAL, __void__setWriteFileCallback__WriteFileCallback_P1, "Set the Registry callback to use in place of the default writeFile calls. ", ""); I_Method0(osgDB::Registry::WriteFileCallback *, getWriteFileCallback, Properties::NON_VIRTUAL, __WriteFileCallback_P1__getWriteFileCallback, "Get the writeFile callback. ", ""); I_Method0(const osgDB::Registry::WriteFileCallback *, getWriteFileCallback, Properties::NON_VIRTUAL, __C5_WriteFileCallback_P1__getWriteFileCallback, "Get the const writeFile callback. ", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeObjectImplementation, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeObjectImplementation__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeImageImplementation, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeImageImplementation__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightFieldImplementation, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeHeightFieldImplementation__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeNodeImplementation, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeNodeImplementation__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeShaderImplementation, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeShaderImplementation__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(void, _buildKdTreeIfRequired, IN, osgDB::ReaderWriter::ReadResult &, result, IN, const osgDB::ReaderWriter::Options *, options, Properties::NON_VIRTUAL, __void___buildKdTreeIfRequired__ReaderWriter_ReadResult_R1__C5_ReaderWriter_Options_P1, "", ""); 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, setFileCache, IN, osgDB::FileCache *, fileCache, Properties::NON_VIRTUAL, __void__setFileCache__FileCache_P1, "Set the FileCache that is used to manage local storage of files downloaded from the internet. ", ""); I_Method0(osgDB::FileCache *, getFileCache, Properties::NON_VIRTUAL, __FileCache_P1__getFileCache, "Get the FileCache that is used to manage local storage of files downloaded from the internet. ", ""); I_Method0(const osgDB::FileCache *, getFileCache, Properties::NON_VIRTUAL, __C5_FileCache_P1__getFileCache, "Get the const FileCache that is used to manage local storage of files downloaded from the internet. ", ""); 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(osgDB::AuthenticationMap *, getAuthenticationMap, Properties::NON_VIRTUAL, __AuthenticationMap_P1__getAuthenticationMap, "Get 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, __void__setCreateNodeFromImage__bool, "", ""); I_Method0(bool, getCreateNodeFromImage, Properties::NON_VIRTUAL, __bool__getCreateNodeFromImage, "", ""); I_Method1(void, setOptions, IN, osgDB::ReaderWriter::Options *, opt, Properties::NON_VIRTUAL, __void__setOptions__ReaderWriter_Options_P1, "", ""); I_Method0(osgDB::ReaderWriter::Options *, getOptions, Properties::NON_VIRTUAL, __ReaderWriter_Options_P1__getOptions, "", ""); I_Method0(const osgDB::ReaderWriter::Options *, getOptions, Properties::NON_VIRTUAL, __C5_ReaderWriter_Options_P1__getOptions, "", ""); I_Method0(void, initFilePathLists, Properties::NON_VIRTUAL, __void__initFilePathLists, "initialize both the Data and Library FilePaths, by default called by the constructor, so it should only be required if you want to force the re-reading of environmental variables. ", ""); I_Method0(void, initDataFilePathList, Properties::NON_VIRTUAL, __void__initDataFilePathList, "initialize the Data FilePath by reading the OSG_FILE_PATH environmental variable. ", ""); I_Method1(void, setDataFilePathList, IN, const osgDB::FilePathList &, filepath, Properties::NON_VIRTUAL, __void__setDataFilePathList__C5_FilePathList_R1, "Set the data file path using a list of paths stored in a FilePath, which is used when search for data files. ", ""); I_Method1(void, setDataFilePathList, IN, const std::string &, paths, Properties::NON_VIRTUAL, __void__setDataFilePathList__C5_std_string_R1, "Set the data file path using a single string delimited either with ';' (Windows) or ':' (All other platforms), which is used when search for data files. ", ""); I_Method0(osgDB::FilePathList &, getDataFilePathList, Properties::NON_VIRTUAL, __FilePathList_R1__getDataFilePathList, "get the data file path which is used when search for data files. ", ""); I_Method0(const osgDB::FilePathList &, getDataFilePathList, Properties::NON_VIRTUAL, __C5_FilePathList_R1__getDataFilePathList, "get the const data file path which is used when search for data files. ", ""); I_Method0(void, initLibraryFilePathList, Properties::NON_VIRTUAL, __void__initLibraryFilePathList, "initialize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables ", ""); I_Method1(void, setLibraryFilePathList, IN, const osgDB::FilePathList &, filepath, Properties::NON_VIRTUAL, __void__setLibraryFilePathList__C5_FilePathList_R1, "Set the library file path using a list of paths stored in a FilePath, which is used when search for data files. ", ""); I_Method1(void, setLibraryFilePathList, IN, const std::string &, paths, Properties::NON_VIRTUAL, __void__setLibraryFilePathList__C5_std_string_R1, "Set the library file path using a single string delimited either with ';' (Windows) or ':' (All other platforms), which is used when search for data files. ", ""); I_Method0(osgDB::FilePathList &, getLibraryFilePathList, Properties::NON_VIRTUAL, __FilePathList_R1__getLibraryFilePathList, "get the library file path which is used when search for library (dso/dll's) files. ", ""); I_Method0(const osgDB::FilePathList &, getLibraryFilePathList, Properties::NON_VIRTUAL, __C5_FilePathList_R1__getLibraryFilePathList, "get the const library file path which is used when search for library (dso/dll's) files. ", ""); I_Method1(void, updateTimeStampOfObjectsInCacheWithExternalReferences, IN, double, currentTime, Properties::NON_VIRTUAL, __void__updateTimeStampOfObjectsInCacheWithExternalReferences__double, "For each object in the cache which has an reference count greater than 1 (and therefore referenced by elsewhere in the application) set the time stamp for that object in the cache to specified time. ", "This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required. Time value is time in seconds. "); I_Method1(void, removeExpiredObjectsInCache, IN, double, expiryTime, Properties::NON_VIRTUAL, __void__removeExpiredObjectsInCache__double, "Removed object in the cache which have a time stamp at or before the specified expiry time. ", "This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required, and called after the a called after the call to updateTimeStampOfObjectsInCacheWithExternalReferences(currentTime). Note, the currentTime is not the expiryTime, one would typically set the expiry time to a fixed amount of time before currentTime, such as expiryTime = currentTime-10.0. Time value is time in seconds. "); I_Method0(void, clearObjectCache, Properties::NON_VIRTUAL, __void__clearObjectCache, "Remove all objects in the cache regardless of having external references or expiry times. ", ""); I_MethodWithDefaults3(void, addEntryToObjectCache, IN, const std::string &, filename, , IN, osg::Object *, object, , IN, double, timestamp, 0.0, Properties::NON_VIRTUAL, __void__addEntryToObjectCache__C5_std_string_R1__osg_Object_P1__double, "Add a filename,object,timestamp triple to the Registry::ObjectCache. ", ""); I_Method1(osg::Object *, getFromObjectCache, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __osg_Object_P1__getFromObjectCache__C5_std_string_R1, "Get an object from the object cache. ", ""); I_Method2(void, addToArchiveCache, IN, const std::string &, fileName, IN, osgDB::Archive *, archive, Properties::NON_VIRTUAL, __void__addToArchiveCache__C5_std_string_R1__osgDB_Archive_P1, "Add archive to archive cache so that future calls reference this archive. ", ""); I_Method1(void, removeFromArchiveCache, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __void__removeFromArchiveCache__C5_std_string_R1, "Remove archive from cache. ", ""); I_Method1(osgDB::Archive *, getFromArchiveCache, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __osgDB_Archive_P1__getFromArchiveCache__C5_std_string_R1, "Get an archive from the archive cache. ", ""); I_Method0(void, clearArchiveCache, Properties::NON_VIRTUAL, __void__clearArchiveCache, "Remove all archives from the archive cache. ", ""); I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, Properties::NON_VIRTUAL, __void__releaseGLObjects__osg_State_P1, "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", "Otherwise, releases OpenGL objexts for all graphics contexts. "); I_Method1(osgDB::DynamicLibrary *, getLibrary, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __DynamicLibrary_P1__getLibrary__C5_std_string_R1, "get the attached library with specified name. ", ""); I_Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager, Properties::NON_VIRTUAL, __void__setSharedStateManager__SharedStateManager_P1, "Set the SharedStateManager. ", ""); I_Method0(osgDB::SharedStateManager *, getOrCreateSharedStateManager, Properties::NON_VIRTUAL, __SharedStateManager_P1__getOrCreateSharedStateManager, "Get the SharedStateManager, creating one if one is not already created. ", ""); I_Method0(osgDB::SharedStateManager *, getSharedStateManager, Properties::NON_VIRTUAL, __SharedStateManager_P1__getSharedStateManager, "Get the SharedStateManager. ", "Return 0 if no SharedStateManager has been assigned. "); I_Method1(void, addArchiveExtension, IN, const std::string, ext, Properties::NON_VIRTUAL, __void__addArchiveExtension__C5_std_string, "Add an Archive extension. ", ""); I_Method1(void, registerProtocol, IN, const std::string &, protocol, Properties::NON_VIRTUAL, __void__registerProtocol__C5_std_string_R1, "registers a protocol ", ""); I_Method1(bool, isProtocolRegistered, IN, const std::string &, protocol, Properties::NON_VIRTUAL, __bool__isProtocolRegistered__C5_std_string_R1, "returns true, if named protocol is registered ", ""); I_ProtectedConstructor0(____Registry, "constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed ", ""); I_ProtectedMethod0(void, destruct, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__destruct, "", ""); I_ProtectedMethod1(osgDB::ReaderWriter::ReadResult, read, IN, const osgDB::Registry::ReadFunctor &, readFunctor, Properties::NON_VIRTUAL, Properties::NON_CONST, __ReaderWriter_ReadResult__read__C5_ReadFunctor_R1, "", ""); I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, osgDB::ReaderWriter::Options::CacheHintOptions, cacheHint, Properties::NON_VIRTUAL, Properties::NON_CONST, __ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__ReaderWriter_Options_CacheHintOptions, "", ""); I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap, __AuthenticationMap_P1__getAuthenticationMap, __void__setAuthenticationMap__AuthenticationMap_P1); I_SimpleProperty(osgDB::ReaderWriter::Options::BuildKdTreesHint, BuildKdTreesHint, __ReaderWriter_Options_BuildKdTreesHint__getBuildKdTreesHint, __void__setBuildKdTreesHint__ReaderWriter_Options_BuildKdTreesHint); I_SimpleProperty(bool, CreateNodeFromImage, __bool__getCreateNodeFromImage, __void__setCreateNodeFromImage__bool); I_SimpleProperty(const osgDB::FilePathList &, DataFilePathList, __C5_FilePathList_R1__getDataFilePathList, __void__setDataFilePathList__C5_FilePathList_R1); I_SimpleProperty(osgDB::FileCache *, FileCache, __FileCache_P1__getFileCache, __void__setFileCache__FileCache_P1); I_SimpleProperty(osg::KdTreeBuilder *, KdTreeBuilder, __osg_KdTreeBuilder_P1__getKdTreeBuilder, __void__setKdTreeBuilder__osg_KdTreeBuilder_P1); I_SimpleProperty(const osgDB::FilePathList &, LibraryFilePathList, __C5_FilePathList_R1__getLibraryFilePathList, __void__setLibraryFilePathList__C5_FilePathList_R1); I_SimpleProperty(osgDB::ReaderWriter::Options *, Options, __ReaderWriter_Options_P1__getOptions, __void__setOptions__ReaderWriter_Options_P1); I_SimpleProperty(osgDB::Registry::ReadFileCallback *, ReadFileCallback, __ReadFileCallback_P1__getReadFileCallback, __void__setReadFileCallback__ReadFileCallback_P1); I_SimpleProperty(osgDB::Registry::ReaderWriterList &, ReaderWriterList, __ReaderWriterList_R1__getReaderWriterList, 0); I_SimpleProperty(osgDB::SharedStateManager *, SharedStateManager, __SharedStateManager_P1__getSharedStateManager, __void__setSharedStateManager__SharedStateManager_P1); I_SimpleProperty(osgDB::Registry::WriteFileCallback *, WriteFileCallback, __WriteFileCallback_P1__getWriteFileCallback, __void__setWriteFileCallback__WriteFileCallback_P1); END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osgDB::Registry::ReadFileCallback) I_DeclaringFile("osgDB/Registry"); I_VirtualBaseType(osg::Referenced); I_Constructor0(____ReadFileCallback, "", ""); I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, filename, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, useObjectCache, Properties::VIRTUAL, __ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); END_REFLECTOR BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Registry::ReadFunctor) I_DeclaringFile("osgDB/Registry"); I_Constructor2(IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, ____ReadFunctor__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method1(osgDB::ReaderWriter::ReadResult, doRead, IN, osgDB::ReaderWriter &, rw, Properties::PURE_VIRTUAL, __ReaderWriter_ReadResult__doRead__ReaderWriter_R1, "", ""); I_Method1(bool, isValid, IN, osgDB::ReaderWriter::ReadResult &, readResult, Properties::PURE_VIRTUAL, __bool__isValid__ReaderWriter_ReadResult_R1, "", ""); I_Method1(bool, isValid, IN, osg::Object *, object, Properties::PURE_VIRTUAL, __bool__isValid__osg_Object_P1, "", ""); I_PublicMemberProperty(std::string, _filename); END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osgDB::Registry::WriteFileCallback) I_DeclaringFile("osgDB/Registry"); I_VirtualBaseType(osg::Referenced); I_Constructor0(____WriteFileCallback, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options, Properties::VIRTUAL, __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_ReaderWriter_Options_P1, "", ""); END_REFLECTOR BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriter >) I_DeclaringFile("osg/ref_ptr"); I_Constructor0(____ref_ptr, "", ""); I_Constructor1(IN, osgDB::ReaderWriter *, ptr, Properties::NON_EXPLICIT, ____ref_ptr__T_P1, "", ""); I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriter > &, rp, Properties::NON_EXPLICIT, ____ref_ptr__C5_ref_ptr_R1, "", ""); I_Method0(osgDB::ReaderWriter *, get, Properties::NON_VIRTUAL, __T_P1__get, "", ""); I_Method0(bool, valid, Properties::NON_VIRTUAL, __bool__valid, "", ""); I_Method0(osgDB::ReaderWriter *, release, Properties::NON_VIRTUAL, __T_P1__release, "", ""); I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriter > &, rp, Properties::NON_VIRTUAL, __void__swap__ref_ptr_R1, "", ""); I_SimpleProperty(osgDB::ReaderWriter *, , __T_P1__get, 0); END_REFLECTOR STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >)