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

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