346 lines
20 KiB
HTML
346 lines
20 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGDB_EXPORT osgDB::Registry</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGDB_EXPORT <A HREF="#DOC.DOCU">osgDB::Registry</A></H2></H2><BLOCKQUOTE> Registry is a singleton factory which stores the reader/writers which are linked in at runtime for reading non-native file formats.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static <!1><A HREF="Registry.html">Registry</A>* <B><A HREF="#DOC.2.36.1">instance</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.36.2">~Registry</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.3">readCommandLine</A></B>(std::vector<std::string>& commandLine)
|
|
<DD><I>read the command line string list, removing any matched control sequences</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.4">addFileExtensionAlias</A></B>(const std::string mapExt, const std::string toExt)
|
|
<DD><I>register an fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.5">addDotOsgWrapper</A></B>(<!1><A HREF="DotOsgWrapper.html">DotOsgWrapper</A>* wrapper)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.6">removeDotOsgWrapper</A></B>(<!1><A HREF="DotOsgWrapper.html">DotOsgWrapper</A>* wrapper)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.7">addReaderWriter</A></B>(<!1><A HREF="ReaderWriter.html">ReaderWriter</A>* rw)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.8">removeReaderWriter</A></B>(<!1><A HREF="ReaderWriter.html">ReaderWriter</A>* rw)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.36.9">createLibraryNameForFile</A></B>(const std::string& fileName)
|
|
<DD><I>create the platform specific library name associated with file</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.36.10">createLibraryNameForExt</A></B>(const std::string& ext)
|
|
<DD><I>create the platform specific library name associated with file extension</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.36.11">createLibraryNameForNodeKit</A></B>(const std::string& name)
|
|
<DD><I>create the platform specific library name associated with nodekit library name</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.36.12">loadLibrary</A></B>(const std::string& fileName)
|
|
<DD><I>find the library in the SG_LIBRARY_PATH and load it</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.36.13">closeLibrary</A></B>(const std::string& fileName)
|
|
<DD><I>close the attached library with specified name</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Object* <B><A HREF="#DOC.2.36.14">readObjectOfType</A></B>(const osg::Object& compObj, <!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Object* <B><A HREF="#DOC.2.36.15">readObject</A></B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Image* <B><A HREF="#DOC.2.36.16">readImage</A></B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Drawable* <B><A HREF="#DOC.2.36.17">readDrawable</A></B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::StateAttribute* <B><A HREF="#DOC.2.36.18">readStateAttribute</A></B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Node* <B><A HREF="#DOC.2.36.19">readNode</A></B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.36.20">writeObject</A></B>(const osg::Object& obj, <!1><A HREF="Output.html">Output</A>& fw)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::ReadResult <B><A HREF="#DOC.2.36.21">readObject</A></B>(const std::string& fileName)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::WriteResult <B><A HREF="#DOC.2.36.22">writeObject</A></B>(const osg::Object& obj, const std::string& fileName)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::ReadResult <B><A HREF="#DOC.2.36.23">readImage</A></B>(const std::string& fileName)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::WriteResult <B><A HREF="#DOC.2.36.24">writeImage</A></B>(const osg::Image& obj, const std::string& fileName)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::ReadResult <B><A HREF="#DOC.2.36.25">readNode</A></B>(const std::string& fileName)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::WriteResult <B><A HREF="#DOC.2.36.26">writeNode</A></B>(const osg::Node& node, const std::string& fileName)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.27">setCreateNodeFromImage</A></B>(bool flag)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.36.28">getCreateNodeFromImage</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.29">setOptions</A></B>(ReaderWriter::Options* opt)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ReaderWriter::Options* <B><A HREF="#DOC.2.36.30">getOptions</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const ReaderWriter::Options* <B><A HREF="#DOC.2.36.31">getOptions</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.32">initFilePathLists</A></B>()
|
|
<DD><I>initilize 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</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.33">initDataFilePathList</A></B>()
|
|
<DD><I>initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.34">setDataFilePathList</A></B>(const <!1><A HREF="FilePathList.html">FilePathList</A>& filepath)
|
|
<DD><I>Set the data file path using a list of paths stored in a FilePath, which is used when search for data files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.35">setDataFilePathList</A></B>(const std::string& paths)
|
|
<DD><I>Set the data file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FilePathList.html">FilePathList</A>& <B><A HREF="#DOC.2.36.36">getDataFilePathList</A></B>()
|
|
<DD><I>get the data file path which is used when search for data files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="FilePathList.html">FilePathList</A>& <B><A HREF="#DOC.2.36.37">getDataFilePathList</A></B>() const
|
|
<DD><I>get the const data file path which is used when search for data files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.38">initLibraryFilePathList</A></B>()
|
|
<DD><I>initilize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.39">setLibraryFilePathList</A></B>(const <!1><A HREF="FilePathList.html">FilePathList</A>& filepath)
|
|
<DD><I>Set the library file path using a list of paths stored in a FilePath, which is used when search for data files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.36.40">setLibraryFilePathList</A></B>(const std::string& paths)
|
|
<DD><I>Set the library file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FilePathList.html">FilePathList</A>& <B><A HREF="#DOC.2.36.41">getLibraryFilePathList</A></B>()
|
|
<DD><I>get the library file path which is used when search for library (dso/dll's) files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="FilePathList.html">FilePathList</A>& <B><A HREF="#DOC.2.36.42">getLibraryFilePathList</A></B>() const
|
|
<DD><I>get the const library file path which is used when search for library (dso/dll's) files</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.36.43">convertStringPathIntoFilePathList</A></B>(const std::string& paths, <!1><A HREF="FilePathList.html">FilePathList</A>& filepath)
|
|
<DD><I>convert a string containing a list of paths deliminated either with ';' (Windows) or ':' (All other platforms) into FilePath represetation</I>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>
|
|
Registry is a singleton factory which stores
|
|
the reader/writers which are linked in
|
|
at runtime for reading non-native file formats.
|
|
|
|
<P>The RegisterDotOsgWrapperProxy can be used to automatically register
|
|
DotOsgWrappers, at runtime with the Registry. A DotOsgWrapper encapsulates
|
|
the functions that can read and write to the .osg for each osg::Object.
|
|
|
|
<P>The RegisterReaderWriterProxy can be used to automatically
|
|
register at runtime a reader/writer with the Registry.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="instance"></A>
|
|
<A NAME="DOC.2.36.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="Registry.html">Registry</A>* instance()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Registry"></A>
|
|
<A NAME="DOC.2.36.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~Registry()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readCommandLine"></A>
|
|
<A NAME="DOC.2.36.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void readCommandLine(std::vector<std::string>& commandLine)</B></TT>
|
|
<DD>read the command line string list, removing any matched control sequences
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addFileExtensionAlias"></A>
|
|
<A NAME="DOC.2.36.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addFileExtensionAlias(const std::string mapExt, const std::string toExt)</B></TT>
|
|
<DD>register an fileextension alias to mapExt toExt, the later
|
|
should the the extension name of the readerwriter plugin library.
|
|
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.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addDotOsgWrapper"></A>
|
|
<A NAME="DOC.2.36.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addDotOsgWrapper(<!1><A HREF="DotOsgWrapper.html">DotOsgWrapper</A>* wrapper)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="removeDotOsgWrapper"></A>
|
|
<A NAME="DOC.2.36.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void removeDotOsgWrapper(<!1><A HREF="DotOsgWrapper.html">DotOsgWrapper</A>* wrapper)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addReaderWriter"></A>
|
|
<A NAME="DOC.2.36.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addReaderWriter(<!1><A HREF="ReaderWriter.html">ReaderWriter</A>* rw)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="removeReaderWriter"></A>
|
|
<A NAME="DOC.2.36.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void removeReaderWriter(<!1><A HREF="ReaderWriter.html">ReaderWriter</A>* rw)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="createLibraryNameForFile"></A>
|
|
<A NAME="DOC.2.36.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string createLibraryNameForFile(const std::string& fileName)</B></TT>
|
|
<DD>create the platform specific library name associated with file
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="createLibraryNameForExt"></A>
|
|
<A NAME="DOC.2.36.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string createLibraryNameForExt(const std::string& ext)</B></TT>
|
|
<DD>create the platform specific library name associated with file extension
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="createLibraryNameForNodeKit"></A>
|
|
<A NAME="DOC.2.36.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string createLibraryNameForNodeKit(const std::string& name)</B></TT>
|
|
<DD>create the platform specific library name associated with nodekit library name
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="loadLibrary"></A>
|
|
<A NAME="DOC.2.36.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool loadLibrary(const std::string& fileName)</B></TT>
|
|
<DD>find the library in the SG_LIBRARY_PATH and load it
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="closeLibrary"></A>
|
|
<A NAME="DOC.2.36.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool closeLibrary(const std::string& fileName)</B></TT>
|
|
<DD>close the attached library with specified name
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readObjectOfType"></A>
|
|
<A NAME="DOC.2.36.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Object* readObjectOfType(const osg::Object& compObj, <!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readObject"></A>
|
|
<A NAME="DOC.2.36.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Object* readObject(<!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readImage"></A>
|
|
<A NAME="DOC.2.36.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Image* readImage(<!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readDrawable"></A>
|
|
<A NAME="DOC.2.36.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Drawable* readDrawable(<!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readStateAttribute"></A>
|
|
<A NAME="DOC.2.36.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::StateAttribute* readStateAttribute(<!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readNode"></A>
|
|
<A NAME="DOC.2.36.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Node* readNode(<!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeObject"></A>
|
|
<A NAME="DOC.2.36.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool writeObject(const osg::Object& obj, <!1><A HREF="Output.html">Output</A>& fw)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readObject"></A>
|
|
<A NAME="DOC.2.36.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::ReadResult readObject(const std::string& fileName)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeObject"></A>
|
|
<A NAME="DOC.2.36.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readImage"></A>
|
|
<A NAME="DOC.2.36.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::ReadResult readImage(const std::string& fileName)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeImage"></A>
|
|
<A NAME="DOC.2.36.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readNode"></A>
|
|
<A NAME="DOC.2.36.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::ReadResult readNode(const std::string& fileName)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeNode"></A>
|
|
<A NAME="DOC.2.36.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCreateNodeFromImage"></A>
|
|
<A NAME="DOC.2.36.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCreateNodeFromImage(bool flag)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCreateNodeFromImage"></A>
|
|
<A NAME="DOC.2.36.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getCreateNodeFromImage() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setOptions"></A>
|
|
<A NAME="DOC.2.36.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setOptions(ReaderWriter::Options* opt)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getOptions"></A>
|
|
<A NAME="DOC.2.36.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ReaderWriter::Options* getOptions()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getOptions"></A>
|
|
<A NAME="DOC.2.36.31"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const ReaderWriter::Options* getOptions() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="initFilePathLists"></A>
|
|
<A NAME="DOC.2.36.32"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void initFilePathLists()</B></TT>
|
|
<DD>initilize 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
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="initDataFilePathList"></A>
|
|
<A NAME="DOC.2.36.33"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void initDataFilePathList()</B></TT>
|
|
<DD>initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setDataFilePathList"></A>
|
|
<A NAME="DOC.2.36.34"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDataFilePathList(const <!1><A HREF="FilePathList.html">FilePathList</A>& filepath)</B></TT>
|
|
<DD>Set the data file path using a list of paths stored in a FilePath, which is used when search for data files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setDataFilePathList"></A>
|
|
<A NAME="DOC.2.36.35"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDataFilePathList(const std::string& paths)</B></TT>
|
|
<DD>Set the data file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getDataFilePathList"></A>
|
|
<A NAME="DOC.2.36.36"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FilePathList.html">FilePathList</A>& getDataFilePathList()</B></TT>
|
|
<DD>get the data file path which is used when search for data files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getDataFilePathList"></A>
|
|
<A NAME="DOC.2.36.37"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="FilePathList.html">FilePathList</A>& getDataFilePathList() const </B></TT>
|
|
<DD>get the const data file path which is used when search for data files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="initLibraryFilePathList"></A>
|
|
<A NAME="DOC.2.36.38"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void initLibraryFilePathList()</B></TT>
|
|
<DD>initilize the Library FilePath by reading the OSG_LIBRARY_PATH
|
|
and the appropriate system environmental variables
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setLibraryFilePathList"></A>
|
|
<A NAME="DOC.2.36.39"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLibraryFilePathList(const <!1><A HREF="FilePathList.html">FilePathList</A>& filepath)</B></TT>
|
|
<DD>Set the library file path using a list of paths stored in a FilePath, which is used when search for data files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setLibraryFilePathList"></A>
|
|
<A NAME="DOC.2.36.40"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLibraryFilePathList(const std::string& paths)</B></TT>
|
|
<DD>Set the library file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getLibraryFilePathList"></A>
|
|
<A NAME="DOC.2.36.41"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FilePathList.html">FilePathList</A>& getLibraryFilePathList()</B></TT>
|
|
<DD>get the library file path which is used when search for library (dso/dll's) files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getLibraryFilePathList"></A>
|
|
<A NAME="DOC.2.36.42"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="FilePathList.html">FilePathList</A>& getLibraryFilePathList() const </B></TT>
|
|
<DD>get the const library file path which is used when search for library (dso/dll's) files
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="convertStringPathIntoFilePathList"></A>
|
|
<A NAME="DOC.2.36.43"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void convertStringPathIntoFilePathList(const std::string& paths, <!1><A HREF="FilePathList.html">FilePathList</A>& filepath)</B></TT>
|
|
<DD>convert a string containing a list of paths deliminated either with ';' (Windows) or ':' (All other platforms) into FilePath represetation
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
|
|
<BR>
|
|
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|