rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Prototypes Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvValueArray Class Reference

Array of IlvValue objects. More...

#include <ilviews/protos/value.h>

Public Member Functions

 IlvValueArray ()
 See below.
 
 IlvValueArray (const IlvValueArray &s)
 Creates an array of IlvValue objects. More...
 
void add (IlvValue &v, IlBoolean copy=IlTrue)
 Adds the new value of type IlvValue to the array. More...
 
IlUInt count () const
 Returns the array size. More...
 
IlvValueget (IlUInt i) const
 See below.
 
IlvValuegetValues () const
 Returns the array of values contained in this value array. This pointer must not be freed. More...
 
IlvValueoperator[] (IlUInt i) const
 Returns the value at position i in the array. More...
 

Detailed Description

Array of IlvValue objects.

Library: ilvproto

The IlvValueArray class is used in the prototypes library to hold sets of values. An IlvValueArray is a dynamically allocated array of IlvValue objects.

Constructor & Destructor Documentation

IlvValueArray::IlvValueArray ( const IlvValueArray s)

Creates an array of IlvValue objects.

Parameters
sourceCreates a copy of the source value array.

Member Function Documentation

void IlvValueArray::add ( IlvValue v,
IlBoolean  copy = IlTrue 
)

Adds the new value of type IlvValue to the array.

Parameters
vAdded value.
copyIndicates whether or not the value should be copied.
IlUInt IlvValueArray::count ( ) const

Returns the array size.

Returns
The array size.
IlvValue* IlvValueArray::getValues ( ) const

Returns the array of values contained in this value array. This pointer must not be freed.

Returns
A pointer to the internal array of values.
IlvValue& IlvValueArray::operator[] ( IlUInt  i) const

Returns the value at position i in the array.

Returns
The value at position i in the array.
Parameters
iThe index in the array. No bound checking is performed.

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