rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGraphOutputFile Class Reference

Grapher output handling. More...

#include <ilviews/grapher/io.h>

Inheritance diagram for IlvGraphOutputFile:
IlvManagerOutputFile IlvOutputFile

List of all members.

Public Member Functions

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

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:
stream The output stream.
grp The 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:
obj The object to write.

Reimplemented from IlvManagerOutputFile.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends

© 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.