rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Prototypes Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvTriggerAccessor Class Reference

Assign a value to another attribute or subattribute of the accessor holder. More...

#include <ilviews/protos/useracc.h>

Inheritance diagram for IlvTriggerAccessor:
IlvUserAccessor IlvAccessor

List of all members.

Public Member Functions

 IlvTriggerAccessor (const char *name, const IlvValueTypeClass *type, const char *from, const char *subacc, IlvDisplay *display=0)
 Creates a new IlvTriggerAccessor.

Protected Member Functions

virtual IlBoolean changeValue (IlvAccessorHolder *object, const IlvValue &val)
 Called by the method IlvAccessible::changeValue for each IlvAccessor attached to the IlvAccessorHolder.

Detailed Description

Assign a value to another attribute or subattribute of the accessor holder.

Library: ilvproto

The IlvTriggerAccessor class is used to set the value of another accessor to a specified value when it is modified.


Constructor & Destructor Documentation

IlvTriggerAccessor::IlvTriggerAccessor ( const char *  name,
const IlvValueTypeClass type,
const char *  from,
const char *  subacc,
IlvDisplay display = 0 
)

Creates a new IlvTriggerAccessor.

subacc is the name of the accessor whose value should be changed. from is the value to which the sub-accessor is changed. from can contain a constant value, the name of another accessor, or an arithmetic expression that can contain accessor names and/or constants). The display parameter can be used when it is necessary to convert values before assigning them.

See also:
IlvUserAccessor::getValue.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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