Changeset 8583
- Timestamp:
- 07/15/08 12:45:07
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenSceneGraph/trunk/src/osgWrappers/osgDB/Archive.cpp
r6903 r8583 47 47 Properties::VIRTUAL, 48 48 __bool__acceptsExtension__C5_std_string_R1, 49 " ",49 "return true if ReaderWriter accepts specified file extension. ", 50 50 ""); 51 51 I_Method0(void, close, OpenSceneGraph/trunk/src/osgWrappers/osgDB/ReaderWriter.cpp
r8541 r8583 27 27 #undef OUT 28 28 #endif 29 30 TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::ReaderWriter::FormatDescriptionMap) 29 31 30 32 BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus) … … 70 72 "return the name of the object's class type. ", 71 73 "Must be defined by derived classes. "); 74 I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedProtocols, 75 Properties::VIRTUAL, 76 __C5_FormatDescriptionMap_R1__supportedProtocols, 77 "return which protocols are supported by ReaderWriter. ", 78 ""); 79 I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedExtensions, 80 Properties::VIRTUAL, 81 __C5_FormatDescriptionMap_R1__supportedExtensions, 82 "return which list of file extensions supported by ReaderWriter. ", 83 ""); 84 I_Method0(const osgDB::ReaderWriter::FormatDescriptionMap &, supportedOptions, 85 Properties::VIRTUAL, 86 __C5_FormatDescriptionMap_R1__supportedOptions, 87 "return which list of file extensions supported by ReaderWriter. ", 88 ""); 72 89 I_Method1(bool, acceptsExtension, IN, const std::string &, x, 73 90 Properties::VIRTUAL, 74 91 __bool__acceptsExtension__C5_std_string_R1, 75 " ",92 "return true if ReaderWriter accepts specified file extension. ", 76 93 ""); 77 94 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, … … 185 202 "", 186 203 ""); 204 I_ProtectedMethod2(void, supportsProtocol, IN, const std::string &, fmt, IN, const std::string &, description, 205 Properties::NON_VIRTUAL, 206 Properties::NON_CONST, 207 __void__supportsProtocol__C5_std_string_R1__C5_std_string_R1, 208 "", 209 ""); 210 I_ProtectedMethod2(void, supportsExtension, IN, const std::string &, fmt, IN, const std::string &, description, 211 Properties::NON_VIRTUAL, 212 Properties::NON_CONST, 213 __void__supportsExtension__C5_std_string_R1__C5_std_string_R1, 214 "", 215 ""); 216 I_ProtectedMethod2(void, supportsOption, IN, const std::string &, fmt, IN, const std::string &, description, 217 Properties::NON_VIRTUAL, 218 Properties::NON_CONST, 219 __void__supportsOption__C5_std_string_R1__C5_std_string_R1, 220 "", 221 ""); 187 222 END_REFLECTOR 188 223 OpenSceneGraph/trunk/src/osgWrappers/osgDB/Registry.cpp
r8541 r8583 69 69 END_REFLECTOR 70 70 71 TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >, osgDB::Registry::ReaderWriterList) 72 71 73 BEGIN_OBJECT_REFLECTOR(osgDB::Registry) 72 74 I_DeclaringFile("osgDB/Registry"); … … 141 143 __ReaderWriter_P1__getReaderWriterForExtension__C5_std_string_R1, 142 144 "get a reader writer which handles specified extension. ", 145 ""); 146 I_Method0(osgDB::Registry::ReaderWriterList &, getReaderWriterList, 147 Properties::NON_VIRTUAL, 148 __ReaderWriterList_R1__getReaderWriterList, 149 "get list of all registered ReaderWriters. ", 150 ""); 151 I_Method0(const osgDB::Registry::ReaderWriterList &, getReaderWriterList, 152 Properties::NON_VIRTUAL, 153 __C5_ReaderWriterList_R1__getReaderWriterList, 154 "get const list of all registered ReaderWriters. ", 143 155 ""); 144 156 I_Method2(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, IN, osgDB::Input &, fr, … … 579 591 __ReadFileCallback_P1__getReadFileCallback, 580 592 __void__setReadFileCallback__ReadFileCallback_P1); 593 I_SimpleProperty(osgDB::Registry::ReaderWriterList &, ReaderWriterList, 594 __ReaderWriterList_R1__getReaderWriterList, 595 0); 581 596 I_SimpleProperty(osgDB::SharedStateManager *, SharedStateManager, 582 597 __SharedStateManager_P1__getSharedStateManager, … … 682 697 END_REFLECTOR 683 698 699 BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriter >) 700 I_DeclaringFile("osg/ref_ptr"); 701 I_Constructor0(____ref_ptr, 702 "", 703 ""); 704 I_Constructor1(IN, osgDB::ReaderWriter *, ptr, 705 Properties::NON_EXPLICIT, 706 ____ref_ptr__T_P1, 707 "", 708 ""); 709 I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriter > &, rp, 710 Properties::NON_EXPLICIT, 711 ____ref_ptr__C5_ref_ptr_R1, 712 "", 713 ""); 714 I_Method0(osgDB::ReaderWriter *, get, 715 Properties::NON_VIRTUAL, 716 __T_P1__get, 717 "", 718 ""); 719 I_Method0(bool, valid, 720 Properties::NON_VIRTUAL, 721 __bool__valid, 722 "", 723 ""); 724 I_Method0(osgDB::ReaderWriter *, release, 725 Properties::NON_VIRTUAL, 726 __T_P1__release, 727 "", 728 ""); 729 I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriter > &, rp, 730 Properties::NON_VIRTUAL, 731 __void__swap__ref_ptr_R1, 732 "", 733 ""); 734 I_SimpleProperty(osgDB::ReaderWriter *, , 735 __T_P1__get, 736 0); 737 END_REFLECTOR 738 739 STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >) 740
