Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::TextOutput::Settings Class Reference

#include <TextOutput.h>

List of all members.

Public Types

enum  NewlineStyle { NEWLINE_WINDOWS, NEWLINE_UNIX }
enum  WordWrapMode { WRAP_NONE, WRAP_WITHOUT_BREAKING, WRAP_ALWAYS }

Public Member Functions

 Settings ()

Public Attributes

bool allowWordWrapInsideDoubleQuotes
bool convertNewlines
std::string falseSymbol
NewlineStyle newlineStyle
int numColumns
int spacesPerIndent
std::string trueSymbol
WordWrapMode wordWrap


Member Enumeration Documentation

Style of newline used by word wrapping and by (optional) conversion.

default: Windows: NEWLINE_WINDOWS, Linux, OS X: NEWLINE_UNIX.

Enumerator:
NEWLINE_WINDOWS 
NEWLINE_UNIX 

WRAP_NONE Word wrapping is disabled WRAP_WITHOUT_BREAKING Word-wrap, but don't break continuous lines that are longer than numColumns (default) WRAP_ALWAYS Wrap even if it means breaking a continuous line or a quoted string.

Word wrapping is only allowed at whitespaces ('
', '', '', ' '); it will not occur after commas, punctuation, minus signs, or any other characters

Enumerator:
WRAP_NONE 
WRAP_WITHOUT_BREAKING 
WRAP_ALWAYS 


Constructor & Destructor Documentation

G3D::TextOutput::Settings::Settings (  )  [inline]


Member Data Documentation

Is word-wrapping allowed to insert newlines inside double quotes? Default: false.

If true, all newlines are converted to NewlineStyle regardless of how they start out.

Default: true.

Used by writeBoolean.

Number of columns for word wrapping.

Default: 8

Number of spaces in each indent.

Default: 4

Used by writeBoolean.

Defaults to WRAP_WITHOUT_BREAKING.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:48 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo