![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Switch a Boolean attribute back and forth between IlTrue and IlFalse.
More...
#include <ilviews/protos/useracc.h>
Public Member Functions | |
| IlvToggleAccessor (const char *name, const IlvValueTypeClass *type, const char *toggleValue) | |
| Creates a new toggle accessor of name name and type type. | |
Protected Member Functions | |
| virtual IlBoolean | changeValue (IlvAccessorHolder *object, const IlvValue &val) |
Called by the method IlvAccessible::changeValue for each IlvAccessor attached to the IlvAccessorHolder. | |
Switch a Boolean attribute back and forth between IlTrue and IlFalse.
Library: ilvproto
| IlvToggleAccessor::IlvToggleAccessor | ( | const char * | name, | |
| const IlvValueTypeClass * | type, | |||
| const char * | toggleValue | |||
| ) |
Creates a new toggle accessor of name name and type type.
When the attribute specified by name is changed, the toggleValue accessor is set to IlFalse if its value was IlTrue, or to IlTrue if it was IlFalse. The real value assigned to this attribute is ignored.
© 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.