public class MFInt32 extends MField
Constructor and Description |
---|
MFInt32()
Default constructor
|
MFInt32(int[] values)
Construct an MFInt32 field.
|
MFInt32(int size,
int[] values)
Construct an MFInt32 field.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(ConstSFInt32 i)
Add a new element at the end of the list.
|
void |
addValue(int i)
Add a new element at the end of the list.
|
void |
addValue(SFInt32 i)
Add a new element at the end of the list.
|
void |
clear()
Removes all fields from the MField.
|
void |
delete(int index)
Deletes a field from the MField.
|
int |
get1Value(int index)
Retrieve a particular element from an MFInt32 field.
|
int |
getSize()
Number of elements contained in the MField.
|
void |
getValue(int[] values)
Retrieves the complete list of integers making up an MFInt32 field.
|
void |
insertValue(int index,
ConstSFInt32 i)
Insert a new element at the specified position.
|
void |
insertValue(int index,
int i)
Insert a new element at the specified position.
|
void |
insertValue(int index,
SFInt32 i)
Insert a new element at the specified position.
|
void |
set1Value(int index,
ConstSFInt32 i)
Set a specified element in the field.
|
void |
set1Value(int index,
int i)
Set a specified element in the field.
|
void |
set1Value(int index,
SFInt32 i)
Set a specified element in the field.
|
void |
setValue(ConstMFInt32 value)
Set the value of the field.
|
void |
setValue(int[] values)
Set the value of the field.
|
void |
setValue(int size,
int[] values)
Set the value of the field.
|
void |
setValue(MFInt32 value)
Set the value of the field.
|
public MFInt32()
public MFInt32(int size, int[] values)
size
- Number of integers to initialize object with.values
- List of integers to initialize object with.public MFInt32(int[] values)
values
- List of integers to initialize object with.public int getSize()
MField
public void clear()
MField
public void delete(int index)
MField
public void getValue(int[] values)
values
- Array to put resulting list of integers in.public int get1Value(int index)
index
- Position of desired element.public void setValue(int[] values)
values
- New value for field.public void setValue(int size, int[] values)
size
- Size of new value for field.values
- New value for field.public void setValue(MFInt32 value)
value
- New value for field.public void setValue(ConstMFInt32 value)
value
- New value for field.public void set1Value(int index, int i)
index
- Position of element to update.i
- New value for element.public void set1Value(int index, ConstSFInt32 i)
index
- Position of element to update.i
- New value for element.public void set1Value(int index, SFInt32 i)
index
- Position of element to update.i
- New value for element.public void addValue(int i)
i
- Element to add.public void addValue(ConstSFInt32 i)
i
- Element to add.public void addValue(SFInt32 i)
i
- Element to add.public void insertValue(int index, int i)
index
- Position to insert new element at.i
- Value to insert.public void insertValue(int index, ConstSFInt32 i)
index
- Position to insert new element at.i
- Value to insert.public void insertValue(int index, SFInt32 i)
index
- Position to insert new element at.i
- Value to insert.