Rogue Wave Views Prototypes Package API Reference Guide |
Rogue Wave Views Documentation Home |
Main class for writing groups to a stream. More...
#include <ilviews/protos/groupio.h>
Public Member Functions | |
void | addIndent (int d) |
Adds d to the current indentation level of the output context. More... | |
ostream & | getStream () |
Returns the output stream associated with this context. More... | |
void | indent () |
Outputs blank characters corresponding to the current indentation level of the output context. | |
void | writeValue (const IlSymbol *s) |
See below. More... | |
void | writeValue (const char *string) |
Lets you safely write strings that may contain special characters. More... | |
Public Member Functions inherited from IlvGroupFile | |
IlFloat | getVersion () |
Returns the file version. More... | |
void | setVersion (IlFloat v) |
Lets you set the version of an output file in order to write files compatible with previous versions of the prototypes library. More... | |
Friends | |
class | IlvGroup |
class | IlvGroupNode |
class | IlvSubGroupNode |
Main class for writing groups to a stream.
Library: ilvproto
Group files should not be created directly by the application. They are generated internally by methods of other prototypes library classes. You will never need to use this class directly, unless you write new IlvGroupNode
subclasses.
void IlvGroupOutputFile::addIndent | ( | int | d | ) |
Adds d to the current indentation level of the output context.
d | Current indent level. |
ostream& IlvGroupOutputFile::getStream | ( | ) |
Returns the output stream associated with this context.
void IlvGroupOutputFile::writeValue | ( | const IlSymbol * | s | ) |
See below.
s | Symbol to write. |
void IlvGroupOutputFile::writeValue | ( | const char * | string | ) |
Lets you safely write strings that may contain special characters.
These member functions allow you to safely write a character string to an IlvGroupFile
. The string is placed between quotation marks if it contains special characters. The accessor parameters should be saved using this method rather than the ostream::operator <<(const char*)
operator. This lets you read them back in.
string | String to write. |
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.