rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvGraphOutputFile Class Reference

Grapher output handling. More...

#include <ilviews/grapher/io.h>

Inheritance diagram for IlvGraphOutputFile:
IlvManagerOutputFile IlvOutputFile

Public Member Functions

 IlvGraphOutputFile (ILVSTDPREF ostream &stream, const IlvGrapher *grp=0)
 Constructor. More...
 
virtual void writeObject (const IlvGraphic *obj)
 Writes an object in the output stream. More...
 

Detailed Description

Grapher output handling.

Library: ilvgrapher

This subclass of IlvManagerOutputFile lets you save graphs (sets of IlvGraphic objects including nodes and links) in a stream.

See Also
IlvGraphInputFile.

Constructor & Destructor Documentation

IlvGraphOutputFile::IlvGraphOutputFile ( ILVSTDPREF ostream &  stream,
const IlvGrapher grp = 0 
)

Constructor.

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

Parameters
streamThe output stream.
grpThe associated IlvGrapher instance.

Member Function Documentation

virtual void IlvGraphOutputFile::writeObject ( const IlvGraphic obj)
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.

Parameters
objThe object to write.

Reimplemented from IlvManagerOutputFile.


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