⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readerwriter.cpp

📁 最新osg包
💻 CPP
📖 第 1 页 / 共 2 页
字号:
// ***************************************************************************////   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/Image>#include <osg/Node>#include <osg/Object>#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#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifTYPE_NAME_ALIAS(std::map< std::string COMMA  std::string >, osgDB::ReaderWriter::FormatDescriptionMap)BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus)	I_DeclaringFile("osgDB/ReaderWriter");	I_EnumLabel(osgDB::ReaderWriter::READ);	I_EnumLabel(osgDB::ReaderWriter::WRITE);	I_EnumLabel(osgDB::ReaderWriter::CREATE);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter)	I_DeclaringFile("osgDB/ReaderWriter");	I_BaseType(osg::Object);	I_Constructor0(____ReaderWriter,	               "",	               "");	I_ConstructorWithDefaults2(IN, const osgDB::ReaderWriter &, rw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,	                           ____ReaderWriter__C5_ReaderWriter_R1__C5_osg_CopyOp_R1,	                           "",	                           "");	I_Method0(osg::Object *, cloneType,	          Properties::VIRTUAL,	          __osg_Object_P1__cloneType,	          "Clone the type of an object, with Object* return type. ",	          "Must be defined by derived classes. ");	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,	          Properties::VIRTUAL,	          __osg_Object_P1__clone__C5_osg_CopyOp_R1,	          "Clone an object, with Object* return type. ",	          "Must be defined by derived classes. ");	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,	          Properties::VIRTUAL,	          __bool__isSameKindAs__C5_osg_Object_P1,	          "",	          "");	I_Method0(const char *, libraryName,	          Properties::VIRTUAL,	          __C5_char_P1__libraryName,	          "return the name of the object's library. ",	          "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");	I_Method0(const char *, className,	          Properties::VIRTUAL,	          __C5_char_P1__className,	          "return the name of the object's class type. ",	          "Must be defined by derived classes. ");	I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedProtocols,	          Properties::VIRTUAL,	          __C5_FormatDescriptionMap_R1__supportedProtocols,	          "return which protocols are supported by ReaderWriter. ",	          "");	I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedExtensions,	          Properties::VIRTUAL,	          __C5_FormatDescriptionMap_R1__supportedExtensions,	          "return which list of file extensions supported by ReaderWriter. ",	          "");	I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedOptions,	          Properties::VIRTUAL,	          __C5_FormatDescriptionMap_R1__supportedOptions,	          "return which list of file extensions supported by ReaderWriter. ",	          "");	I_Method1(bool, acceptsExtension, IN, const std::string &, x,	          Properties::VIRTUAL,	          __bool__acceptsExtension__C5_std_string_R1,	          "return true if ReaderWriter accepts specified file extension. ",	          "");	I_MethodWithDefaults4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, x, , IN, osgDB::ReaderWriter::ArchiveStatus, x, , IN, unsigned, int, 4096, IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__openArchive__C5_std_string_R1__ArchiveStatus__unsigned__C5_Options_P1,	                      "open an archive for reading, writing, or to create an empty archive for writing to. ",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, openArchive, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__openArchive__std_istream_R1__C5_Options_P1,	                      "open an archive for reading. ",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readObject__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readImage__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readNode__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readShader__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readObject__std_istream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readImage__std_istream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readHeightField__std_istream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readNode__std_istream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __ReadResult__readShader__std_istream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeObject__C5_osg_Object_R1__std_ostream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeImage__C5_osg_Image_R1__std_ostream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeHeightField__C5_osg_HeightField_R1__std_ostream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeNode__C5_osg_Node_R1__std_ostream_R1__C5_Options_P1,	                      "",	                      "");	I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL,	                      Properties::VIRTUAL,	                      __WriteResult__writeShader__C5_osg_Shader_R1__std_ostream_R1__C5_Options_P1,	                      "",	                      "");	I_ProtectedMethod2(void, supportsProtocol, IN, const std::string &, fmt, IN, const std::string &, description,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__supportsProtocol__C5_std_string_R1__C5_std_string_R1,	                   "",	                   "");	I_ProtectedMethod2(void, supportsExtension, IN, const std::string &, fmt, IN, const std::string &, description,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__supportsExtension__C5_std_string_R1__C5_std_string_R1,	                   "",	                   "");	I_ProtectedMethod2(void, supportsOption, IN, const std::string &, fmt, IN, const std::string &, description,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__supportsOption__C5_std_string_R1__C5_std_string_R1,	                   "",	                   "");END_REFLECTORBEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Options::CacheHintOptions)	I_DeclaringFile("osgDB/ReaderWriter");	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_NONE);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_NODES);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_IMAGES);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_HEIGHTFIELDS);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_ARCHIVES);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_OBJECTS);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_SHADERS);	I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_ALL);END_REFLECTORBEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Options::BuildKdTreesHint)	I_DeclaringFile("osgDB/ReaderWriter");	I_EnumLabel(osgDB::ReaderWriter::Options::NO_PREFERENCE);	I_EnumLabel(osgDB::ReaderWriter::Options::DO_NOT_BUILD_KDTREES);	I_EnumLabel(osgDB::ReaderWriter::Options::BUILD_KDTREES);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options)	I_DeclaringFile("osgDB/ReaderWriter");	I_BaseType(osg::Object);	I_Constructor0(____Options,	               "",	               "");	I_Constructor1(IN, const std::string &, str,	               Properties::NON_EXPLICIT,	               ____Options__C5_std_string_R1,	               "",	               "");	I_ConstructorWithDefaults2(IN, const osgDB::ReaderWriter::Options &, options, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,	                           ____Options__C5_Options_R1__C5_osg_CopyOp_R1,	                           "",	                           "");	I_Method0(osg::Object *, cloneType,	          Properties::VIRTUAL,	          __osg_Object_P1__cloneType,	          "Clone the type of an object, with Object* return type. ",	          "Must be defined by derived classes. ");	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,	          Properties::VIRTUAL,	          __osg_Object_P1__clone__C5_osg_CopyOp_R1,	          "Clone an object, with Object* return type. ",	          "Must be defined by derived classes. ");	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,	          Properties::VIRTUAL,	          __bool__isSameKindAs__C5_osg_Object_P1,	          "",	          "");	I_Method0(const char *, libraryName,	          Properties::VIRTUAL,	          __C5_char_P1__libraryName,	          "return the name of the object's library. ",	          "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");	I_Method0(const char *, className,	          Properties::VIRTUAL,	          __C5_char_P1__className,	          "return the name of the object's class type. ",	          "Must be defined by derived classes. ");	I_Method1(void, setOptionString, IN, const std::string &, str,	          Properties::NON_VIRTUAL,	          __void__setOptionString__C5_std_string_R1,	          "Set the general Options string. ",	          "");	I_Method0(const std::string &, getOptionString,	          Properties::NON_VIRTUAL,	          __C5_std_string_R1__getOptionString,	          "Get the general Options string. ",	          "");	I_Method1(void, setDatabasePath, IN, const std::string &, str,	          Properties::NON_VIRTUAL,	          __void__setDatabasePath__C5_std_string_R1,	          "Set the database path to use a hint of where to look when loading models. ",	          "");	I_Method0(osgDB::FilePathList &, getDatabasePathList,	          Properties::NON_VIRTUAL,	          __FilePathList_R1__getDatabasePathList,	          "Get the database path which is used a hint of where to look when loading models. ",	          "");	I_Method0(const osgDB::FilePathList &, getDatabasePathList,	          Properties::NON_VIRTUAL,	          __C5_FilePathList_R1__getDatabasePathList,	          "Get the const database path which is used a hint of where to look when loading models. ",	          "");	I_Method1(void, setObjectCacheHint, IN, osgDB::ReaderWriter::Options::CacheHintOptions, useObjectCache,	          Properties::NON_VIRTUAL,	          __void__setObjectCacheHint__CacheHintOptions,	          "Set whether the Registry::ObjectCache should be used by default. ",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -