rwlogo

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvDeleteObjectsCommand Class Reference

Manager command class. More...

#include <ilviews/manager/commands.h>

Inheritance diagram for IlvDeleteObjectsCommand:
IlvManagerCommand IlvCommand IlvAction

Public Member Functions

 IlvDeleteObjectsCommand (IlvManager *m, IlUInt n, IlvGraphic *const *o, int *layer=0)
 Constructor. More...
 
- Public Member Functions inherited from IlvManagerCommand
 IlvManagerCommand (IlvManager *manager)
 Constructor. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 

Detailed Description

Manager command class.

Library: ilvmgr

The class IlvDeleteObjectsCommand is a subclass of IlvManagerCommand that must be instantiated once several objects have been removed from an 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

IlvDeleteObjectsCommand::IlvDeleteObjectsCommand ( IlvManager m,
IlUInt  n,
IlvGraphic *const *  o,
int *  layer = 0 
)

Constructor.

Parameters
mThe manager from which the objects and commands are removed.
nThe number of removed objects. If this number is 0, the selected objects are removed.
oThe removed objects. These objects will be added again when the command is undone, and deleted if the command is deleted and is considered as not executed (that is, it has not been added to a command history).
layersThe layers from which the objects are removed.

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