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

Grapher command class. More...

#include <ilviews/grapher/commands.h>

Inheritance diagram for IlvAddNodeCommand:
IlvManagerCommand IlvCommand IlvAction

Public Member Functions

 IlvAddNodeCommand (IlvManager *grapher, IlvGraphic *obj, int layer=0)
 Constructor. More...
 

Detailed Description

Grapher command class.

Library: ilvgrapher

The class IlvAddNodeCommand is a subclass of IlvManagerCommand. IlvAddNodeCommand must be instantiated once a node 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

IlvAddNodeCommand::IlvAddNodeCommand ( IlvManager grapher,
IlvGraphic obj,
int  layer = 0 
)

Constructor.

Parameters
grapherThe grapher to which the object and the command are added.
objThe added node 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.