| 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/ReaderWriter> |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | #ifdef IN |
|---|
| 24 | #undef IN |
|---|
| 25 | #endif |
|---|
| 26 | #ifdef OUT |
|---|
| 27 | #undef OUT |
|---|
| 28 | #endif |
|---|
| 29 | |
|---|
| 30 | #include <osgDB/Options> |
|---|
| 31 | |
|---|
| 32 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Features) |
|---|
| 33 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 34 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_NONE); |
|---|
| 35 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_OBJECT); |
|---|
| 36 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_IMAGE); |
|---|
| 37 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_HEIGHT_FIELD); |
|---|
| 38 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_NODE); |
|---|
| 39 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_READ_SHADER); |
|---|
| 40 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_OBJECT); |
|---|
| 41 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_IMAGE); |
|---|
| 42 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_HEIGHT_FIELD); |
|---|
| 43 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_NODE); |
|---|
| 44 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_WRITE_SHADER); |
|---|
| 45 | I_EnumLabel(osgDB::ReaderWriter::FEATURE_ALL); |
|---|
| 46 | END_REFLECTOR |
|---|
| 47 | |
|---|
| 48 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus) |
|---|
| 49 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 50 | I_EnumLabel(osgDB::ReaderWriter::READ); |
|---|
| 51 | I_EnumLabel(osgDB::ReaderWriter::WRITE); |
|---|
| 52 | I_EnumLabel(osgDB::ReaderWriter::CREATE); |
|---|
| 53 | END_REFLECTOR |
|---|
| 54 | |
|---|
| 55 | TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::ReaderWriter::FormatDescriptionMap) |
|---|
| 56 | |
|---|
| 57 | TYPE_NAME_ALIAS(std::list< std::string >, osgDB::ReaderWriter::FeatureList) |
|---|
| 58 | |
|---|
| 59 | TYPE_NAME_ALIAS(osgDB::Options, osgDB::ReaderWriter::Options) |
|---|
| 60 | |
|---|
| 61 | BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter) |
|---|
| 62 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 63 | I_BaseType(osg::Object); |
|---|
| 64 | I_Constructor0(____ReaderWriter, |
|---|
| 65 | "", |
|---|
| 66 | ""); |
|---|
| 67 | I_ConstructorWithDefaults2(IN, const osgDB::ReaderWriter &, rw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 68 | ____ReaderWriter__C5_ReaderWriter_R1__C5_osg_CopyOp_R1, |
|---|
| 69 | "", |
|---|
| 70 | ""); |
|---|
| 71 | I_Method0(osg::Object *, cloneType, |
|---|
| 72 | Properties::VIRTUAL, |
|---|
| 73 | __osg_Object_P1__cloneType, |
|---|
| 74 | "Clone the type of an object, with Object* return type. ", |
|---|
| 75 | "Must be defined by derived classes. "); |
|---|
| 76 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 77 | Properties::VIRTUAL, |
|---|
| 78 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 79 | "Clone an object, with Object* return type. ", |
|---|
| 80 | "Must be defined by derived classes. "); |
|---|
| 81 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 82 | Properties::VIRTUAL, |
|---|
| 83 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 84 | "", |
|---|
| 85 | ""); |
|---|
| 86 | I_Method0(const char *, libraryName, |
|---|
| 87 | Properties::VIRTUAL, |
|---|
| 88 | __C5_char_P1__libraryName, |
|---|
| 89 | "return the name of the object's library. ", |
|---|
| 90 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 91 | I_Method0(const char *, className, |
|---|
| 92 | Properties::VIRTUAL, |
|---|
| 93 | __C5_char_P1__className, |
|---|
| 94 | "return the name of the object's class type. ", |
|---|
| 95 | "Must be defined by derived classes. "); |
|---|
| 96 | I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedProtocols, |
|---|
| 97 | Properties::VIRTUAL, |
|---|
| 98 | __C5_FormatDescriptionMap_R1__supportedProtocols, |
|---|
| 99 | "return which protocols are supported by ReaderWriter. ", |
|---|
| 100 | ""); |
|---|
| 101 | I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedExtensions, |
|---|
| 102 | Properties::VIRTUAL, |
|---|
| 103 | __C5_FormatDescriptionMap_R1__supportedExtensions, |
|---|
| 104 | "return which list of file extensions supported by ReaderWriter. ", |
|---|
| 105 | ""); |
|---|
| 106 | I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedOptions, |
|---|
| 107 | Properties::VIRTUAL, |
|---|
| 108 | __C5_FormatDescriptionMap_R1__supportedOptions, |
|---|
| 109 | "return which list of file extensions supported by ReaderWriter. ", |
|---|
| 110 | ""); |
|---|
| 111 | I_Method1(bool, acceptsExtension, IN, const std::string &, x, |
|---|
| 112 | Properties::VIRTUAL, |
|---|
| 113 | __bool__acceptsExtension__C5_std_string_R1, |
|---|
| 114 | "return true if ReaderWriter accepts specified file extension. ", |
|---|
| 115 | ""); |
|---|
| 116 | I_Method0(osgDB::ReaderWriter::Features, supportedFeatures, |
|---|
| 117 | Properties::VIRTUAL, |
|---|
| 118 | __Features__supportedFeatures, |
|---|
| 119 | "return available features ", |
|---|
| 120 | ""); |
|---|
| 121 | I_Method2(bool, fileExists, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options, |
|---|
| 122 | Properties::VIRTUAL, |
|---|
| 123 | __bool__fileExists__C5_std_string_R1__C5_Options_P1, |
|---|
| 124 | "determine if a file exists, normally the default implementation will be approrpiate for local file access but with plugins like the libcurl based on it will return true if the file is accessible a server. ", |
|---|
| 125 | ""); |
|---|
| 126 | 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, |
|---|
| 127 | Properties::VIRTUAL, |
|---|
| 128 | __ReadResult__openArchive__C5_std_string_R1__ArchiveStatus__unsigned__C5_Options_P1, |
|---|
| 129 | "open an archive for reading, writing, or to create an empty archive for writing to. ", |
|---|
| 130 | ""); |
|---|
| 131 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, openArchive, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 132 | Properties::VIRTUAL, |
|---|
| 133 | __ReadResult__openArchive__std_istream_R1__C5_Options_P1, |
|---|
| 134 | "open an archive for reading. ", |
|---|
| 135 | ""); |
|---|
| 136 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 137 | Properties::VIRTUAL, |
|---|
| 138 | __ReadResult__readObject__C5_std_string_R1__C5_Options_P1, |
|---|
| 139 | "", |
|---|
| 140 | ""); |
|---|
| 141 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 142 | Properties::VIRTUAL, |
|---|
| 143 | __ReadResult__readImage__C5_std_string_R1__C5_Options_P1, |
|---|
| 144 | "", |
|---|
| 145 | ""); |
|---|
| 146 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 147 | Properties::VIRTUAL, |
|---|
| 148 | __ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1, |
|---|
| 149 | "", |
|---|
| 150 | ""); |
|---|
| 151 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 152 | Properties::VIRTUAL, |
|---|
| 153 | __ReadResult__readNode__C5_std_string_R1__C5_Options_P1, |
|---|
| 154 | "", |
|---|
| 155 | ""); |
|---|
| 156 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 157 | Properties::VIRTUAL, |
|---|
| 158 | __ReadResult__readShader__C5_std_string_R1__C5_Options_P1, |
|---|
| 159 | "", |
|---|
| 160 | ""); |
|---|
| 161 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 162 | Properties::VIRTUAL, |
|---|
| 163 | __WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 164 | "", |
|---|
| 165 | ""); |
|---|
| 166 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 167 | Properties::VIRTUAL, |
|---|
| 168 | __WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 169 | "", |
|---|
| 170 | ""); |
|---|
| 171 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 172 | Properties::VIRTUAL, |
|---|
| 173 | __WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 174 | "", |
|---|
| 175 | ""); |
|---|
| 176 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 177 | Properties::VIRTUAL, |
|---|
| 178 | __WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 179 | "", |
|---|
| 180 | ""); |
|---|
| 181 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 182 | Properties::VIRTUAL, |
|---|
| 183 | __WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1, |
|---|
| 184 | "", |
|---|
| 185 | ""); |
|---|
| 186 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 187 | Properties::VIRTUAL, |
|---|
| 188 | __ReadResult__readObject__std_istream_R1__C5_Options_P1, |
|---|
| 189 | "", |
|---|
| 190 | ""); |
|---|
| 191 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 192 | Properties::VIRTUAL, |
|---|
| 193 | __ReadResult__readImage__std_istream_R1__C5_Options_P1, |
|---|
| 194 | "", |
|---|
| 195 | ""); |
|---|
| 196 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 197 | Properties::VIRTUAL, |
|---|
| 198 | __ReadResult__readHeightField__std_istream_R1__C5_Options_P1, |
|---|
| 199 | "", |
|---|
| 200 | ""); |
|---|
| 201 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 202 | Properties::VIRTUAL, |
|---|
| 203 | __ReadResult__readNode__std_istream_R1__C5_Options_P1, |
|---|
| 204 | "", |
|---|
| 205 | ""); |
|---|
| 206 | I_MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readShader, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 207 | Properties::VIRTUAL, |
|---|
| 208 | __ReadResult__readShader__std_istream_R1__C5_Options_P1, |
|---|
| 209 | "", |
|---|
| 210 | ""); |
|---|
| 211 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 212 | Properties::VIRTUAL, |
|---|
| 213 | __WriteResult__writeObject__C5_osg_Object_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 214 | "", |
|---|
| 215 | ""); |
|---|
| 216 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 217 | Properties::VIRTUAL, |
|---|
| 218 | __WriteResult__writeImage__C5_osg_Image_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 219 | "", |
|---|
| 220 | ""); |
|---|
| 221 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 222 | Properties::VIRTUAL, |
|---|
| 223 | __WriteResult__writeHeightField__C5_osg_HeightField_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 224 | "", |
|---|
| 225 | ""); |
|---|
| 226 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 227 | Properties::VIRTUAL, |
|---|
| 228 | __WriteResult__writeNode__C5_osg_Node_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 229 | "", |
|---|
| 230 | ""); |
|---|
| 231 | I_MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL, |
|---|
| 232 | Properties::VIRTUAL, |
|---|
| 233 | __WriteResult__writeShader__C5_osg_Shader_R1__std_ostream_R1__C5_Options_P1, |
|---|
| 234 | "", |
|---|
| 235 | ""); |
|---|
| 236 | I_StaticMethod1(osgDB::ReaderWriter::FeatureList, featureAsString, IN, osgDB::ReaderWriter::Features, feature, |
|---|
| 237 | __FeatureList__featureAsString__Features_S, |
|---|
| 238 | "return feature as string ", |
|---|
| 239 | ""); |
|---|
| 240 | I_ProtectedMethod2(void, supportsProtocol, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 241 | Properties::NON_VIRTUAL, |
|---|
| 242 | Properties::NON_CONST, |
|---|
| 243 | __void__supportsProtocol__C5_std_string_R1__C5_std_string_R1, |
|---|
| 244 | "", |
|---|
| 245 | ""); |
|---|
| 246 | I_ProtectedMethod2(void, supportsExtension, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 247 | Properties::NON_VIRTUAL, |
|---|
| 248 | Properties::NON_CONST, |
|---|
| 249 | __void__supportsExtension__C5_std_string_R1__C5_std_string_R1, |
|---|
| 250 | "", |
|---|
| 251 | ""); |
|---|
| 252 | I_ProtectedMethod2(void, supportsOption, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 253 | Properties::NON_VIRTUAL, |
|---|
| 254 | Properties::NON_CONST, |
|---|
| 255 | __void__supportsOption__C5_std_string_R1__C5_std_string_R1, |
|---|
| 256 | "", |
|---|
| 257 | ""); |
|---|
| 258 | END_REFLECTOR |
|---|
| 259 | |
|---|
| 260 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ReadResult::ReadStatus) |
|---|
| 261 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 262 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::NOT_IMPLEMENTED); |
|---|
| 263 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED); |
|---|
| 264 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_FOUND); |
|---|
| 265 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED); |
|---|
| 266 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); |
|---|
| 267 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::ERROR_IN_READING_FILE); |
|---|
| 268 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_REQUESTED); |
|---|
| 269 | END_REFLECTOR |
|---|
| 270 | |
|---|
| 271 | BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::ReadResult) |
|---|
| 272 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 273 | I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED, |
|---|
| 274 | Properties::NON_EXPLICIT, |
|---|
| 275 | ____ReadResult__ReadStatus, |
|---|
| 276 | "", |
|---|
| 277 | ""); |
|---|
| 278 | I_Constructor1(IN, const std::string &, m, |
|---|
| 279 | Properties::NON_EXPLICIT, |
|---|
| 280 | ____ReadResult__C5_std_string_R1, |
|---|
| 281 | "", |
|---|
| 282 | ""); |
|---|
| 283 | I_ConstructorWithDefaults2(IN, osg::Object *, obj, , IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_LOADED, |
|---|
| 284 | ____ReadResult__osg_Object_P1__ReadStatus, |
|---|
| 285 | "", |
|---|
| 286 | ""); |
|---|
| 287 | I_Constructor1(IN, const osgDB::ReaderWriter::ReadResult &, rr, |
|---|
| 288 | Properties::NON_EXPLICIT, |
|---|
| 289 | ____ReadResult__C5_ReadResult_R1, |
|---|
| 290 | "", |
|---|
| 291 | ""); |
|---|
| 292 | I_Method0(osg::Object *, getObject, |
|---|
| 293 | Properties::NON_VIRTUAL, |
|---|
| 294 | __osg_Object_P1__getObject, |
|---|
| 295 | "", |
|---|
| 296 | ""); |
|---|
| 297 | I_Method0(osg::Image *, getImage, |
|---|
| 298 | Properties::NON_VIRTUAL, |
|---|
| 299 | __osg_Image_P1__getImage, |
|---|
| 300 | "", |
|---|
| 301 | ""); |
|---|
| 302 | I_Method0(osg::HeightField *, getHeightField, |
|---|
| 303 | Properties::NON_VIRTUAL, |
|---|
| 304 | __osg_HeightField_P1__getHeightField, |
|---|
| 305 | "", |
|---|
| 306 | ""); |
|---|
| 307 | I_Method0(osg::Node *, getNode, |
|---|
| 308 | Properties::NON_VIRTUAL, |
|---|
| 309 | __osg_Node_P1__getNode, |
|---|
| 310 | "", |
|---|
| 311 | ""); |
|---|
| 312 | I_Method0(osgDB::Archive *, getArchive, |
|---|
| 313 | Properties::NON_VIRTUAL, |
|---|
| 314 | __osgDB_Archive_P1__getArchive, |
|---|
| 315 | "", |
|---|
| 316 | ""); |
|---|
| 317 | I_Method0(osg::Shader *, getShader, |
|---|
| 318 | Properties::NON_VIRTUAL, |
|---|
| 319 | __osg_Shader_P1__getShader, |
|---|
| 320 | "", |
|---|
| 321 | ""); |
|---|
| 322 | I_Method0(bool, validObject, |
|---|
| 323 | Properties::NON_VIRTUAL, |
|---|
| 324 | __bool__validObject, |
|---|
| 325 | "", |
|---|
| 326 | ""); |
|---|
| 327 | I_Method0(bool, validImage, |
|---|
| 328 | Properties::NON_VIRTUAL, |
|---|
| 329 | __bool__validImage, |
|---|
| 330 | "", |
|---|
| 331 | ""); |
|---|
| 332 | I_Method0(bool, validHeightField, |
|---|
| 333 | Properties::NON_VIRTUAL, |
|---|
| 334 | __bool__validHeightField, |
|---|
| 335 | "", |
|---|
| 336 | ""); |
|---|
| 337 | I_Method0(bool, validNode, |
|---|
| 338 | Properties::NON_VIRTUAL, |
|---|
| 339 | __bool__validNode, |
|---|
| 340 | "", |
|---|
| 341 | ""); |
|---|
| 342 | I_Method0(bool, validArchive, |
|---|
| 343 | Properties::NON_VIRTUAL, |
|---|
| 344 | __bool__validArchive, |
|---|
| 345 | "", |
|---|
| 346 | ""); |
|---|
| 347 | I_Method0(bool, validShader, |
|---|
| 348 | Properties::NON_VIRTUAL, |
|---|
| 349 | __bool__validShader, |
|---|
| 350 | "", |
|---|
| 351 | ""); |
|---|
| 352 | I_Method0(osg::Object *, takeObject, |
|---|
| 353 | Properties::NON_VIRTUAL, |
|---|
| 354 | __osg_Object_P1__takeObject, |
|---|
| 355 | "", |
|---|
| 356 | ""); |
|---|
| 357 | I_Method0(osg::Image *, takeImage, |
|---|
| 358 | Properties::NON_VIRTUAL, |
|---|
| 359 | __osg_Image_P1__takeImage, |
|---|
| 360 | "", |
|---|
| 361 | ""); |
|---|
| 362 | I_Method0(osg::HeightField *, takeHeightField, |
|---|
| 363 | Properties::NON_VIRTUAL, |
|---|
| 364 | __osg_HeightField_P1__takeHeightField, |
|---|
| 365 | "", |
|---|
| 366 | ""); |
|---|
| 367 | I_Method0(osg::Node *, takeNode, |
|---|
| 368 | Properties::NON_VIRTUAL, |
|---|
| 369 | __osg_Node_P1__takeNode, |
|---|
| 370 | "", |
|---|
| 371 | ""); |
|---|
| 372 | I_Method0(osgDB::Archive *, takeArchive, |
|---|
| 373 | Properties::NON_VIRTUAL, |
|---|
| 374 | __osgDB_Archive_P1__takeArchive, |
|---|
| 375 | "", |
|---|
| 376 | ""); |
|---|
| 377 | I_Method0(osg::Shader *, takeShader, |
|---|
| 378 | Properties::NON_VIRTUAL, |
|---|
| 379 | __osg_Shader_P1__takeShader, |
|---|
| 380 | "", |
|---|
| 381 | ""); |
|---|
| 382 | I_Method0(std::string &, message, |
|---|
| 383 | Properties::NON_VIRTUAL, |
|---|
| 384 | __std_string_R1__message, |
|---|
| 385 | "", |
|---|
| 386 | ""); |
|---|
| 387 | I_Method0(const std::string &, message, |
|---|
| 388 | Properties::NON_VIRTUAL, |
|---|
| 389 | __C5_std_string_R1__message, |
|---|
| 390 | "", |
|---|
| 391 | ""); |
|---|
| 392 | I_Method0(osgDB::ReaderWriter::ReadResult::ReadStatus, status, |
|---|
| 393 | Properties::NON_VIRTUAL, |
|---|
| 394 | __ReadStatus__status, |
|---|
| 395 | "", |
|---|
| 396 | ""); |
|---|
| 397 | I_Method0(bool, success, |
|---|
| 398 | Properties::NON_VIRTUAL, |
|---|
| 399 | __bool__success, |
|---|
| 400 | "", |
|---|
| 401 | ""); |
|---|
| 402 | I_Method0(bool, loadedFromCache, |
|---|
| 403 | Properties::NON_VIRTUAL, |
|---|
| 404 | __bool__loadedFromCache, |
|---|
| 405 | "", |
|---|
| 406 | ""); |
|---|
| 407 | I_Method0(bool, error, |
|---|
| 408 | Properties::NON_VIRTUAL, |
|---|
| 409 | __bool__error, |
|---|
| 410 | "", |
|---|
| 411 | ""); |
|---|
| 412 | I_Method0(bool, notHandled, |
|---|
| 413 | Properties::NON_VIRTUAL, |
|---|
| 414 | __bool__notHandled, |
|---|
| 415 | "", |
|---|
| 416 | ""); |
|---|
| 417 | I_Method0(bool, notFound, |
|---|
| 418 | Properties::NON_VIRTUAL, |
|---|
| 419 | __bool__notFound, |
|---|
| 420 | "", |
|---|
| 421 | ""); |
|---|
| 422 | I_SimpleProperty(osgDB::Archive *, Archive, |
|---|
| 423 | __osgDB_Archive_P1__getArchive, |
|---|
| 424 | 0); |
|---|
| 425 | I_SimpleProperty(osg::HeightField *, HeightField, |
|---|
| 426 | __osg_HeightField_P1__getHeightField, |
|---|
| 427 | 0); |
|---|
| 428 | I_SimpleProperty(osg::Image *, Image, |
|---|
| 429 | __osg_Image_P1__getImage, |
|---|
| 430 | 0); |
|---|
| 431 | I_SimpleProperty(osg::Node *, Node, |
|---|
| 432 | __osg_Node_P1__getNode, |
|---|
| 433 | 0); |
|---|
| 434 | I_SimpleProperty(osg::Object *, Object, |
|---|
| 435 | __osg_Object_P1__getObject, |
|---|
| 436 | 0); |
|---|
| 437 | I_SimpleProperty(osg::Shader *, Shader, |
|---|
| 438 | __osg_Shader_P1__getShader, |
|---|
| 439 | 0); |
|---|
| 440 | END_REFLECTOR |
|---|
| 441 | |
|---|
| 442 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::WriteResult::WriteStatus) |
|---|
| 443 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 444 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::NOT_IMPLEMENTED); |
|---|
| 445 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED); |
|---|
| 446 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_SAVED); |
|---|
| 447 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::ERROR_IN_WRITING_FILE); |
|---|
| 448 | END_REFLECTOR |
|---|
| 449 | |
|---|
| 450 | BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::WriteResult) |
|---|
| 451 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 452 | I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::WriteResult::WriteStatus, status, osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED, |
|---|
| 453 | Properties::NON_EXPLICIT, |
|---|
| 454 | ____WriteResult__WriteStatus, |
|---|
| 455 | "", |
|---|
| 456 | ""); |
|---|
| 457 | I_Constructor1(IN, const std::string &, m, |
|---|
| 458 | Properties::NON_EXPLICIT, |
|---|
| 459 | ____WriteResult__C5_std_string_R1, |
|---|
| 460 | "", |
|---|
| 461 | ""); |
|---|
| 462 | I_Constructor1(IN, const osgDB::ReaderWriter::WriteResult &, rr, |
|---|
| 463 | Properties::NON_EXPLICIT, |
|---|
| 464 | ____WriteResult__C5_WriteResult_R1, |
|---|
| 465 | "", |
|---|
| 466 | ""); |
|---|
| 467 | I_Method0(std::string &, message, |
|---|
| 468 | Properties::NON_VIRTUAL, |
|---|
| 469 | __std_string_R1__message, |
|---|
| 470 | "", |
|---|
| 471 | ""); |
|---|
| 472 | I_Method0(const std::string &, message, |
|---|
| 473 | Properties::NON_VIRTUAL, |
|---|
| 474 | __C5_std_string_R1__message, |
|---|
| 475 | "", |
|---|
| 476 | ""); |
|---|
| 477 | I_Method0(osgDB::ReaderWriter::WriteResult::WriteStatus, status, |
|---|
| 478 | Properties::NON_VIRTUAL, |
|---|
| 479 | __WriteStatus__status, |
|---|
| 480 | "", |
|---|
| 481 | ""); |
|---|
| 482 | I_Method0(bool, success, |
|---|
| 483 | Properties::NON_VIRTUAL, |
|---|
| 484 | __bool__success, |
|---|
| 485 | "", |
|---|
| 486 | ""); |
|---|
| 487 | I_Method0(bool, error, |
|---|
| 488 | Properties::NON_VIRTUAL, |
|---|
| 489 | __bool__error, |
|---|
| 490 | "", |
|---|
| 491 | ""); |
|---|
| 492 | I_Method0(bool, notHandled, |
|---|
| 493 | Properties::NON_VIRTUAL, |
|---|
| 494 | __bool__notHandled, |
|---|
| 495 | "", |
|---|
| 496 | ""); |
|---|
| 497 | END_REFLECTOR |
|---|