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
IlvAddLinkCommand Class Reference

Grapher command class. More...

#include <ilviews/grapher/commands.h>

Inheritance diagram for IlvAddLinkCommand:
IlvManagerCommand IlvCommand IlvAction

Public Member Functions

 IlvAddLinkCommand (IlvManager *grapher, IlvLinkImage *obj, int layer=0)
 Constructor. More...
 

Detailed Description

Grapher command class.

Library: ilvgrapher

The class IlvAddLinkCommand is a subclass of IlvManagerCommand. IlvAddLinkCommand must be instantiated once a link object has been added to an IlvGrapher. The IlvGrapher class inherits from IlvManager to record the modification and make it possible to undo or redo it.
This class is provided for compatibility purposes only.

Constructor & Destructor Documentation

IlvAddLinkCommand::IlvAddLinkCommand ( IlvManager grapher,
IlvLinkImage obj,
int  layer = 0 
)

Constructor.

Parameters
grapherThe grapher to which the object and the command are added.
objThe added link object. The object is removed when the command is undone. It is deleted when the command is deleted. It is considered as not executed if it has not been added to a command history.
layerThe layer to which the object is added.

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