Constructor and Description |
---|
NVList() |
Modifier and Type | Method and Description |
---|---|
abstract NamedValue |
add_item(String a_name,
int a_flags)
Create and add the new named value object with the given
names, given flags and the null value.
|
abstract NamedValue |
add_value(String a_name,
Any a_value,
int a_flags)
Create and add the named value object with the given name,
value and flags.
|
abstract NamedValue |
add(int a_flags)
Create and add a new named value object with null name,
null value and having given flags.
|
abstract int |
count()
Get the number of the present named value pairs.
|
abstract NamedValue |
item(int at)
Get the item at the given index
|
abstract void |
remove(int at)
Remove the item at the given index
|
public NVList()
public abstract NamedValue add(int a_flags)
a_flags
- the flags, the normally expected values are
ARG_IN.value
,
ARG_OUT.value
and
ARG_INOUT.value
or 0.public abstract NamedValue add_item(String a_name, int a_flags)
a_name
- the namea_flags
- the flags, the normally expected values are
ARG_IN.value
,
ARG_OUT.value
and
ARG_INOUT.value
or 0.public abstract NamedValue add_value(String a_name, Any a_value, int a_flags)
a_name
- the namea_value
- the valuea_flags
- the flags, the normally expected values are
ARG_IN.value
,
ARG_OUT.value
and
ARG_INOUT.value
or 0.public abstract int count()
public abstract NamedValue item(int at) throws Bounds
at
- the index.Bounds
- if the index is out of bounds.