Rogue Wave Views Grapher Package API Reference Guide |
Rogue Wave Views Documentation Home |
Grapher output handling. More...
#include <ilviews/grapher/io.h>
Public Member Functions | |
IlvGraphOutputFile (std::ostream &stream, const IlvGrapher *grapher=0) | |
Constructor. More... | |
virtual void | writeObject (const IlvGraphic *obj) |
Writes an object in the output stream. More... | |
Grapher output handling.
Library: ilvgrapher
This subclass of IlvManagerOutputFile
lets you save graphs (sets of IlvGraphic
objects including nodes and links) in a stream.
IlvGraphInputFile
. IlvGraphOutputFile::IlvGraphOutputFile | ( | std::ostream & | stream, |
const IlvGrapher * | grapher = 0 |
||
) |
Constructor.
The constructor associates the output stream stream and the grapher grp with the new IlvGraphOutputFile
instance.
stream | The output stream. |
grapher | The associated IlvGrapher instance. |
|
virtual |
Writes an object in the output stream.
Adds information specific to each object before its description block. This information includes the layer index as well as the type of the object (node, link, or other type of object). The method is automatically called by the IlvManagerOutputFile::saveAll()
method and is not to be called directly by the programmer.
obj | The object to write. |
Reimplemented from IlvManagerOutputFile.
© Copyright 2018, 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.