root/OpenSceneGraph/trunk/src/osgWrappers/osgDB/Registry.cpp @ 10521

Revision 10521, 40.2 kB (checked in by robert, 5 years ago)

Updated wrappers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1// ***************************************************************************
2//
3//   Generated automatically by genwrapper.
4//   Please DO NOT EDIT this file!
5//
6// ***************************************************************************
7
8#include <osgIntrospection/ReflectionMacros>
9#include <osgIntrospection/TypedMethodInfo>
10#include <osgIntrospection/StaticMethodInfo>
11#include <osgIntrospection/Attributes>
12
13#include <osg/ArgumentParser>
14#include <osg/Drawable>
15#include <osg/FrameStamp>
16#include <osg/Image>
17#include <osg/KdTree>
18#include <osg/Node>
19#include <osg/Object>
20#include <osg/Shader>
21#include <osg/Shape>
22#include <osg/State>
23#include <osg/StateAttribute>
24#include <osg/Uniform>
25#include <osgDB/Archive>
26#include <osgDB/AuthenticationMap>
27#include <osgDB/Callbacks>
28#include <osgDB/DotOsgWrapper>
29#include <osgDB/DynamicLibrary>
30#include <osgDB/FileCache>
31#include <osgDB/Input>
32#include <osgDB/Options>
33#include <osgDB/Output>
34#include <osgDB/ReaderWriter>
35#include <osgDB/Registry>
36#include <osgDB/SharedStateManager>
37
38// Must undefine IN and OUT macros defined in Windows headers
39#ifdef IN
40#undef IN
41#endif
42#ifdef OUT
43#undef OUT
44#endif
45
46BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper)
47        I_DeclaringFile("osgDB/Registry");
48        I_Constructor0(____basic_type_wrapper,
49                       "",
50                       "");
51        I_Method1(bool, matches, IN, const osg::Object *, proto,
52                  Properties::PURE_VIRTUAL,
53                  __bool__matches__C5_osg_Object_P1,
54                  "",
55                  "");
56END_REFLECTOR
57
58BEGIN_VALUE_REFLECTOR(osgDB::PluginFunctionProxy)
59        I_DeclaringFile("osgDB/Registry");
60        I_Constructor1(IN, CPluginFunction, function,
61                       Properties::NON_EXPLICIT,
62                       ____PluginFunctionProxy__CPluginFunction,
63                       "",
64                       "");
65END_REFLECTOR
66
67BEGIN_VALUE_REFLECTOR(osgDB::RegisterDotOsgWrapperProxy)
68        I_DeclaringFile("osgDB/Registry");
69        I_ConstructorWithDefaults6(IN, osg::Object *, proto, , IN, const std::string &, name, , IN, const std::string &, associates, , IN, osgDB::DotOsgWrapper::ReadFunc, readFunc, , IN, osgDB::DotOsgWrapper::WriteFunc, writeFunc, , IN, osgDB::DotOsgWrapper::ReadWriteMode, readWriteMode, osgDB::DotOsgWrapper::READ_AND_WRITE,
70                                   ____RegisterDotOsgWrapperProxy__osg_Object_P1__C5_std_string_R1__C5_std_string_R1__DotOsgWrapper_ReadFunc__DotOsgWrapper_WriteFunc__DotOsgWrapper_ReadWriteMode,
71                                   "",
72                                   "");
73END_REFLECTOR
74
75BEGIN_ENUM_REFLECTOR(osgDB::Registry::LoadStatus)
76        I_DeclaringFile("osgDB/Registry");
77        I_EnumLabel(osgDB::Registry::NOT_LOADED);
78        I_EnumLabel(osgDB::Registry::PREVIOUSLY_LOADED);
79        I_EnumLabel(osgDB::Registry::LOADED);
80END_REFLECTOR
81
82TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >, osgDB::Registry::ReaderWriterList)
83
84TYPE_NAME_ALIAS(class osgDB::FindFileCallback, osgDB::Registry::FindFileCallback)
85
86TYPE_NAME_ALIAS(class osgDB::ReadFileCallback, osgDB::Registry::ReadFileCallback)
87
88TYPE_NAME_ALIAS(class osgDB::WriteFileCallback, osgDB::Registry::WriteFileCallback)
89
90TYPE_NAME_ALIAS(class osgDB::FileLocationCallback, osgDB::Registry::FileLocationCallback)
91
92BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
93        I_DeclaringFile("osgDB/Registry");
94        I_BaseType(osg::Referenced);
95        I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false,
96                                    __Registry_P1__instance__bool_S,
97                                    "",
98                                    "");
99        I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, commandLine,
100                  Properties::NON_VIRTUAL,
101                  __void__readCommandLine__osg_ArgumentParser_R1,
102                  "read the command line arguments. ",
103                  "");
104        I_Method2(void, addFileExtensionAlias, IN, const std::string, mapExt, IN, const std::string, toExt,
105                  Properties::NON_VIRTUAL,
106                  __void__addFileExtensionAlias__C5_std_string__C5_std_string,
107                  "register an .fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library. ",
108                  "For example to map .tif files to the tiff loader, use addExtAlias(\"tif\",\"tiff\") which will enable .tif to be read by the libdb_tiff readerwriter plugin. ");
109        I_Method1(bool, readPluginAliasConfigurationFile, IN, const std::string &, file,
110                  Properties::NON_VIRTUAL,
111                  __bool__readPluginAliasConfigurationFile__C5_std_string_R1,
112                  "Reads a file that configures extension mappings. ",
113                  "File is ASCII text and each line contains the parameters to the addFileExtensionAlias method. Lines can be commented out with an initial '#' character. ");
114        I_Method2(void, addMimeTypeExtensionMapping, IN, const std::string, fromMimeType, IN, const std::string, toExt,
115                  Properties::NON_VIRTUAL,
116                  __void__addMimeTypeExtensionMapping__C5_std_string__C5_std_string,
117                  "Registers a mapping of a mime-type to an extension. ",
118                  "A process fetching data over HTTP can use this facility to determine the proper ReaderWriter to use when there is no filename extension to rely upon. ");
119        I_Method1(void, addDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper,
120                  Properties::NON_VIRTUAL,
121                  __void__addDotOsgWrapper__DotOsgWrapper_P1,
122                  "",
123                  "");
124        I_Method1(void, removeDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper,
125                  Properties::NON_VIRTUAL,
126                  __void__removeDotOsgWrapper__DotOsgWrapper_P1,
127                  "",
128                  "");
129        I_Method1(void, addReaderWriter, IN, osgDB::ReaderWriter *, rw,
130                  Properties::NON_VIRTUAL,
131                  __void__addReaderWriter__ReaderWriter_P1,
132                  "",
133                  "");
134        I_Method1(void, removeReaderWriter, IN, osgDB::ReaderWriter *, rw,
135                  Properties::NON_VIRTUAL,
136                  __void__removeReaderWriter__ReaderWriter_P1,
137                  "",
138                  "");
139        I_Method1(std::string, createLibraryNameForFile, IN, const std::string &, fileName,
140                  Properties::NON_VIRTUAL,
141                  __std_string__createLibraryNameForFile__C5_std_string_R1,
142                  "create the platform specific library name associated with file. ",
143                  "");
144        I_Method1(std::string, createLibraryNameForExtension, IN, const std::string &, ext,
145                  Properties::NON_VIRTUAL,
146                  __std_string__createLibraryNameForExtension__C5_std_string_R1,
147                  "create the platform specific library name associated with file extension. ",
148                  "");
149        I_Method1(std::string, createLibraryNameForNodeKit, IN, const std::string &, name,
150                  Properties::NON_VIRTUAL,
151                  __std_string__createLibraryNameForNodeKit__C5_std_string_R1,
152                  "create the platform specific library name associated with nodekit library name. ",
153                  "");
154        I_Method1(osgDB::Registry::LoadStatus, loadLibrary, IN, const std::string &, fileName,
155                  Properties::NON_VIRTUAL,
156                  __LoadStatus__loadLibrary__C5_std_string_R1,
157                  "find the library in the OSG_LIBRARY_PATH and load it. ",
158                  "");
159        I_Method1(bool, closeLibrary, IN, const std::string &, fileName,
160                  Properties::NON_VIRTUAL,
161                  __bool__closeLibrary__C5_std_string_R1,
162                  "close the attached library with specified name. ",
163                  "");
164        I_Method0(void, closeAllLibraries,
165                  Properties::NON_VIRTUAL,
166                  __void__closeAllLibraries,
167                  "close all libraries. ",
168                  "");
169        I_Method1(osgDB::ReaderWriter *, getReaderWriterForExtension, IN, const std::string &, ext,
170                  Properties::NON_VIRTUAL,
171                  __ReaderWriter_P1__getReaderWriterForExtension__C5_std_string_R1,
172                  "get a reader writer which handles specified extension. ",
173                  "");
174        I_Method1(osgDB::ReaderWriter *, getReaderWriterForMimeType, IN, const std::string &, mimeType,
175                  Properties::NON_VIRTUAL,
176                  __ReaderWriter_P1__getReaderWriterForMimeType__C5_std_string_R1,
177                  "gets a reader/writer that handles the extension mapped to by one of the registered mime-types. ",
178                  "");
179        I_Method0(osgDB::Registry::ReaderWriterList &, getReaderWriterList,
180                  Properties::NON_VIRTUAL,
181                  __ReaderWriterList_R1__getReaderWriterList,
182                  "get list of all registered ReaderWriters. ",
183                  "");
184        I_Method0(const osgDB::Registry::ReaderWriterList &, getReaderWriterList,
185                  Properties::NON_VIRTUAL,
186                  __C5_ReaderWriterList_R1__getReaderWriterList,
187                  "get const list of all registered ReaderWriters. ",
188                  "");
189        I_Method2(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, IN, osgDB::Input &, fr,
190                  Properties::NON_VIRTUAL,
191                  __osg_Object_P1__readObjectOfType__C5_osg_Object_R1__Input_R1,
192                  "",
193                  "");
194        I_Method2(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw, IN, osgDB::Input &, fr,
195                  Properties::NON_VIRTUAL,
196                  __osg_Object_P1__readObjectOfType__C5_basic_type_wrapper_R1__Input_R1,
197                  "",
198                  "");
199        I_Method1(osg::Object *, readObject, IN, osgDB::Input &, fr,
200                  Properties::NON_VIRTUAL,
201                  __osg_Object_P1__readObject__Input_R1,
202                  "",
203                  "");
204        I_Method1(osg::Image *, readImage, IN, osgDB::Input &, fr,
205                  Properties::NON_VIRTUAL,
206                  __osg_Image_P1__readImage__Input_R1,
207                  "",
208                  "");
209        I_Method1(osg::Drawable *, readDrawable, IN, osgDB::Input &, fr,
210                  Properties::NON_VIRTUAL,
211                  __osg_Drawable_P1__readDrawable__Input_R1,
212                  "",
213                  "");
214        I_Method1(osg::Uniform *, readUniform, IN, osgDB::Input &, fr,
215                  Properties::NON_VIRTUAL,
216                  __osg_Uniform_P1__readUniform__Input_R1,
217                  "",
218                  "");
219        I_Method1(osg::StateAttribute *, readStateAttribute, IN, osgDB::Input &, fr,
220                  Properties::NON_VIRTUAL,
221                  __osg_StateAttribute_P1__readStateAttribute__Input_R1,
222                  "",
223                  "");
224        I_Method1(osg::Node *, readNode, IN, osgDB::Input &, fr,
225                  Properties::NON_VIRTUAL,
226                  __osg_Node_P1__readNode__Input_R1,
227                  "",
228                  "");
229        I_Method1(osg::Shader *, readShader, IN, osgDB::Input &, fr,
230                  Properties::NON_VIRTUAL,
231                  __osg_Shader_P1__readShader__Input_R1,
232                  "",
233                  "");
234        I_Method2(bool, writeObject, IN, const osg::Object &, obj, IN, osgDB::Output &, fw,
235                  Properties::NON_VIRTUAL,
236                  __bool__writeObject__C5_osg_Object_R1__Output_R1,
237                  "",
238                  "");
239        I_Method1(void, setFindFileCallback, IN, osgDB::Registry::FindFileCallback *, cb,
240                  Properties::NON_VIRTUAL,
241                  __void__setFindFileCallback__FindFileCallback_P1,
242                  "Set the Registry callback to use in place of the default findFile calls. ",
243                  "");
244        I_Method0(osgDB::Registry::FindFileCallback *, getFindFileCallback,
245                  Properties::NON_VIRTUAL,
246                  __FindFileCallback_P1__getFindFileCallback,
247                  "Get the findFile callback. ",
248                  "");
249        I_Method0(const osgDB::Registry::FindFileCallback *, getFindFileCallback,
250                  Properties::NON_VIRTUAL,
251                  __C5_FindFileCallback_P1__getFindFileCallback,
252                  "Get the const findFile callback. ",
253                  "");
254        I_Method3(std::string, findDataFile, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity,
255                  Properties::NON_VIRTUAL,
256                  __std_string__findDataFile__C5_std_string_R1__C5_Options_P1__CaseSensitivity,
257                  "",
258                  "");
259        I_Method3(std::string, findDataFileImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity,
260                  Properties::NON_VIRTUAL,
261                  __std_string__findDataFileImplementation__C5_std_string_R1__C5_Options_P1__CaseSensitivity,
262                  "",
263                  "");
264        I_Method3(std::string, findLibraryFile, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity,
265                  Properties::NON_VIRTUAL,
266                  __std_string__findLibraryFile__C5_std_string_R1__C5_Options_P1__CaseSensitivity,
267                  "",
268                  "");
269        I_Method3(std::string, findLibraryFileImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options, IN, osgDB::CaseSensitivity, caseSensitivity,
270                  Properties::NON_VIRTUAL,
271                  __std_string__findLibraryFileImplementation__C5_std_string_R1__C5_Options_P1__CaseSensitivity,
272                  "",
273                  "");
274        I_Method1(void, setReadFileCallback, IN, osgDB::Registry::ReadFileCallback *, cb,
275                  Properties::NON_VIRTUAL,
276                  __void__setReadFileCallback__ReadFileCallback_P1,
277                  "Set the Registry callback to use in place of the default readFile calls. ",
278                  "");
279        I_Method0(osgDB::Registry::ReadFileCallback *, getReadFileCallback,
280                  Properties::NON_VIRTUAL,
281                  __ReadFileCallback_P1__getReadFileCallback,
282                  "Get the readFile callback. ",
283                  "");
284        I_Method0(const osgDB::Registry::ReadFileCallback *, getReadFileCallback,
285                  Properties::NON_VIRTUAL,
286                  __C5_ReadFileCallback_P1__getReadFileCallback,
287                  "Get the const readFile callback. ",
288                  "");
289        I_Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::Options *, options,
290                  Properties::NON_VIRTUAL,
291                  __ReaderWriter_ReadResult__openArchive__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_Options_P1,
292                  "",
293                  "");
294        I_Method4(osgDB::ReaderWriter::ReadResult, openArchiveImplementation, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::Options *, options,
295                  Properties::NON_VIRTUAL,
296                  __ReaderWriter_ReadResult__openArchiveImplementation__C5_std_string_R1__ReaderWriter_ArchiveStatus__unsigned_int__C5_Options_P1,
297                  "",
298                  "");
299        I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, fileName, , IN, const osgDB::Options *, options, , IN, bool, buildKdTreeIfRequired, true,
300                              Properties::NON_VIRTUAL,
301                              __ReaderWriter_ReadResult__readObject__C5_std_string_R1__C5_Options_P1__bool,
302                              "",
303                              "");
304        I_Method2(osgDB::ReaderWriter::ReadResult, readObjectImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
305                  Properties::NON_VIRTUAL,
306                  __ReaderWriter_ReadResult__readObjectImplementation__C5_std_string_R1__C5_Options_P1,
307                  "",
308                  "");
309        I_Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
310                  Properties::NON_VIRTUAL,
311                  __ReaderWriter_ReadResult__readImage__C5_std_string_R1__C5_Options_P1,
312                  "",
313                  "");
314        I_Method2(osgDB::ReaderWriter::ReadResult, readImageImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
315                  Properties::NON_VIRTUAL,
316                  __ReaderWriter_ReadResult__readImageImplementation__C5_std_string_R1__C5_Options_P1,
317                  "",
318                  "");
319        I_Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
320                  Properties::NON_VIRTUAL,
321                  __ReaderWriter_ReadResult__readHeightField__C5_std_string_R1__C5_Options_P1,
322                  "",
323                  "");
324        I_Method2(osgDB::ReaderWriter::ReadResult, readHeightFieldImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
325                  Properties::NON_VIRTUAL,
326                  __ReaderWriter_ReadResult__readHeightFieldImplementation__C5_std_string_R1__C5_Options_P1,
327                  "",
328                  "");
329        I_MethodWithDefaults3(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, fileName, , IN, const osgDB::Options *, options, , IN, bool, buildKdTreeIfRequired, true,
330                              Properties::NON_VIRTUAL,
331                              __ReaderWriter_ReadResult__readNode__C5_std_string_R1__C5_Options_P1__bool,
332                              "",
333                              "");
334        I_Method2(osgDB::ReaderWriter::ReadResult, readNodeImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
335                  Properties::NON_VIRTUAL,
336                  __ReaderWriter_ReadResult__readNodeImplementation__C5_std_string_R1__C5_Options_P1,
337                  "",
338                  "");
339        I_Method2(osgDB::ReaderWriter::ReadResult, readShader, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
340                  Properties::NON_VIRTUAL,
341                  __ReaderWriter_ReadResult__readShader__C5_std_string_R1__C5_Options_P1,
342                  "",
343                  "");
344        I_Method2(osgDB::ReaderWriter::ReadResult, readShaderImplementation, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
345                  Properties::NON_VIRTUAL,
346                  __ReaderWriter_ReadResult__readShaderImplementation__C5_std_string_R1__C5_Options_P1,
347                  "",
348                  "");
349        I_Method1(void, setWriteFileCallback, IN, osgDB::Registry::WriteFileCallback *, cb,
350                  Properties::NON_VIRTUAL,
351                  __void__setWriteFileCallback__WriteFileCallback_P1,
352                  "Set the Registry callback to use in place of the default writeFile calls. ",
353                  "");
354        I_Method0(osgDB::Registry::WriteFileCallback *, getWriteFileCallback,
355                  Properties::NON_VIRTUAL,
356                  __WriteFileCallback_P1__getWriteFileCallback,
357                  "Get the writeFile callback. ",
358                  "");
359        I_Method0(const osgDB::Registry::WriteFileCallback *, getWriteFileCallback,
360                  Properties::NON_VIRTUAL,
361                  __C5_WriteFileCallback_P1__getWriteFileCallback,
362                  "Get the const writeFile callback. ",
363                  "");
364        I_Method3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
365                  Properties::NON_VIRTUAL,
366                  __ReaderWriter_WriteResult__writeObject__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1,
367                  "",
368                  "");
369        I_Method3(osgDB::ReaderWriter::WriteResult, writeObjectImplementation, IN, const osg::Object &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
370                  Properties::NON_VIRTUAL,
371                  __ReaderWriter_WriteResult__writeObjectImplementation__C5_osg_Object_R1__C5_std_string_R1__C5_Options_P1,
372                  "",
373                  "");
374        I_Method3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
375                  Properties::NON_VIRTUAL,
376                  __ReaderWriter_WriteResult__writeImage__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1,
377                  "",
378                  "");
379        I_Method3(osgDB::ReaderWriter::WriteResult, writeImageImplementation, IN, const osg::Image &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
380                  Properties::NON_VIRTUAL,
381                  __ReaderWriter_WriteResult__writeImageImplementation__C5_osg_Image_R1__C5_std_string_R1__C5_Options_P1,
382                  "",
383                  "");
384        I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
385                  Properties::NON_VIRTUAL,
386                  __ReaderWriter_WriteResult__writeHeightField__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1,
387                  "",
388                  "");
389        I_Method3(osgDB::ReaderWriter::WriteResult, writeHeightFieldImplementation, IN, const osg::HeightField &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
390                  Properties::NON_VIRTUAL,
391                  __ReaderWriter_WriteResult__writeHeightFieldImplementation__C5_osg_HeightField_R1__C5_std_string_R1__C5_Options_P1,
392                  "",
393                  "");
394        I_Method3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
395                  Properties::NON_VIRTUAL,
396                  __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1,
397                  "",
398                  "");
399        I_Method3(osgDB::ReaderWriter::WriteResult, writeNodeImplementation, IN, const osg::Node &, node, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
400                  Properties::NON_VIRTUAL,
401                  __ReaderWriter_WriteResult__writeNodeImplementation__C5_osg_Node_R1__C5_std_string_R1__C5_Options_P1,
402                  "",
403                  "");
404        I_Method3(osgDB::ReaderWriter::WriteResult, writeShader, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
405                  Properties::NON_VIRTUAL,
406                  __ReaderWriter_WriteResult__writeShader__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1,
407                  "",
408                  "");
409        I_Method3(osgDB::ReaderWriter::WriteResult, writeShaderImplementation, IN, const osg::Shader &, obj, IN, const std::string &, fileName, IN, const osgDB::Options *, options,
410                  Properties::NON_VIRTUAL,
411                  __ReaderWriter_WriteResult__writeShaderImplementation__C5_osg_Shader_R1__C5_std_string_R1__C5_Options_P1,
412                  "",
413                  "");
414        I_Method2(void, _buildKdTreeIfRequired, IN, osgDB::ReaderWriter::ReadResult &, result, IN, const osgDB::Options *, options,
415                  Properties::NON_VIRTUAL,
416                  __void___buildKdTreeIfRequired__ReaderWriter_ReadResult_R1__C5_Options_P1,
417                  "",
418                  "");
419        I_Method1(void, setFileLocationCallback, IN, osgDB::Registry::FileLocationCallback *, cb,
420                  Properties::NON_VIRTUAL,
421                  __void__setFileLocationCallback__FileLocationCallback_P1,
422                  "Set the callback to use inform the DatabasePager whether a file is located on local or remote file system. ",
423                  "");
424        I_Method0(osgDB::Registry::FileLocationCallback *, getFileLocationCallback,
425                  Properties::NON_VIRTUAL,
426                  __FileLocationCallback_P1__getFileLocationCallback,
427                  "Get the callback to use inform the DatabasePager whether a file is located on local or remote file system. ",
428                  "");
429        I_Method1(void, setBuildKdTreesHint, IN, osgDB::Options::BuildKdTreesHint, hint,
430                  Properties::NON_VIRTUAL,
431                  __void__setBuildKdTreesHint__Options_BuildKdTreesHint,
432                  "Set whether the KdTrees should be built for geometry in the loader model. ",
433                  "");
434        I_Method0(osgDB::Options::BuildKdTreesHint, getBuildKdTreesHint,
435                  Properties::NON_VIRTUAL,
436                  __Options_BuildKdTreesHint__getBuildKdTreesHint,
437                  "Get whether the KdTrees should be built for geometry in the loader model. ",
438                  "");
439        I_Method1(void, setKdTreeBuilder, IN, osg::KdTreeBuilder *, builder,
440                  Properties::NON_VIRTUAL,
441                  __void__setKdTreeBuilder__osg_KdTreeBuilder_P1,
442                  "Set the KdTreeBuilder visitor that is used to build KdTree on loaded models. ",
443                  "");
444        I_Method0(osg::KdTreeBuilder *, getKdTreeBuilder,
445                  Properties::NON_VIRTUAL,
446                  __osg_KdTreeBuilder_P1__getKdTreeBuilder,
447                  "Get the KdTreeBuilder visitor that is used to build KdTree on loaded models. ",
448                  "");
449        I_Method1(void, setFileCache, IN, osgDB::FileCache *, fileCache,
450                  Properties::NON_VIRTUAL,
451                  __void__setFileCache__FileCache_P1,
452                  "Set the FileCache that is used to manage local storage of files downloaded from the internet. ",
453                  "");
454        I_Method0(osgDB::FileCache *, getFileCache,
455                  Properties::NON_VIRTUAL,
456                  __FileCache_P1__getFileCache,
457                  "Get the FileCache that is used to manage local storage of files downloaded from the internet. ",
458                  "");
459        I_Method0(const osgDB::FileCache *, getFileCache,
460                  Properties::NON_VIRTUAL,
461                  __C5_FileCache_P1__getFileCache,
462                  "Get the const FileCache that is used to manage local storage of files downloaded from the internet. ",
463                  "");
464        I_Method1(void, setAuthenticationMap, IN, osgDB::AuthenticationMap *, authenticationMap,
465                  Properties::NON_VIRTUAL,
466                  __void__setAuthenticationMap__AuthenticationMap_P1,
467                  "Set the password map to be used by plugins when access files from secure locations. ",
468                  "");
469        I_Method0(osgDB::AuthenticationMap *, getAuthenticationMap,
470                  Properties::NON_VIRTUAL,
471                  __AuthenticationMap_P1__getAuthenticationMap,
472                  "Get the password map to be used by plugins when access files from secure locations. ",
473                  "");
474        I_Method0(const osgDB::AuthenticationMap *, getAuthenticationMap,
475                  Properties::NON_VIRTUAL,
476                  __C5_AuthenticationMap_P1__getAuthenticationMap,
477                  "Get the password map to be used by plugins when access files from secure locations. ",
478                  "");
479        I_Method1(void, setCreateNodeFromImage, IN, bool, flag,
480                  Properties::NON_VIRTUAL,
481                  __void__setCreateNodeFromImage__bool,
482                  "",
483                  "");
484        I_Method0(bool, getCreateNodeFromImage,
485                  Properties::NON_VIRTUAL,
486                  __bool__getCreateNodeFromImage,
487                  "",
488                  "");
489        I_Method1(void, setOptions, IN, osgDB::Options *, opt,
490                  Properties::NON_VIRTUAL,
491                  __void__setOptions__Options_P1,
492                  "",
493                  "");
494        I_Method0(osgDB::Options *, getOptions,
495                  Properties::NON_VIRTUAL,
496                  __Options_P1__getOptions,
497                  "",
498                  "");
499        I_Method0(const osgDB::Options *, getOptions,
500                  Properties::NON_VIRTUAL,
501                  __C5_Options_P1__getOptions,
502                  "",
503                  "");
504        I_Method0(void, initFilePathLists,
505                  Properties::NON_VIRTUAL,
506                  __void__initFilePathLists,
507                  "initialize both the Data and Library FilePaths, by default called by the constructor, so it should only be required if you want to force the re-reading of environmental variables. ",
508                  "");
509        I_Method0(void, initDataFilePathList,
510                  Properties::NON_VIRTUAL,
511                  __void__initDataFilePathList,
512                  "initialize the Data FilePath by reading the OSG_FILE_PATH environmental variable. ",
513                  "");
514        I_Method1(void, setDataFilePathList, IN, const osgDB::FilePathList &, filepath,
515                  Properties::NON_VIRTUAL,
516                  __void__setDataFilePathList__C5_FilePathList_R1,
517                  "Set the data file path using a list of paths stored in a FilePath, which is used when search for data files. ",
518                  "");
519        I_Method1(void, setDataFilePathList, IN, const std::string &, paths,
520                  Properties::NON_VIRTUAL,
521                  __void__setDataFilePathList__C5_std_string_R1,
522                  "Set the data file path using a single string delimited either with ';' (Windows) or ':' (All other platforms), which is used when search for data files. ",
523                  "");
524        I_Method0(osgDB::FilePathList &, getDataFilePathList,
525                  Properties::NON_VIRTUAL,
526                  __FilePathList_R1__getDataFilePathList,
527                  "get the data file path which is used when search for data files. ",
528                  "");
529        I_Method0(const osgDB::FilePathList &, getDataFilePathList,
530                  Properties::NON_VIRTUAL,
531                  __C5_FilePathList_R1__getDataFilePathList,
532                  "get the const data file path which is used when search for data files. ",
533                  "");
534        I_Method0(void, initLibraryFilePathList,
535                  Properties::NON_VIRTUAL,
536                  __void__initLibraryFilePathList,
537                  "initialize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables ",
538                  "");
539        I_Method1(void, setLibraryFilePathList, IN, const osgDB::FilePathList &, filepath,
540                  Properties::NON_VIRTUAL,
541                  __void__setLibraryFilePathList__C5_FilePathList_R1,
542                  "Set the library file path using a list of paths stored in a FilePath, which is used when search for data files. ",
543                  "");
544        I_Method1(void, setLibraryFilePathList, IN, const std::string &, paths,
545                  Properties::NON_VIRTUAL,
546                  __void__setLibraryFilePathList__C5_std_string_R1,
547                  "Set the library file path using a single string delimited either with ';' (Windows) or ':' (All other platforms), which is used when search for data files. ",
548                  "");
549        I_Method0(osgDB::FilePathList &, getLibraryFilePathList,
550                  Properties::NON_VIRTUAL,
551                  __FilePathList_R1__getLibraryFilePathList,
552                  "get the library file path which is used when search for library (dso/dll's) files. ",
553                  "");
554        I_Method0(const osgDB::FilePathList &, getLibraryFilePathList,
555                  Properties::NON_VIRTUAL,
556                  __C5_FilePathList_R1__getLibraryFilePathList,
557                  "get the const library file path which is used when search for library (dso/dll's) files. ",
558                  "");
559        I_Method1(void, updateTimeStampOfObjectsInCacheWithExternalReferences, IN, const osg::FrameStamp &, frameStamp,
560                  Properties::NON_VIRTUAL,
561                  __void__updateTimeStampOfObjectsInCacheWithExternalReferences__C5_osg_FrameStamp_R1,
562                  "For each object in the cache which has an reference count greater than 1 (and therefore referenced by elsewhere in the application) set the time stamp for that object in the cache to specified time. ",
563                  "This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required. The time used is taken from the FrameStamp::getReferenceTime(). ");
564        I_Method1(void, removeExpiredObjectsInCache, IN, const osg::FrameStamp &, frameStamp,
565                  Properties::NON_VIRTUAL,
566                  __void__removeExpiredObjectsInCache__C5_osg_FrameStamp_R1,
567                  "Removed object in the cache which have a time stamp at or before the specified expiry time. ",
568                  "This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required, and called after the a called after the call to updateTimeStampOfObjectsInCacheWithExternalReferences(frameStamp). ");
569        I_Method1(void, setExpiryDelay, IN, double, expiryDelay,
570                  Properties::NON_VIRTUAL,
571                  __void__setExpiryDelay__double,
572                  "set hint to viewer code calling removeExpiredObjectsInCache to specify how long it should give before expiring objects in Registry cache, ",
573                  "");
574        I_Method0(double, getExpiryDelay,
575                  Properties::NON_VIRTUAL,
576                  __double__getExpiryDelay,
577                  "",
578                  "");
579        I_Method0(void, clearObjectCache,
580                  Properties::NON_VIRTUAL,
581                  __void__clearObjectCache,
582                  "Remove all objects in the cache regardless of having external references or expiry times. ",
583                  "");
584        I_MethodWithDefaults3(void, addEntryToObjectCache, IN, const std::string &, filename, , IN, osg::Object *, object, , IN, double, timestamp, 0.0,
585                              Properties::NON_VIRTUAL,
586                              __void__addEntryToObjectCache__C5_std_string_R1__osg_Object_P1__double,
587                              "Add a filename,object,timestamp triple to the Registry::ObjectCache. ",
588                              "");
589        I_Method1(osg::Object *, getFromObjectCache, IN, const std::string &, fileName,
590                  Properties::NON_VIRTUAL,
591                  __osg_Object_P1__getFromObjectCache__C5_std_string_R1,
592                  "Get an object from the object cache. ",
593                  "");
594        I_Method2(void, addToArchiveCache, IN, const std::string &, fileName, IN, osgDB::Archive *, archive,
595                  Properties::NON_VIRTUAL,
596                  __void__addToArchiveCache__C5_std_string_R1__osgDB_Archive_P1,
597                  "Add archive to archive cache so that future calls reference this archive. ",
598                  "");
599        I_Method1(void, removeFromArchiveCache, IN, const std::string &, fileName,
600                  Properties::NON_VIRTUAL,
601                  __void__removeFromArchiveCache__C5_std_string_R1,
602                  "Remove archive from cache. ",
603                  "");
604        I_Method1(osgDB::Archive *, getFromArchiveCache, IN, const std::string &, fileName,
605                  Properties::NON_VIRTUAL,
606                  __osgDB_Archive_P1__getFromArchiveCache__C5_std_string_R1,
607                  "Get an archive from the archive cache. ",
608                  "");
609        I_Method0(void, clearArchiveCache,
610                  Properties::NON_VIRTUAL,
611                  __void__clearArchiveCache,
612                  "Remove all archives from the archive cache. ",
613                  "");
614        I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
615                              Properties::NON_VIRTUAL,
616                              __void__releaseGLObjects__osg_State_P1,
617                              "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
618                              "Otherwise, releases OpenGL objexts for all graphics contexts. ");
619        I_Method1(osgDB::DynamicLibrary *, getLibrary, IN, const std::string &, fileName,
620                  Properties::NON_VIRTUAL,
621                  __DynamicLibrary_P1__getLibrary__C5_std_string_R1,
622                  "get the attached library with specified name. ",
623                  "");
624        I_Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager,
625                  Properties::NON_VIRTUAL,
626                  __void__setSharedStateManager__SharedStateManager_P1,
627                  "Set the SharedStateManager. ",
628                  "");
629        I_Method0(osgDB::SharedStateManager *, getOrCreateSharedStateManager,
630                  Properties::NON_VIRTUAL,
631                  __SharedStateManager_P1__getOrCreateSharedStateManager,
632                  "Get the SharedStateManager, creating one if one is not already created. ",
633                  "");
634        I_Method0(osgDB::SharedStateManager *, getSharedStateManager,
635                  Properties::NON_VIRTUAL,
636                  __SharedStateManager_P1__getSharedStateManager,
637                  "Get the SharedStateManager. ",
638                  "Return 0 if no SharedStateManager has been assigned. ");
639        I_Method1(void, addArchiveExtension, IN, const std::string, ext,
640                  Properties::NON_VIRTUAL,
641                  __void__addArchiveExtension__C5_std_string,
642                  "Add an Archive extension. ",
643                  "");
644        I_Method1(void, registerProtocol, IN, const std::string &, protocol,
645                  Properties::NON_VIRTUAL,
646                  __void__registerProtocol__C5_std_string_R1,
647                  "registers a protocol ",
648                  "");
649        I_Method1(bool, isProtocolRegistered, IN, const std::string &, protocol,
650                  Properties::NON_VIRTUAL,
651                  __bool__isProtocolRegistered__C5_std_string_R1,
652                  "returns true, if named protocol is registered ",
653                  "");
654        I_ProtectedConstructor0(____Registry,
655                                "constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed ",
656                                "");
657
658
659
660        I_ProtectedMethod0(void, destruct,
661                           Properties::NON_VIRTUAL,
662                           Properties::NON_CONST,
663                           __void__destruct,
664                           "",
665                           "");
666        I_ProtectedMethod1(osgDB::ReaderWriter::ReadResult, read, IN, const osgDB::Registry::ReadFunctor &, readFunctor,
667                           Properties::NON_VIRTUAL,
668                           Properties::NON_CONST,
669                           __ReaderWriter_ReadResult__read__C5_ReadFunctor_R1,
670                           "",
671                           "");
672        I_ProtectedMethod2(osgDB::ReaderWriter::ReadResult, readImplementation, IN, const osgDB::Registry::ReadFunctor &, readFunctor, IN, osgDB::Options::CacheHintOptions, cacheHint,
673                           Properties::NON_VIRTUAL,
674                           Properties::NON_CONST,
675                           __ReaderWriter_ReadResult__readImplementation__C5_ReadFunctor_R1__Options_CacheHintOptions,
676                           "",
677                           "");
678        I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap,
679                         __AuthenticationMap_P1__getAuthenticationMap,
680                         __void__setAuthenticationMap__AuthenticationMap_P1);
681        I_SimpleProperty(osgDB::Options::BuildKdTreesHint, BuildKdTreesHint,
682                         __Options_BuildKdTreesHint__getBuildKdTreesHint,
683                         __void__setBuildKdTreesHint__Options_BuildKdTreesHint);
684        I_SimpleProperty(bool, CreateNodeFromImage,
685                         __bool__getCreateNodeFromImage,
686                         __void__setCreateNodeFromImage__bool);
687        I_SimpleProperty(const osgDB::FilePathList &, DataFilePathList,
688                         __C5_FilePathList_R1__getDataFilePathList,
689                         __void__setDataFilePathList__C5_FilePathList_R1);
690        I_SimpleProperty(double, ExpiryDelay,
691                         __double__getExpiryDelay,
692                         __void__setExpiryDelay__double);
693        I_SimpleProperty(osgDB::FileCache *, FileCache,
694                         __FileCache_P1__getFileCache,
695                         __void__setFileCache__FileCache_P1);
696        I_SimpleProperty(osgDB::Registry::FileLocationCallback *, FileLocationCallback,
697                         __FileLocationCallback_P1__getFileLocationCallback,
698                         __void__setFileLocationCallback__FileLocationCallback_P1);
699        I_SimpleProperty(osgDB::Registry::FindFileCallback *, FindFileCallback,
700                         __FindFileCallback_P1__getFindFileCallback,
701                         __void__setFindFileCallback__FindFileCallback_P1);
702        I_SimpleProperty(osg::KdTreeBuilder *, KdTreeBuilder,
703                         __osg_KdTreeBuilder_P1__getKdTreeBuilder,
704                         __void__setKdTreeBuilder__osg_KdTreeBuilder_P1);
705        I_SimpleProperty(const osgDB::FilePathList &, LibraryFilePathList,
706                         __C5_FilePathList_R1__getLibraryFilePathList,
707                         __void__setLibraryFilePathList__C5_FilePathList_R1);
708        I_SimpleProperty(osgDB::Options *, Options,
709                         __Options_P1__getOptions,
710                         __void__setOptions__Options_P1);
711        I_SimpleProperty(osgDB::Registry::ReadFileCallback *, ReadFileCallback,
712                         __ReadFileCallback_P1__getReadFileCallback,
713                         __void__setReadFileCallback__ReadFileCallback_P1);
714        I_SimpleProperty(osgDB::Registry::ReaderWriterList &, ReaderWriterList,
715                         __ReaderWriterList_R1__getReaderWriterList,
716                         0);
717        I_SimpleProperty(osgDB::SharedStateManager *, SharedStateManager,
718                         __SharedStateManager_P1__getSharedStateManager,
719                         __void__setSharedStateManager__SharedStateManager_P1);
720        I_SimpleProperty(osgDB::Registry::WriteFileCallback *, WriteFileCallback,
721                         __WriteFileCallback_P1__getWriteFileCallback,
722                         __void__setWriteFileCallback__WriteFileCallback_P1);
723END_REFLECTOR
724
725BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Registry::ReadFunctor)
726        I_DeclaringFile("osgDB/Registry");
727        I_Constructor2(IN, const std::string &, filename, IN, const osgDB::Options *, options,
728                       ____ReadFunctor__C5_std_string_R1__C5_Options_P1,
729                       "",
730                       "");
731        I_Method1(osgDB::ReaderWriter::ReadResult, doRead, IN, osgDB::ReaderWriter &, rw,
732                  Properties::PURE_VIRTUAL,
733                  __ReaderWriter_ReadResult__doRead__ReaderWriter_R1,
734                  "",
735                  "");
736        I_Method1(bool, isValid, IN, osgDB::ReaderWriter::ReadResult &, readResult,
737                  Properties::PURE_VIRTUAL,
738                  __bool__isValid__ReaderWriter_ReadResult_R1,
739                  "",
740                  "");
741        I_Method1(bool, isValid, IN, osg::Object *, object,
742                  Properties::PURE_VIRTUAL,
743                  __bool__isValid__osg_Object_P1,
744                  "",
745                  "");
746        I_PublicMemberProperty(std::string, _filename);
747END_REFLECTOR
748
749BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::ReaderWriter >)
750        I_DeclaringFile("osg/ref_ptr");
751        I_Constructor0(____ref_ptr,
752                       "",
753                       "");
754        I_Constructor1(IN, osgDB::ReaderWriter *, ptr,
755                       Properties::NON_EXPLICIT,
756                       ____ref_ptr__T_P1,
757                       "",
758                       "");
759        I_Constructor1(IN, const osg::ref_ptr< osgDB::ReaderWriter > &, rp,
760                       Properties::NON_EXPLICIT,
761                       ____ref_ptr__C5_ref_ptr_R1,
762                       "",
763                       "");
764        I_Method0(osgDB::ReaderWriter *, get,
765                  Properties::NON_VIRTUAL,
766                  __T_P1__get,
767                  "",
768                  "");
769        I_Method0(bool, valid,
770                  Properties::NON_VIRTUAL,
771                  __bool__valid,
772                  "",
773                  "");
774        I_Method0(osgDB::ReaderWriter *, release,
775                  Properties::NON_VIRTUAL,
776                  __T_P1__release,
777                  "",
778                  "");
779        I_Method1(void, swap, IN, osg::ref_ptr< osgDB::ReaderWriter > &, rp,
780                  Properties::NON_VIRTUAL,
781                  __void__swap__ref_ptr_R1,
782                  "",
783                  "");
784        I_SimpleProperty(osgDB::ReaderWriter *, ,
785                         __T_P1__get,
786                         0);
787END_REFLECTOR
788
789STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >)
Note: See TracBrowser for help on using the browser.