class SG_EXPORT osg::Output: public ofstream

ofstream wrapper class for adding support for indenting.

Inheritance:


Public Methods

[more] Output()
[more]virtual ~Output()
[more]Output& indent()
[more]int getIndentStep() const
[more]void setIndentStep(int step)
[more]int getIndent() const
[more]void setIndent(int indent)
[more]int getNumIndicesPerLine() const
[more]void setNumIndicesPerLine(int num)
[more]void moveIn()
[more]void moveOut()
[more]bool getUniqueIDForObject(Object* obj, std::string& uniqueID)
[more]bool createUniqueIDForObject(Object* obj, std::string& uniqueID)
[more]bool registerUniqueIDForObject(Object* obj, std::string& uniqueID)

Protected Fields

[more]int _indent
[more]int _indentStep
[more]int _numIndicesPerLine
[more]UniqueIDToLabelMapping _objectToUniqueIDMap

Protected Methods

[more] Output(const Output&)
[more]Output& operator = (const Output&)
[more]virtual void _init()
[more]virtual void _free()

Protected

[more]typedef std::map<Object*,std::string> UniqueIDToLabelMapping


Documentation

ofstream wrapper class for adding support for indenting. Used in output of .osg ASCII files to improve their readability.
o Output()

ovirtual ~Output()

oOutput& indent()

oint getIndentStep() const

ovoid setIndentStep(int step)

oint getIndent() const

ovoid setIndent(int indent)

oint getNumIndicesPerLine() const

ovoid setNumIndicesPerLine(int num)

ovoid moveIn()

ovoid moveOut()

obool getUniqueIDForObject(Object* obj, std::string& uniqueID)

obool createUniqueIDForObject(Object* obj, std::string& uniqueID)

obool registerUniqueIDForObject(Object* obj, std::string& uniqueID)

o Output(const Output&)

oOutput& operator = (const Output&)

ovirtual void _init()

ovirtual void _free()

oint _indent

oint _indentStep

oint _numIndicesPerLine

otypedef std::map<Object*,std::string> UniqueIDToLabelMapping

oUniqueIDToLabelMapping _objectToUniqueIDMap


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.