| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| 13 | #include <osg/CopyOp> |
|---|
| 14 | #include <osg/Image> |
|---|
| 15 | #include <osg/Node> |
|---|
| 16 | #include <osg/Object> |
|---|
| 17 | #include <osg/Shader> |
|---|
| 18 | #include <osg/Shape> |
|---|
| 19 | #include <osgDB/Archive> |
|---|
| 20 | #include <osgDB/AuthenticationMap> |
|---|
| 21 | #include <osgDB/ReaderWriter> |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | #ifdef IN |
|---|
| 25 | #undef IN |
|---|
| 26 | #endif |
|---|
| 27 | #ifdef OUT |
|---|
| 28 | #undef OUT |
|---|
| 29 | #endif |
|---|
| 30 | |
|---|
| 31 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Features) |
|---|
| 32 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 33 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_NONE); |
|---|
| 34 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_OBJECT); |
|---|
| 35 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_IMAGE); |
|---|
| 36 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_HEIGHT_FIELD); |
|---|
| 37 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_NODE); |
|---|
| 38 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_SHADER); |
|---|
| 39 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_OBJECT); |
|---|
| 40 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_IMAGE); |
|---|
| 41 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_HEIGHT_FIELD); |
|---|
| 42 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_NODE); |
|---|
| 43 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_SHADER); |
|---|
| 44 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_ALL); |
|---|
| 45 | END_REFLECTOR |
|---|
| 46 | |
|---|
| 47 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus) |
|---|
| 48 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 49 | I_EnumLabel(osgDB::ReaderWriter::READ); |
|---|
| 50 | I_EnumLabel(osgDB::ReaderWriter::WRITE); |
|---|
| 51 | I_EnumLabel(osgDB::ReaderWriter::CREATE); |
|---|
| 52 | END_REFLECTOR |
|---|
| 53 | |
|---|
| 54 | TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::ReaderWriter::FormatDescriptionMap) |
|---|
| 55 | |
|---|
| 56 | TYPE_NAME_ALIAS(std::list< std::string >, osgDB::ReaderWriter::FeatureList) |
|---|
| 57 | |
|---|
| 58 | BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter) |
|---|
| 59 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 60 | I_BaseType(osg::Object); |
|---|
| 61 | I_Constructor0(____ReaderWriter, |
|---|
| 62 | "", |
|---|
| 63 | ""); |
|---|
| 64 | I_ConstructorWithDefaults2(IN, const osgDB::ReaderWriter &, rw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 65 | ____ReaderWriter__C5_ReaderWriter_R1__C5_osg_CopyOp_R1, |
|---|
| 66 | "", |
|---|
| 67 | ""); |
|---|
| 68 | I_Method0(osg::Object *, cloneType, |
|---|
| 69 | Properties::VIRTUAL, |
|---|
| 70 | __osg_Object_P1__cloneType, |
|---|
| 71 | "Clone the type of an object, with Object* return type. ", |
|---|
| 72 | "Must be defined by derived classes. "); |
|---|
| 73 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 74 | Properties::VIRTUAL, |
|---|
| 75 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 76 | "Clone an object, with Object* return type. ", |
|---|
| 77 | "Must be defined by derived classes. "); |
|---|
| 78 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 79 | Properties::VIRTUAL, |
|---|
| 80 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 81 | "", |
|---|
| 82 | ""); |
|---|
| 83 | I_Method0(const char *, libraryName, |
|---|
| 84 | Properties::VIRTUAL, |
|---|
| 85 | __C5_char_P1__libraryName, |
|---|
| 86 | "return the name of the object's library. ", |
|---|
| 87 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 88 | I_Method0(const char *, className, |
|---|
| 89 | Properties::VIRTUAL, |
|---|
| 90 | __C5_char_P1__className, |
|---|
| 91 | "return the name of the object's class type. ", |
|---|
| 92 | "Must be defined by derived classes. "); |
|---|
| 93 | I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedProtocols, |
|---|
| 94 | Properties::VIRTUAL, |
|---|
| 95 | __C5_FormatDescriptionMap_R1__supportedProtocols, |
|---|
| 96 | "return which protocols are supported by ReaderWriter. ", |
|---|
| 97 | ""); |
|---|
| 98 | I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedExtensions, |
|---|
| 99 | Properties::VIRTUAL, |
|---|
| 100 | __C5_FormatDescriptionMap_R1__supportedExtensions, |
|---|
| 101 | "return which list of file extensions supported by ReaderWriter. ", |
|---|
| 102 | ""); |
|---|
| 103 | I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedOptions, |
|---|
| 104 | Properties::VIRTUAL, |
|---|
| 105 | __C5_FormatDescriptionMap_R1__supportedOptions, |
|---|
| 106 | "return which list of file extensions supported by ReaderWriter. ", |
|---|
| 107 | ""); |
|---|
| 108 | I_Method1(bool, acceptsExtension, IN, const std::string &, x, |
|---|
| 109 | Properties::VIRTUAL, |
|---|
| 110 | __bool__acceptsExtension__C5_std_string_R1, |
|---|
| 111 | "return true if ReaderWriter accepts specified file extension. ", |
|---|
| 112 | ""); |
|---|
| 113 | I_Method0(osgDB::ReaderWriter::Features, supportedFeatures, |
|---|
| 114 | Properties::VIRTUAL, |
|---|
| 115 | __Features__supportedFeatures, |
|---|
| 116 | "return available features ", |
|---|
| 117 | ""); |
|---|
| 118 | 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, |
|---|
| 119 | Properties::VIRTUAL, |
|---|
| 120 | __ReadResult__openArchive__C5_std_string_R1__ArchiveStatus__unsigned__C5_Options_P1, |
|---|
| 121 | "open an archive for reading, writing, or to create an empty archive for writing to. ", |
|---|
| 122 | ""); |
|---|
| 123 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, openArchive, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 124 | Properties::VIRTUAL, |
|---|
| 125 | __ReadResult__openArchive__std_istream_R1__C5_Options_P1, |
|---|
| 126 | "open an archive for reading. ", |
|---|
| 127 | ""); |
|---|
| 128 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 129 | Properties::VIRTUAL, |
|---|
| 130 | __ReadResult__readObject__C5_std_string_R1__C5_Options_P1, |
|---|
| 131 | "", |
|---|
| 132 | ""); |
|---|
| 133 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 134 | Properties::VIRTUAL, |
|---|
| 135 | __ReadResult__readImage__C5_std_string_R1__C5_Options_P1, |
|---|
| 136 | "", |
|---|
| 137 | ""); |
|---|
| 138 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 139 | Properties::VIRTUAL, |
|---|
| 140 | __ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1, |
|---|
| 141 | "", |
|---|
| 142 | ""); |
|---|
| 143 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 144 | Properties::VIRTUAL, |
|---|
| 145 | __ReadResult__readNode__C5_std_string_R1__C5_Options_P1, |
|---|
| 146 | "", |
|---|
| 147 | ""); |
|---|
| 148 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 149 | Properties::VIRTUAL, |
|---|
| 150 | __ReadResult__readShader__C5_std_string_R1__C5_Options_P1, |
|---|
| 151 | "", |
|---|
| 152 | ""); |
|---|
| 153 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 154 | Properties::VIRTUAL, |
|---|
| 155 | __WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 156 | "", |
|---|
| 157 | ""); |
|---|
| 158 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 159 | Properties::VIRTUAL, |
|---|
| 160 | __WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 161 | "", |
|---|
| 162 | ""); |
|---|
| 163 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 164 | Properties::VIRTUAL, |
|---|
| 165 | __WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 166 | "", |
|---|
| 167 | ""); |
|---|
| 168 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 169 | Properties::VIRTUAL, |
|---|
| 170 | __WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 171 | "", |
|---|
| 172 | ""); |
|---|
| 173 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 174 | Properties::VIRTUAL, |
|---|
| 175 | __WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 176 | "", |
|---|
| 177 | ""); |
|---|
| 178 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 179 | Properties::VIRTUAL, |
|---|
| 180 | __ReadResult__readObject__std_istream_R1__C5_Options_P1, |
|---|
| 181 | "", |
|---|
| 182 | ""); |
|---|
| 183 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 184 | Properties::VIRTUAL, |
|---|
| 185 | __ReadResult__readImage__std_istream_R1__C5_Options_P1, |
|---|
| 186 | "", |
|---|
| 187 | ""); |
|---|
| 188 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 189 | Properties::VIRTUAL, |
|---|
| 190 | __ReadResult__readHeightField__std_istream_R1__C5_Options_P1, |
|---|
| 191 | "", |
|---|
| 192 | ""); |
|---|
| 193 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 194 | Properties::VIRTUAL, |
|---|
| 195 | __ReadResult__readNode__std_istream_R1__C5_Options_P1, |
|---|
| 196 | "", |
|---|
| 197 | ""); |
|---|
| 198 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 199 | Properties::VIRTUAL, |
|---|
| 200 | __ReadResult__readShader__std_istream_R1__C5_Options_P1, |
|---|
| 201 | "", |
|---|
| 202 | ""); |
|---|
| 203 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 204 | Properties::VIRTUAL, |
|---|
| 205 | __WriteResult__writeObject__C5_osg_Object_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 206 | "", |
|---|
| 207 | ""); |
|---|
| 208 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 209 | Properties::VIRTUAL, |
|---|
| 210 | __WriteResult__writeImage__C5_osg_Image_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 211 | "", |
|---|
| 212 | ""); |
|---|
| 213 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 214 | Properties::VIRTUAL, |
|---|
| 215 | __WriteResult__writeHeightField__C5_osg_HeightField_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 216 | "", |
|---|
| 217 | ""); |
|---|
| 218 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 219 | Properties::VIRTUAL, |
|---|
| 220 | __WriteResult__writeNode__C5_osg_Node_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 221 | "", |
|---|
| 222 | ""); |
|---|
| 223 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 224 | Properties::VIRTUAL, |
|---|
| 225 | __WriteResult__writeShader__C5_osg_Shader_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 226 | "", |
|---|
| 227 | ""); |
|---|
| 228 | I_StaticMethod1(osgDB::ReaderWriter::FeatureList, featureAsString, IN, osgDB::ReaderWriter::Features, feature, |
|---|
| 229 | __FeatureList__featureAsString__Features_S, |
|---|
| 230 | "return feature as string ", |
|---|
| 231 | ""); |
|---|
| 232 | I_ProtectedMethod2(void, supportsProtocol, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 233 | Properties::NON_VIRTUAL, |
|---|
| 234 | Properties::NON_CONST, |
|---|
| 235 | __void__supportsProtocol__C5_std_string_R1__C5_std_string_R1, |
|---|
| 236 | "", |
|---|
| 237 | ""); |
|---|
| 238 | I_ProtectedMethod2(void, supportsExtension, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 239 | Properties::NON_VIRTUAL, |
|---|
| 240 | Properties::NON_CONST, |
|---|
| 241 | __void__supportsExtension__C5_std_string_R1__C5_std_string_R1, |
|---|
| 242 | "", |
|---|
| 243 | ""); |
|---|
| 244 | I_ProtectedMethod2(void, supportsOption, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 245 | Properties::NON_VIRTUAL, |
|---|
| 246 | Properties::NON_CONST, |
|---|
| 247 | __void__supportsOption__C5_std_string_R1__C5_std_string_R1, |
|---|
| 248 | "", |
|---|
| 249 | ""); |
|---|
| 250 | END_REFLECTOR |
|---|
| 251 | |
|---|
| 252 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Options::CacheHintOptions) |
|---|
| 253 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 254 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_NONE); |
|---|
| 255 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_NODES); |
|---|
| 256 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_IMAGES); |
|---|
| 257 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_HEIGHTFIELDS); |
|---|
| 258 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_ARCHIVES); |
|---|
| 259 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_OBJECTS); |
|---|
| 260 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_SHADERS); |
|---|
| 261 | I_EnumLabel(osgDB::ReaderWriter::Options::CACHE_ALL); |
|---|
| 262 | END_REFLECTOR |
|---|
| 263 | |
|---|
| 264 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Options::BuildKdTreesHint) |
|---|
| 265 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 266 | I_EnumLabel(osgDB::ReaderWriter::Options::NO_PREFERENCE); |
|---|
| 267 | I_EnumLabel(osgDB::ReaderWriter::Options::DO_NOT_BUILD_KDTREES); |
|---|
| 268 | I_EnumLabel(osgDB::ReaderWriter::Options::BUILD_KDTREES); |
|---|
| 269 | END_REFLECTOR |
|---|
| 270 | |
|---|
| 271 | BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options) |
|---|
| 272 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 273 | I_BaseType(osg::Object); |
|---|
| 274 | I_Constructor0(____Options, |
|---|
| 275 | "", |
|---|
| 276 | ""); |
|---|
| 277 | I_Constructor1(IN, const std::string &, str, |
|---|
| 278 | Properties::NON_EXPLICIT, |
|---|
| 279 | ____Options__C5_std_string_R1, |
|---|
| 280 | "", |
|---|
| 281 | ""); |
|---|
| 282 | I_ConstructorWithDefaults2(IN, const osgDB::ReaderWriter::Options &, options, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 283 | ____Options__C5_Options_R1__C5_osg_CopyOp_R1, |
|---|
| 284 | "", |
|---|
| 285 | ""); |
|---|
| 286 | I_Method0(osg::Object *, cloneType, |
|---|
| 287 | Properties::VIRTUAL, |
|---|
| 288 | __osg_Object_P1__cloneType, |
|---|
| 289 | "Clone the type of an object, with Object* return type. ", |
|---|
| 290 | "Must be defined by derived classes. "); |
|---|
| 291 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 292 | Properties::VIRTUAL, |
|---|
| 293 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 294 | "Clone an object, with Object* return type. ", |
|---|
| 295 | "Must be defined by derived classes. "); |
|---|
| 296 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 297 | Properties::VIRTUAL, |
|---|
| 298 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 299 | "", |
|---|
| 300 | ""); |
|---|
| 301 | I_Method0(const char *, libraryName, |
|---|
| 302 | Properties::VIRTUAL, |
|---|
| 303 | __C5_char_P1__libraryName, |
|---|
| 304 | "return the name of the object's library. ", |
|---|
| 305 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 306 | I_Method0(const char *, className, |
|---|
| 307 | Properties::VIRTUAL, |
|---|
| 308 | __C5_char_P1__className, |
|---|
| 309 | "return the name of the object's class type. ", |
|---|
| 310 | "Must be defined by derived classes. "); |
|---|
| 311 | I_Method1(void, setOptionString, IN, const std::string &, str, |
|---|
| 312 | Properties::NON_VIRTUAL, |
|---|
| 313 | __void__setOptionString__C5_std_string_R1, |
|---|
| 314 | "Set the general Options string. ", |
|---|
| 315 | ""); |
|---|
| 316 | I_Method0(const std::string &, getOptionString, |
|---|
| 317 | Properties::NON_VIRTUAL, |
|---|
| 318 | __C5_std_string_R1__getOptionString, |
|---|
| 319 | "Get the general Options string. ", |
|---|
| 320 | ""); |
|---|
| 321 | I_Method1(void, setDatabasePath, IN, const std::string &, str, |
|---|
| 322 | Properties::NON_VIRTUAL, |
|---|
| 323 | __void__setDatabasePath__C5_std_string_R1, |
|---|
| 324 | "Set the database path to use a hint of where to look when loading models. ", |
|---|
| 325 | ""); |
|---|
| 326 | I_Method0(osgDB::FilePathList &, getDatabasePathList, |
|---|
| 327 | Properties::NON_VIRTUAL, |
|---|
| 328 | __FilePathList_R1__getDatabasePathList, |
|---|
| 329 | "Get the database path which is used a hint of where to look when loading models. ", |
|---|
| 330 | ""); |
|---|
| 331 | I_Method0(const osgDB::FilePathList &, getDatabasePathList, |
|---|
| 332 | Properties::NON_VIRTUAL, |
|---|
| 333 | __C5_FilePathList_R1__getDatabasePathList, |
|---|
| 334 | "Get the const database path which is used a hint of where to look when loading models. ", |
|---|
| 335 | ""); |
|---|
| 336 | I_Method1(void, setObjectCacheHint, IN, osgDB::ReaderWriter::Options::CacheHintOptions, useObjectCache, |
|---|
| 337 | Properties::NON_VIRTUAL, |
|---|
| 338 | __void__setObjectCacheHint__CacheHintOptions, |
|---|
| 339 | "Set whether the Registry::ObjectCache should be used by default. ", |
|---|
| 340 | ""); |
|---|
| 341 | I_Method0(osgDB::ReaderWriter::Options::CacheHintOptions, getObjectCacheHint, |
|---|
| 342 | Properties::NON_VIRTUAL, |
|---|
| 343 | __CacheHintOptions__getObjectCacheHint, |
|---|
| 344 | "Get whether the Registry::ObjectCache should be used by default. ", |
|---|
| 345 | ""); |
|---|
| 346 | I_Method1(void, setBuildKdTreesHint, IN, osgDB::ReaderWriter::Options::BuildKdTreesHint, hint, |
|---|
| 347 | Properties::NON_VIRTUAL, |
|---|
| 348 | __void__setBuildKdTreesHint__BuildKdTreesHint, |
|---|
| 349 | "Set whether the KdTrees should be built for geometry in the loader model. ", |
|---|
| 350 | ""); |
|---|
| 351 | I_Method0(osgDB::ReaderWriter::Options::BuildKdTreesHint, getBuildKdTreesHint, |
|---|
| 352 | Properties::NON_VIRTUAL, |
|---|
| 353 | __BuildKdTreesHint__getBuildKdTreesHint, |
|---|
| 354 | "Get whether the KdTrees should be built for geometry in the loader model. ", |
|---|
| 355 | ""); |
|---|
| 356 | I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap, |
|---|
| 357 | Properties::NON_VIRTUAL, |
|---|
| 358 | __void__setAuthenticationMap__AuthenticationMap_P1, |
|---|
| 359 | "Set the password map to be used by plugins when access files from secure locations. ", |
|---|
| 360 | ""); |
|---|
| 361 | I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap, |
|---|
| 362 | Properties::NON_VIRTUAL, |
|---|
| 363 | __C5_AuthenticationMap_P1__getAuthenticationMap, |
|---|
| 364 | "Get the password map to be used by plugins when access files from secure locations. ", |
|---|
| 365 | ""); |
|---|
| 366 | I_Method2(void, setPluginData, IN, const std::string &, s, IN, void *, v, |
|---|
| 367 | Properties::NON_VIRTUAL, |
|---|
| 368 | __void__setPluginData__C5_std_string_R1__void_P1, |
|---|
| 369 | "Sets a plugindata value PluginData with a string. ", |
|---|
| 370 | ""); |
|---|
| 371 | I_Method1(void *, getPluginData, IN, const std::string &, s, |
|---|
| 372 | Properties::NON_VIRTUAL, |
|---|
| 373 | __void_P1__getPluginData__C5_std_string_R1, |
|---|
| 374 | "Get a value from the PluginData. ", |
|---|
| 375 | ""); |
|---|
| 376 | I_Method1(const void *, getPluginData, IN, const std::string &, s, |
|---|
| 377 | Properties::NON_VIRTUAL, |
|---|
| 378 | __C5_void_P1__getPluginData__C5_std_string_R1, |
|---|
| 379 | "Get a value from the PluginData. ", |
|---|
| 380 | ""); |
|---|
| 381 | I_Method1(void, removePluginData, IN, const std::string &, s, |
|---|
| 382 | Properties::NON_VIRTUAL, |
|---|
| 383 | __void__removePluginData__C5_std_string_R1, |
|---|
| 384 | "Remove a value from the PluginData. ", |
|---|
| 385 | ""); |
|---|
| 386 | I_Method2(void, setPluginStringData, IN, const std::string &, s, IN, const std::string &, v, |
|---|
| 387 | Properties::NON_VIRTUAL, |
|---|
| 388 | __void__setPluginStringData__C5_std_string_R1__C5_std_string_R1, |
|---|
| 389 | "Sets a plugindata value PluginData with a string. ", |
|---|
| 390 | ""); |
|---|
| 391 | I_Method1(std::string, getPluginStringData, IN, const std::string &, s, |
|---|
| 392 | Properties::NON_VIRTUAL, |
|---|
| 393 | __std_string__getPluginStringData__C5_std_string_R1, |
|---|
| 394 | "Get a string from the PluginStrData. ", |
|---|
| 395 | ""); |
|---|
| 396 | I_Method1(const std::string, getPluginStringData, IN, const std::string &, s, |
|---|
| 397 | Properties::NON_VIRTUAL, |
|---|
| 398 | __C5_std_string__getPluginStringData__C5_std_string_R1, |
|---|
| 399 | "Get a value from the PluginData. ", |
|---|
| 400 | ""); |
|---|
| 401 | I_Method1(void, removePluginStringData, IN, const std::string &, s, |
|---|
| 402 | Properties::NON_VIRTUAL, |
|---|
| 403 | __void__removePluginStringData__C5_std_string_R1, |
|---|
| 404 | "Remove a value from the PluginData. ", |
|---|
| 405 | ""); |
|---|
| 406 | I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap, |
|---|
| 407 | 0, |
|---|
| 408 | __void__setAuthenticationMap__AuthenticationMap_P1); |
|---|
| 409 | I_SimpleProperty(osgDB::ReaderWriter::Options::BuildKdTreesHint, BuildKdTreesHint, |
|---|
| 410 | __BuildKdTreesHint__getBuildKdTreesHint, |
|---|
| 411 | __void__setBuildKdTreesHint__BuildKdTreesHint); |
|---|
| 412 | I_SimpleProperty(const std::string &, DatabasePath, |
|---|
| 413 | 0, |
|---|
| 414 | __void__setDatabasePath__C5_std_string_R1); |
|---|
| 415 | I_SimpleProperty(osgDB::FilePathList &, DatabasePathList, |
|---|
| 416 | __FilePathList_R1__getDatabasePathList, |
|---|
| 417 | 0); |
|---|
| 418 | I_SimpleProperty(osgDB::ReaderWriter::Options::CacheHintOptions, ObjectCacheHint, |
|---|
| 419 | __CacheHintOptions__getObjectCacheHint, |
|---|
| 420 | __void__setObjectCacheHint__CacheHintOptions); |
|---|
| 421 | I_SimpleProperty(const std::string &, OptionString, |
|---|
| 422 | __C5_std_string_R1__getOptionString, |
|---|
| 423 | __void__setOptionString__C5_std_string_R1); |
|---|
| 424 | I_IndexedProperty(void *, PluginData, |
|---|
| 425 | __void_P1__getPluginData__C5_std_string_R1, |
|---|
| 426 | __void__setPluginData__C5_std_string_R1__void_P1, |
|---|
| 427 | 0); |
|---|
| 428 | I_IndexedProperty(std::string, PluginStringData, |
|---|
| 429 | __std_string__getPluginStringData__C5_std_string_R1, |
|---|
| 430 | __void__setPluginStringData__C5_std_string_R1__C5_std_string_R1, |
|---|
| 431 | 0); |
|---|
| 432 | END_REFLECTOR |
|---|
| 433 | |
|---|
| 434 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ReadResult::ReadStatus) |
|---|
| 435 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 436 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::NOT_IMPLEMENTED); |
|---|
| 437 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED); |
|---|
| 438 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_FOUND); |
|---|
| 439 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED); |
|---|
| 440 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); |
|---|
| 441 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::ERROR_IN_READING_FILE); |
|---|
| 442 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_REQUESTED); |
|---|
| 443 | END_REFLECTOR |
|---|
| 444 | |
|---|
| 445 | BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::ReadResult) |
|---|
| 446 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 447 | I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED, |
|---|
| 448 | Properties::NON_EXPLICIT, |
|---|
| 449 | ____ReadResult__ReadStatus, |
|---|
| 450 | "", |
|---|
| 451 | ""); |
|---|
| 452 | I_Constructor1(IN, const std::string &, m, |
|---|
| 453 | Properties::NON_EXPLICIT, |
|---|
| 454 | ____ReadResult__C5_std_string_R1, |
|---|
| 455 | "", |
|---|
| 456 | ""); |
|---|
| 457 | I_ConstructorWithDefaults2(IN, osg::Object *, obj, , IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_LOADED, |
|---|
| 458 | ____ReadResult__osg_Object_P1__ReadStatus, |
|---|
| 459 | "", |
|---|
| 460 | ""); |
|---|
| 461 | I_Constructor1(IN, const osgDB::ReaderWriter::ReadResult &, rr, |
|---|
| 462 | Properties::NON_EXPLICIT, |
|---|
| 463 | ____ReadResult__C5_ReadResult_R1, |
|---|
| 464 | "", |
|---|
| 465 | ""); |
|---|
| 466 | I_Method0(osg::Object *, getObject, |
|---|
| 467 | Properties::NON_VIRTUAL, |
|---|
| 468 | __osg_Object_P1__getObject, |
|---|
| 469 | "", |
|---|
| 470 | ""); |
|---|
| 471 | I_Method0(osg::Image *, getImage, |
|---|
| 472 | Properties::NON_VIRTUAL, |
|---|
| 473 | __osg_Image_P1__getImage, |
|---|
| 474 | "", |
|---|
| 475 | ""); |
|---|
| 476 | I_Method0(osg::HeightField *, getHeightField, |
|---|
| 477 | Properties::NON_VIRTUAL, |
|---|
| 478 | __osg_HeightField_P1__getHeightField, |
|---|
| 479 | "", |
|---|
| 480 | ""); |
|---|
| 481 | I_Method0(osg::Node *, getNode, |
|---|
| 482 | Properties::NON_VIRTUAL, |
|---|
| 483 | __osg_Node_P1__getNode, |
|---|
| 484 | "", |
|---|
| 485 | ""); |
|---|
| 486 | I_Method0(osgDB::Archive *, getArchive, |
|---|
| 487 | Properties::NON_VIRTUAL, |
|---|
| 488 | __osgDB_Archive_P1__getArchive, |
|---|
| 489 | "", |
|---|
| 490 | ""); |
|---|
| 491 | I_Method0(osg::Shader *, getShader, |
|---|
| 492 | Properties::NON_VIRTUAL, |
|---|
| 493 | __osg_Shader_P1__getShader, |
|---|
| 494 | "", |
|---|
| 495 | ""); |
|---|
| 496 | I_Method0(bool, validObject, |
|---|
| 497 | Properties::NON_VIRTUAL, |
|---|
| 498 | __bool__validObject, |
|---|
| 499 | "", |
|---|
| 500 | ""); |
|---|
| 501 | I_Method0(bool, validImage, |
|---|
| 502 | Properties::NON_VIRTUAL, |
|---|
| 503 | __bool__validImage, |
|---|
| 504 | "", |
|---|
| 505 | ""); |
|---|
| 506 | I_Method0(bool, validHeightField, |
|---|
| 507 | Properties::NON_VIRTUAL, |
|---|
| 508 | __bool__validHeightField, |
|---|
| 509 | "", |
|---|
| 510 | ""); |
|---|
| 511 | I_Method0(bool, validNode, |
|---|
| 512 | Properties::NON_VIRTUAL, |
|---|
| 513 | __bool__validNode, |
|---|
| 514 | "", |
|---|
| 515 | ""); |
|---|
| 516 | I_Method0(bool, validArchive, |
|---|
| 517 | Properties::NON_VIRTUAL, |
|---|
| 518 | __bool__validArchive, |
|---|
| 519 | "", |
|---|
| 520 | ""); |
|---|
| 521 | I_Method0(bool, validShader, |
|---|
| 522 | Properties::NON_VIRTUAL, |
|---|
| 523 | __bool__validShader, |
|---|
| 524 | "", |
|---|
| 525 | ""); |
|---|
| 526 | I_Method0(osg::Object *, takeObject, |
|---|
| 527 | Properties::NON_VIRTUAL, |
|---|
| 528 | __osg_Object_P1__takeObject, |
|---|
| 529 | "", |
|---|
| 530 | ""); |
|---|
| 531 | I_Method0(osg::Image *, takeImage, |
|---|
| 532 | Properties::NON_VIRTUAL, |
|---|
| 533 | __osg_Image_P1__takeImage, |
|---|
| 534 | "", |
|---|
| 535 | ""); |
|---|
| 536 | I_Method0(osg::HeightField *, takeHeightField, |
|---|
| 537 | Properties::NON_VIRTUAL, |
|---|
| 538 | __osg_HeightField_P1__takeHeightField, |
|---|
| 539 | "", |
|---|
| 540 | ""); |
|---|
| 541 | I_Method0(osg::Node *, takeNode, |
|---|
| 542 | Properties::NON_VIRTUAL, |
|---|
| 543 | __osg_Node_P1__takeNode, |
|---|
| 544 | "", |
|---|
| 545 | ""); |
|---|
| 546 | I_Method0(osgDB::Archive *, takeArchive, |
|---|
| 547 | Properties::NON_VIRTUAL, |
|---|
| 548 | __osgDB_Archive_P1__takeArchive, |
|---|
| 549 | "", |
|---|
| 550 | ""); |
|---|
| 551 | I_Method0(osg::Shader *, takeShader, |
|---|
| 552 | Properties::NON_VIRTUAL, |
|---|
| 553 | __osg_Shader_P1__takeShader, |
|---|
| 554 | "", |
|---|
| 555 | ""); |
|---|
| 556 | I_Method0(std::string &, message, |
|---|
| 557 | Properties::NON_VIRTUAL, |
|---|
| 558 | __std_string_R1__message, |
|---|
| 559 | "", |
|---|
| 560 | ""); |
|---|
| 561 | I_Method0(const std::string &, message, |
|---|
| 562 | Properties::NON_VIRTUAL, |
|---|
| 563 | __C5_std_string_R1__message, |
|---|
| 564 | "", |
|---|
| 565 | ""); |
|---|
| 566 | I_Method0(osgDB::ReaderWriter::ReadResult::ReadStatus, status, |
|---|
| 567 | Properties::NON_VIRTUAL, |
|---|
| 568 | __ReadStatus__status, |
|---|
| 569 | "", |
|---|
| 570 | ""); |
|---|
| 571 | I_Method0(bool, success, |
|---|
| 572 | Properties::NON_VIRTUAL, |
|---|
| 573 | __bool__success, |
|---|
| 574 | "", |
|---|
| 575 | ""); |
|---|
| 576 | I_Method0(bool, loadedFromCache, |
|---|
| 577 | Properties::NON_VIRTUAL, |
|---|
| 578 | __bool__loadedFromCache, |
|---|
| 579 | "", |
|---|
| 580 | ""); |
|---|
| 581 | I_Method0(bool, error, |
|---|
| 582 | Properties::NON_VIRTUAL, |
|---|
| 583 | __bool__error, |
|---|
| 584 | "", |
|---|
| 585 | ""); |
|---|
| 586 | I_Method0(bool, notHandled, |
|---|
| 587 | Properties::NON_VIRTUAL, |
|---|
| 588 | __bool__notHandled, |
|---|
| 589 | "", |
|---|
| 590 | ""); |
|---|
| 591 | I_Method0(bool, notFound, |
|---|
| 592 | Properties::NON_VIRTUAL, |
|---|
| 593 | __bool__notFound, |
|---|
| 594 | "", |
|---|
| 595 | ""); |
|---|
| 596 | I_SimpleProperty(osgDB::Archive *, Archive, |
|---|
| 597 | __osgDB_Archive_P1__getArchive, |
|---|
| 598 | 0); |
|---|
| 599 | I_SimpleProperty(osg::HeightField *, HeightField, |
|---|
| 600 | __osg_HeightField_P1__getHeightField, |
|---|
| 601 | 0); |
|---|
| 602 | I_SimpleProperty(osg::Image *, Image, |
|---|
| 603 | __osg_Image_P1__getImage, |
|---|
| 604 | 0); |
|---|
| 605 | I_SimpleProperty(osg::Node *, Node, |
|---|
| 606 | __osg_Node_P1__getNode, |
|---|
| 607 | 0); |
|---|
| 608 | I_SimpleProperty(osg::Object *, Object, |
|---|
| 609 | __osg_Object_P1__getObject, |
|---|
| 610 | 0); |
|---|
| 611 | I_SimpleProperty(osg::Shader *, Shader, |
|---|
| 612 | __osg_Shader_P1__getShader, |
|---|
| 613 | 0); |
|---|
| 614 | END_REFLECTOR |
|---|
| 615 | |
|---|
| 616 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::WriteResult::WriteStatus) |
|---|
| 617 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 618 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::NOT_IMPLEMENTED); |
|---|
| 619 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED); |
|---|
| 620 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_SAVED); |
|---|
| 621 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::ERROR_IN_WRITING_FILE); |
|---|
| 622 | END_REFLECTOR |
|---|
| 623 | |
|---|
| 624 | BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::WriteResult) |
|---|
| 625 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 626 | I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::WriteResult::WriteStatus, status, osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED, |
|---|
| 627 | Properties::NON_EXPLICIT, |
|---|
| 628 | ____WriteResult__WriteStatus, |
|---|
| 629 | "", |
|---|
| 630 | ""); |
|---|
| 631 | I_Constructor1(IN, const std::string &, m, |
|---|
| 632 | Properties::NON_EXPLICIT, |
|---|
| 633 | ____WriteResult__C5_std_string_R1, |
|---|
| 634 | "", |
|---|
| 635 | ""); |
|---|
| 636 | I_Constructor1(IN, const osgDB::ReaderWriter::WriteResult &, rr, |
|---|
| 637 | Properties::NON_EXPLICIT, |
|---|
| 638 | ____WriteResult__C5_WriteResult_R1, |
|---|
| 639 | "", |
|---|
| 640 | ""); |
|---|
| 641 | I_Method0(std::string &, message, |
|---|
| 642 | Properties::NON_VIRTUAL, |
|---|
| 643 | __std_string_R1__message, |
|---|
| 644 | "", |
|---|
| 645 | ""); |
|---|
| 646 | I_Method0(const std::string &, message, |
|---|
| 647 | Properties::NON_VIRTUAL, |
|---|
| 648 | __C5_std_string_R1__message, |
|---|
| 649 | "", |
|---|
| 650 | ""); |
|---|
| 651 | I_Method0(osgDB::ReaderWriter::WriteResult::WriteStatus, status, |
|---|
| 652 | Properties::NON_VIRTUAL, |
|---|
| 653 | __WriteStatus__status, |
|---|
| 654 | "", |
|---|
| 655 | ""); |
|---|
| 656 | I_Method0(bool, success, |
|---|
| 657 | Properties::NON_VIRTUAL, |
|---|
| 658 | __bool__success, |
|---|
| 659 | "", |
|---|
| 660 | ""); |
|---|
| 661 | I_Method0(bool, error, |
|---|
| 662 | Properties::NON_VIRTUAL, |
|---|
| 663 | __bool__error, |
|---|
| 664 | "", |
|---|
| 665 | ""); |
|---|
| 666 | I_Method0(bool, notHandled, |
|---|
| 667 | Properties::NON_VIRTUAL, |
|---|
| 668 | __bool__notHandled, |
|---|
| 669 | "", |
|---|
| 670 | ""); |
|---|
| 671 | END_REFLECTOR |
|---|
| 672 | |
|---|
| 673 | TYPE_NAME_ALIAS(std::deque< std::string >, osgDB::FilePathList) |
|---|
| 674 | |
|---|
| 675 | STD_VECTOR_REFLECTOR(std::deque< std::string >) |
|---|