Rogue Wave Views Grapher Package API Reference Guide |
Rogue Wave Views Documentation Home |
Grapher input handling. More...
#include <ilviews/grapher/io.h>
Public Member Functions | |
IlvGraphInputFile (std::istream &stream, IlvGrapher *grapher=0) | |
Constructor. More... | |
virtual IlvGraphic * | readObject () |
Reads an object from the input stream. More... | |
Grapher input handling.
Library: ilvgrapher
This subclass of IlvManagerInputFile
lets you read graphs (sets of IlvGraphic
objects including nodes and links) from a stream and store them in an IlvGrapher
instance.
IlvGraphOutputFile
. IlvGraphInputFile::IlvGraphInputFile | ( | std::istream & | stream, |
IlvGrapher * | grapher = 0 |
||
) |
Constructor.
The constructor associates the stream stream and the grapher grp with the new IlvGraphInputFile
instance.
stream | The input stream. |
grapher | The associated IlvGrapher instance. |
|
virtual |
Reads an object from the input stream.
Overloads the member function defined for the IlvManagerInputFile
class. It adds information specific to each object in 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 internally called by the IlvManagerInputFile::readAll()
method and is not to be called directly by the programmer.
Reimplemented from IlvManagerInputFile.
© 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.