:: com :: sun :: star :: reflection ::
|
interface XIdlArray |
|
- Description
- Reflects an IDL sequence and provides dynamic access to instances of
that sequence.
This interface supports widening conversion when getting or setting elements.
@attention
Although the name of this interface denotes arrays,
sequences are meant. Don't be obfuscated, arrays are not supported by UNO!
|
Methods' Summary |
realloc |
Rellocates the length of the sequence instance.
|
getLen |
Returns the length of the given sequence.
|
get |
Returns element at given index.
|
set |
Sets a new value at given index.
|
Methods' Details |
realloc
- Description
- Rellocates the length of the sequence instance.
- Parameter array
- sequence instance
@length
new length of sequence
|
|
getLen
- Description
- Returns the length of the given sequence.
- Parameter array
- sequence instance
- Returns
- length of sequence
|
|
get
- Description
- Returns element at given index.
- Parameter aArray
- sequence instance
- Parameter nIndex
- index
- Returns
- value
- Throws
- IllegalArgumentException
if the specified object is not a sequence or if the specified object is null
- Throws
- ArrayIndexOutOfBoundsException
if the specified index argument is negative, or if it is greater than or equal to the
length of the specified sequence.
|
|
set
- Description
- Sets a new value at given index.
- Parameter aArray
- sequence instance
- Parameter nIndex
- index
- Parameter aNewValue
- new value to be set
- Throws
- IllegalArgumentException
if the specified object is not a sequence or if the specified object is null
- Throws
- ArrayIndexOutOfBoundsException
if the specified index argument is negative, or if it is greater than or equal to the
length of the specified sequence.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.