| 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_Method2(void, supportsProtocol, IN, const std::string &, fmt, IN, const std::string &, description, |
|---|
| 237 | Properties::NON_VIRTUAL, |
|---|
| 238 | __void__supportsProtocol__C5_std_string_R1__C5_std_string_R1, |
|---|
| 239 | "Specify fmt string as a supported protocol. ", |
|---|
| 240 | "Please note, this method should usually only be used internally by subclasses of ReaderWriter, Only in special cases will a ReaderWriter implementation be able to handle a protocol format that is wasn't original designed for. To know whether it's safe to inject a new protocol format to an existing ReaderWriter you will need to review the source code and dependencies of that ReaderWriter. "); |
|---|
| 241 | I_Method2(void, supportsExtension, IN, const std::string &, ext, IN, const std::string &, description, |
|---|
| 242 | Properties::NON_VIRTUAL, |
|---|
| 243 | __void__supportsExtension__C5_std_string_R1__C5_std_string_R1, |
|---|
| 244 | "Specify ext string as a supported file extension. ", |
|---|
| 245 | "Please note, this method should usually only be used internally by subclasses of ReaderWriter. Only in special cases will a ReaderWriter implementation be able to handle a file extension that is wasn't original designed for. To know whether it's safe to inject a new file extension to an existing ReaderWriter you will need to review the the source code and dependencies of that ReaderWriter. "); |
|---|
| 246 | I_Method2(void, supportsOption, IN, const std::string &, opt, IN, const std::string &, description, |
|---|
| 247 | Properties::NON_VIRTUAL, |
|---|
| 248 | __void__supportsOption__C5_std_string_R1__C5_std_string_R1, |
|---|
| 249 | "Specify option string as a supported option string. ", |
|---|
| 250 | "Please note, this should usually only be used internally by subclasses of ReaderWriter. "); |
|---|
| 251 | I_StaticMethod1(osgDB::ReaderWriter::FeatureList, featureAsString, IN, osgDB::ReaderWriter::Features, feature, |
|---|
| 252 | __FeatureList__featureAsString__Features_S, |
|---|
| 253 | "return feature as string ", |
|---|
| 254 | ""); |
|---|
| 255 | END_REFLECTOR |
|---|
| 256 | |
|---|
| 257 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ReadResult::ReadStatus) |
|---|
| 258 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 259 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::NOT_IMPLEMENTED); |
|---|
| 260 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED); |
|---|
| 261 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_FOUND); |
|---|
| 262 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED); |
|---|
| 263 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE); |
|---|
| 264 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::ERROR_IN_READING_FILE); |
|---|
| 265 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_REQUESTED); |
|---|
| 266 | I_EnumLabel(osgDB::ReaderWriter::ReadResult::INSUFFICIENT_MEMORY_TO_LOAD); |
|---|
| 267 | END_REFLECTOR |
|---|
| 268 | |
|---|
| 269 | BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::ReadResult) |
|---|
| 270 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 271 | I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED, |
|---|
| 272 | Properties::NON_EXPLICIT, |
|---|
| 273 | ____ReadResult__ReadStatus, |
|---|
| 274 | "", |
|---|
| 275 | ""); |
|---|
| 276 | I_Constructor1(IN, const std::string &, m, |
|---|
| 277 | Properties::NON_EXPLICIT, |
|---|
| 278 | ____ReadResult__C5_std_string_R1, |
|---|
| 279 | "", |
|---|
| 280 | ""); |
|---|
| 281 | I_ConstructorWithDefaults2(IN, osg::Object *, obj, , IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_LOADED, |
|---|
| 282 | ____ReadResult__osg_Object_P1__ReadStatus, |
|---|
| 283 | "", |
|---|
| 284 | ""); |
|---|
| 285 | I_Constructor1(IN, const osgDB::ReaderWriter::ReadResult &, rr, |
|---|
| 286 | Properties::NON_EXPLICIT, |
|---|
| 287 | ____ReadResult__C5_ReadResult_R1, |
|---|
| 288 | "", |
|---|
| 289 | ""); |
|---|
| 290 | I_Method0(osg::Object *, getObject, |
|---|
| 291 | Properties::NON_VIRTUAL, |
|---|
| 292 | __osg_Object_P1__getObject, |
|---|
| 293 | "", |
|---|
| 294 | ""); |
|---|
| 295 | I_Method0(osg::Image *, getImage, |
|---|
| 296 | Properties::NON_VIRTUAL, |
|---|
| 297 | __osg_Image_P1__getImage, |
|---|
| 298 | "", |
|---|
| 299 | ""); |
|---|
| 300 | I_Method0(osg::HeightField *, getHeightField, |
|---|
| 301 | Properties::NON_VIRTUAL, |
|---|
| 302 | __osg_HeightField_P1__getHeightField, |
|---|
| 303 | "", |
|---|
| 304 | ""); |
|---|
| 305 | I_Method0(osg::Node *, getNode, |
|---|
| 306 | Properties::NON_VIRTUAL, |
|---|
| 307 | __osg_Node_P1__getNode, |
|---|
| 308 | "", |
|---|
| 309 | ""); |
|---|
| 310 | I_Method0(osgDB::Archive *, getArchive, |
|---|
| 311 | Properties::NON_VIRTUAL, |
|---|
| 312 | __osgDB_Archive_P1__getArchive, |
|---|
| 313 | "", |
|---|
| 314 | ""); |
|---|
| 315 | I_Method0(osg::Shader *, getShader, |
|---|
| 316 | Properties::NON_VIRTUAL, |
|---|
| 317 | __osg_Shader_P1__getShader, |
|---|
| 318 | "", |
|---|
| 319 | ""); |
|---|
| 320 | I_Method0(bool, validObject, |
|---|
| 321 | Properties::NON_VIRTUAL, |
|---|
| 322 | __bool__validObject, |
|---|
| 323 | "", |
|---|
| 324 | ""); |
|---|
| 325 | I_Method0(bool, validImage, |
|---|
| 326 | Properties::NON_VIRTUAL, |
|---|
| 327 | __bool__validImage, |
|---|
| 328 | "", |
|---|
| 329 | ""); |
|---|
| 330 | I_Method0(bool, validHeightField, |
|---|
| 331 | Properties::NON_VIRTUAL, |
|---|
| 332 | __bool__validHeightField, |
|---|
| 333 | "", |
|---|
| 334 | ""); |
|---|
| 335 | I_Method0(bool, validNode, |
|---|
| 336 | Properties::NON_VIRTUAL, |
|---|
| 337 | __bool__validNode, |
|---|
| 338 | "", |
|---|
| 339 | ""); |
|---|
| 340 | I_Method0(bool, validArchive, |
|---|
| 341 | Properties::NON_VIRTUAL, |
|---|
| 342 | __bool__validArchive, |
|---|
| 343 | "", |
|---|
| 344 | ""); |
|---|
| 345 | I_Method0(bool, validShader, |
|---|
| 346 | Properties::NON_VIRTUAL, |
|---|
| 347 | __bool__validShader, |
|---|
| 348 | "", |
|---|
| 349 | ""); |
|---|
| 350 | I_Method0(osg::Object *, takeObject, |
|---|
| 351 | Properties::NON_VIRTUAL, |
|---|
| 352 | __osg_Object_P1__takeObject, |
|---|
| 353 | "", |
|---|
| 354 | ""); |
|---|
| 355 | I_Method0(osg::Image *, takeImage, |
|---|
| 356 | Properties::NON_VIRTUAL, |
|---|
| 357 | __osg_Image_P1__takeImage, |
|---|
| 358 | "", |
|---|
| 359 | ""); |
|---|
| 360 | I_Method0(osg::HeightField *, takeHeightField, |
|---|
| 361 | Properties::NON_VIRTUAL, |
|---|
| 362 | __osg_HeightField_P1__takeHeightField, |
|---|
| 363 | "", |
|---|
| 364 | ""); |
|---|
| 365 | I_Method0(osg::Node *, takeNode, |
|---|
| 366 | Properties::NON_VIRTUAL, |
|---|
| 367 | __osg_Node_P1__takeNode, |
|---|
| 368 | "", |
|---|
| 369 | ""); |
|---|
| 370 | I_Method0(osgDB::Archive *, takeArchive, |
|---|
| 371 | Properties::NON_VIRTUAL, |
|---|
| 372 | __osgDB_Archive_P1__takeArchive, |
|---|
| 373 | "", |
|---|
| 374 | ""); |
|---|
| 375 | I_Method0(osg::Shader *, takeShader, |
|---|
| 376 | Properties::NON_VIRTUAL, |
|---|
| 377 | __osg_Shader_P1__takeShader, |
|---|
| 378 | "", |
|---|
| 379 | ""); |
|---|
| 380 | I_Method0(std::string &, message, |
|---|
| 381 | Properties::NON_VIRTUAL, |
|---|
| 382 | __std_string_R1__message, |
|---|
| 383 | "", |
|---|
| 384 | ""); |
|---|
| 385 | I_Method0(const std::string &, message, |
|---|
| 386 | Properties::NON_VIRTUAL, |
|---|
| 387 | __C5_std_string_R1__message, |
|---|
| 388 | "", |
|---|
| 389 | ""); |
|---|
| 390 | I_Method0(osgDB::ReaderWriter::ReadResult::ReadStatus, status, |
|---|
| 391 | Properties::NON_VIRTUAL, |
|---|
| 392 | __ReadStatus__status, |
|---|
| 393 | "", |
|---|
| 394 | ""); |
|---|
| 395 | I_Method0(bool, success, |
|---|
| 396 | Properties::NON_VIRTUAL, |
|---|
| 397 | __bool__success, |
|---|
| 398 | "", |
|---|
| 399 | ""); |
|---|
| 400 | I_Method0(bool, loadedFromCache, |
|---|
| 401 | Properties::NON_VIRTUAL, |
|---|
| 402 | __bool__loadedFromCache, |
|---|
| 403 | "", |
|---|
| 404 | ""); |
|---|
| 405 | I_Method0(bool, error, |
|---|
| 406 | Properties::NON_VIRTUAL, |
|---|
| 407 | __bool__error, |
|---|
| 408 | "", |
|---|
| 409 | ""); |
|---|
| 410 | I_Method0(bool, notHandled, |
|---|
| 411 | Properties::NON_VIRTUAL, |
|---|
| 412 | __bool__notHandled, |
|---|
| 413 | "", |
|---|
| 414 | ""); |
|---|
| 415 | I_Method0(bool, notFound, |
|---|
| 416 | Properties::NON_VIRTUAL, |
|---|
| 417 | __bool__notFound, |
|---|
| 418 | "", |
|---|
| 419 | ""); |
|---|
| 420 | I_Method0(bool, notEnoughMemory, |
|---|
| 421 | Properties::NON_VIRTUAL, |
|---|
| 422 | __bool__notEnoughMemory, |
|---|
| 423 | "", |
|---|
| 424 | ""); |
|---|
| 425 | I_SimpleProperty(osgDB::Archive *, Archive, |
|---|
| 426 | __osgDB_Archive_P1__getArchive, |
|---|
| 427 | 0); |
|---|
| 428 | I_SimpleProperty(osg::HeightField *, HeightField, |
|---|
| 429 | __osg_HeightField_P1__getHeightField, |
|---|
| 430 | 0); |
|---|
| 431 | I_SimpleProperty(osg::Image *, Image, |
|---|
| 432 | __osg_Image_P1__getImage, |
|---|
| 433 | 0); |
|---|
| 434 | I_SimpleProperty(osg::Node *, Node, |
|---|
| 435 | __osg_Node_P1__getNode, |
|---|
| 436 | 0); |
|---|
| 437 | I_SimpleProperty(osg::Object *, Object, |
|---|
| 438 | __osg_Object_P1__getObject, |
|---|
| 439 | 0); |
|---|
| 440 | I_SimpleProperty(osg::Shader *, Shader, |
|---|
| 441 | __osg_Shader_P1__getShader, |
|---|
| 442 | 0); |
|---|
| 443 | END_REFLECTOR |
|---|
| 444 | |
|---|
| 445 | BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::WriteResult::WriteStatus) |
|---|
| 446 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 447 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::NOT_IMPLEMENTED); |
|---|
| 448 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED); |
|---|
| 449 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_SAVED); |
|---|
| 450 | I_EnumLabel(osgDB::ReaderWriter::WriteResult::ERROR_IN_WRITING_FILE); |
|---|
| 451 | END_REFLECTOR |
|---|
| 452 | |
|---|
| 453 | BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::WriteResult) |
|---|
| 454 | I_DeclaringFile("osgDB/ReaderWriter"); |
|---|
| 455 | I_ConstructorWithDefaults1(IN, osgDB::ReaderWriter::WriteResult::WriteStatus, status, osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED, |
|---|
| 456 | Properties::NON_EXPLICIT, |
|---|
| 457 | ____WriteResult__WriteStatus, |
|---|
| 458 | "", |
|---|
| 459 | ""); |
|---|
| 460 | I_Constructor1(IN, const std::string &, m, |
|---|
| 461 | Properties::NON_EXPLICIT, |
|---|
| 462 | ____WriteResult__C5_std_string_R1, |
|---|
| 463 | "", |
|---|
| 464 | ""); |
|---|
| 465 | I_Constructor1(IN, const osgDB::ReaderWriter::WriteResult &, rr, |
|---|
| 466 | Properties::NON_EXPLICIT, |
|---|
| 467 | ____WriteResult__C5_WriteResult_R1, |
|---|
| 468 | "", |
|---|
| 469 | ""); |
|---|
| 470 | I_Method0(std::string &, message, |
|---|
| 471 | Properties::NON_VIRTUAL, |
|---|
| 472 | __std_string_R1__message, |
|---|
| 473 | "", |
|---|
| 474 | ""); |
|---|
| 475 | I_Method0(const std::string &, message, |
|---|
| 476 | Properties::NON_VIRTUAL, |
|---|
| 477 | __C5_std_string_R1__message, |
|---|
| 478 | "", |
|---|
| 479 | ""); |
|---|
| 480 | I_Method0(osgDB::ReaderWriter::WriteResult::WriteStatus, status, |
|---|
| 481 | Properties::NON_VIRTUAL, |
|---|
| 482 | __WriteStatus__status, |
|---|
| 483 | "", |
|---|
| 484 | ""); |
|---|
| 485 | I_Method0(bool, success, |
|---|
| 486 | Properties::NON_VIRTUAL, |
|---|
| 487 | __bool__success, |
|---|
| 488 | "", |
|---|
| 489 | ""); |
|---|
| 490 | I_Method0(bool, error, |
|---|
| 491 | Properties::NON_VIRTUAL, |
|---|
| 492 | __bool__error, |
|---|
| 493 | "", |
|---|
| 494 | ""); |
|---|
| 495 | I_Method0(bool, notHandled, |
|---|
| 496 | Properties::NON_VIRTUAL, |
|---|
| 497 | __bool__notHandled, |
|---|
| 498 | "", |
|---|
| 499 | ""); |
|---|
| 500 | END_REFLECTOR |
|---|