rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Prototypes Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvNodeAccessor Class Reference

Reference to another attribute or subattribute of an IlvGroup object. More...

#include <ilviews/protos/useracc.h>

Inheritance diagram for IlvNodeAccessor:
IlvUserAccessor IlvAccessor

List of all members.

Public Member Functions

 IlvNodeAccessor (const char *name, const IlvValueTypeClass *type, const char *subaccessor)
 Creates a new node 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.
virtual IlvValuequeryValue (const IlvAccessorHolder *object, IlvValue &val) const
 Called by the method IlvAccessible::queryValue for each IlvAccessor attached to the IlvAccessorHolder.

Detailed Description

Reference to another attribute or subattribute of an IlvGroup object.

Library: ilvproto

IlvNodeAccessor is used with a group to provide access to a value of one of the nodes in the group at the level of the group itself. It is similar to declaring a pointer variable in a programming language.


Constructor & Destructor Documentation

IlvNodeAccessor::IlvNodeAccessor ( const char *  name,
const IlvValueTypeClass type,
const char *  subaccessor 
)

Creates a new node accessor of name name and type type.

When a changeValue/queryValue call is issued on the group for the value name, the call is forwarded to the nodes attribute or the prototypes value subaccessor.

Parameters:
subaccessor Attribute or subattribute that the node should reference.

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