rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Prototypes Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvValueArray Class Reference

Array of IlvValue objects. More...

#include <ilviews/protos/value.h>

List of all members.

Public Member Functions

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

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:
source Creates 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:
v Added value.
copy Indicates 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:
i The 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.