rwlogo

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvGraphInputFile Class Reference

Grapher input handling. More...

#include <ilviews/grapher/io.h>

Inheritance diagram for IlvGraphInputFile:
IlvManagerInputFile IlvInputFile

Public Member Functions

 IlvGraphInputFile (ILVSTDPREF istream &stream, IlvGrapher *grp=0)
 Constructor. More...
 
virtual IlvGraphicreadObject ()
 Reads an object from the input stream. More...
 

Detailed Description

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.

See Also
IlvGraphOutputFile.

Constructor & Destructor Documentation

IlvGraphInputFile::IlvGraphInputFile ( ILVSTDPREF istream &  stream,
IlvGrapher grp = 0 
)

Constructor.

The constructor associates the stream stream and the grapher grp with the new IlvGraphInputFile instance.

Parameters
streamThe input stream.
grpThe associated IlvGrapher instance.

Member Function Documentation

virtual IlvGraphic* IlvGraphInputFile::readObject ( )
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.

Returns
The graphic object read from the input stream.

Reimplemented from IlvManagerInputFile.


© Copyright 2014, 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.