256 lines
11 KiB
HTML
256 lines
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGDB_EXPORT osgDB::Output</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGDB_EXPORT <A HREF="#DOC.DOCU">osgDB::Output</A></H2></H2><BLOCKQUOTE>ofstream wrapper class for adding support for indenting.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mstd::ofstream,M,COutput,MOutput.html">
|
|
<param name=before value="M,M">
|
|
<param name=after value="Md_,M">
|
|
<param name=indent value="0,1">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Classes</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.35.19">PathNameHint</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.35.1">Output</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.35.2">Output</A></B>(const char* name)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.35.3">~Output</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.4">open</A></B>(const char* name)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Output.html">Output</A>& <B><A HREF="#DOC.2.35.5">indent</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.35.6">wrapString</A></B>(const std::string& str)
|
|
<DD><I>wrap a string with "" quotes and use \" for any internal quotes</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.35.7">setIndentStep</A></B>(int step)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.35.8">getIndentStep</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.35.9">setIndent</A></B>(int <!1><A HREF="Output.html#DOC.2.35.5">indent</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.35.10">getIndent</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.35.11">setNumIndicesPerLine</A></B>(int num)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.35.12">getNumIndicesPerLine</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.13">moveIn</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.14">moveOut</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.35.15">writeObject</A></B>(const osg::Object& obj)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.35.16">getUniqueIDForObject</A></B>(const osg::Object* obj, std::string& uniqueID)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.35.17">createUniqueIDForObject</A></B>(const osg::Object* obj, std::string& uniqueID)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.35.18">registerUniqueIDForObject</A></B>(const osg::Object* obj, std::string& uniqueID)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.35.20">setPathNameHint</A></B>(const <!1><A HREF="Output.html#DOC.2.35.19">PathNameHint</A> pnh)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Output.html#DOC.2.35.19">PathNameHint</A> <B><A HREF="#DOC.2.35.21">getPathNameHint</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual std::string <B><A HREF="#DOC.2.35.22">getFileNameForOutput</A></B>(const std::string& filename) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.35.24">_indent</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.35.25">_indentStep</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.35.26">_numIndicesPerLine</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Output.html#DOC.2.35.27">UniqueIDToLabelMapping</A> <B><A HREF="#DOC.2.35.28">_objectToUniqueIDMap</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.35.29">_filename</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Output.html#DOC.2.35.19">PathNameHint</A> <B><A HREF="#DOC.2.35.30">_pathNameHint</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.35.23">init</A></B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map<const osg::Object*,std::string> <B><A HREF="#DOC.2.35.27">UniqueIDToLabelMapping</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>ofstream wrapper class for adding support for indenting.
|
|
Used in output of .osg ASCII files to improve their readability.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="Output"></A>
|
|
<A NAME="DOC.2.35.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Output()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="Output"></A>
|
|
<A NAME="DOC.2.35.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Output(const char* name)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Output"></A>
|
|
<A NAME="DOC.2.35.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Output()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="open"></A>
|
|
<A NAME="DOC.2.35.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void open(const char* name)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="indent"></A>
|
|
<A NAME="DOC.2.35.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Output.html">Output</A>& indent()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="wrapString"></A>
|
|
<A NAME="DOC.2.35.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string wrapString(const std::string& str)</B></TT>
|
|
<DD>wrap a string with "" quotes and use \" for any internal quotes
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setIndentStep"></A>
|
|
<A NAME="DOC.2.35.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setIndentStep(int step)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getIndentStep"></A>
|
|
<A NAME="DOC.2.35.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getIndentStep() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setIndent"></A>
|
|
<A NAME="DOC.2.35.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setIndent(int <!1><A HREF="Output.html#DOC.2.35.5">indent</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getIndent"></A>
|
|
<A NAME="DOC.2.35.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getIndent() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNumIndicesPerLine"></A>
|
|
<A NAME="DOC.2.35.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setNumIndicesPerLine(int num)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumIndicesPerLine"></A>
|
|
<A NAME="DOC.2.35.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getNumIndicesPerLine() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="moveIn"></A>
|
|
<A NAME="DOC.2.35.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void moveIn()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="moveOut"></A>
|
|
<A NAME="DOC.2.35.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void moveOut()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeObject"></A>
|
|
<A NAME="DOC.2.35.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool writeObject(const osg::Object& obj)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUniqueIDForObject"></A>
|
|
<A NAME="DOC.2.35.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="createUniqueIDForObject"></A>
|
|
<A NAME="DOC.2.35.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="registerUniqueIDForObject"></A>
|
|
<A NAME="DOC.2.35.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="PathNameHint"></A>
|
|
<A NAME="DOC.2.35.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum PathNameHint</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="AS_IS"></A>
|
|
<A NAME="DOC.2.35.19.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> AS_IS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FULL_PATH"></A>
|
|
<A NAME="DOC.2.35.19.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FULL_PATH</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="RELATIVE_PATH"></A>
|
|
<A NAME="DOC.2.35.19.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RELATIVE_PATH</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FILENAME_ONLY"></A>
|
|
<A NAME="DOC.2.35.19.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FILENAME_ONLY</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="setPathNameHint"></A>
|
|
<A NAME="DOC.2.35.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setPathNameHint(const <!1><A HREF="Output.html#DOC.2.35.19">PathNameHint</A> pnh)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPathNameHint"></A>
|
|
<A NAME="DOC.2.35.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Output.html#DOC.2.35.19">PathNameHint</A> getPathNameHint() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFileNameForOutput"></A>
|
|
<A NAME="DOC.2.35.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual std::string getFileNameForOutput(const std::string& filename) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="init"></A>
|
|
<A NAME="DOC.2.35.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void init()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_indent"></A>
|
|
<A NAME="DOC.2.35.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _indent</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_indentStep"></A>
|
|
<A NAME="DOC.2.35.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _indentStep</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numIndicesPerLine"></A>
|
|
<A NAME="DOC.2.35.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numIndicesPerLine</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="UniqueIDToLabelMapping"></A>
|
|
<A NAME="DOC.2.35.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_objectToUniqueIDMap"></A>
|
|
<A NAME="DOC.2.35.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Output.html#DOC.2.35.27">UniqueIDToLabelMapping</A> _objectToUniqueIDMap</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_filename"></A>
|
|
<A NAME="DOC.2.35.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _filename</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_pathNameHint"></A>
|
|
<A NAME="DOC.2.35.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Output.html#DOC.2.35.19">PathNameHint</A> _pathNameHint</B></TT>
|
|
<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://www.linuxsupportline.com/~doc++">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|