Package com.bc.ceres.binio
Interface CompoundData
-
- All Superinterfaces:
CollectionData
public interface CompoundData extends CollectionData
A compound of members of any type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytegetByte(String name)CompoundDatagetCompound(String name)doublegetDouble(String name)floatgetFloat(String name)intgetInt(String name)longgetLong(String name)intgetMemberCount()intgetMemberIndex(String name)SequenceDatagetSequence(String name)shortgetShort(String name)CompoundTypegetType()intgetUByte(String name)longgetUInt(String name)intgetUShort(String name)voidsetByte(String name, byte value)voidsetDouble(String name, double value)voidsetFloat(String name, float value)voidsetInt(String name, int value)voidsetLong(String name, long value)voidsetShort(String name, short value)voidsetUByte(String name, int value)voidsetUInt(String name, long value)voidsetUShort(String name, int value)-
Methods inherited from interface com.bc.ceres.binio.CollectionData
dispose, flush, getByte, getCompound, getContext, getDouble, getElementCount, getFloat, getInt, getLong, getParent, getPosition, getSequence, getShort, getSize, getUByte, getUInt, getUShort, resolveSize, setByte, setDouble, setFloat, setInt, setLong, setShort, setUByte, setUInt, setUShort
-
-
-
-
Method Detail
-
getType
CompoundType getType()
- Specified by:
getTypein interfaceCollectionData- Returns:
- The resolved instance type of the compound.
-
getMemberCount
int getMemberCount()
-
getMemberIndex
int getMemberIndex(String name)
-
getByte
byte getByte(String name) throws IOException
- Throws:
IOException
-
setByte
void setByte(String name, byte value) throws IOException
- Throws:
IOException
-
getUByte
int getUByte(String name) throws IOException
- Throws:
IOException
-
setUByte
void setUByte(String name, int value) throws IOException
- Throws:
IOException
-
getShort
short getShort(String name) throws IOException
- Throws:
IOException
-
setShort
void setShort(String name, short value) throws IOException
- Throws:
IOException
-
getUShort
int getUShort(String name) throws IOException
- Throws:
IOException
-
setUShort
void setUShort(String name, int value) throws IOException
- Throws:
IOException
-
getInt
int getInt(String name) throws IOException
- Throws:
IOException
-
setInt
void setInt(String name, int value) throws IOException
- Throws:
IOException
-
getUInt
long getUInt(String name) throws IOException
- Throws:
IOException
-
setUInt
void setUInt(String name, long value) throws IOException
- Throws:
IOException
-
getLong
long getLong(String name) throws IOException
- Throws:
IOException
-
setLong
void setLong(String name, long value) throws IOException
- Throws:
IOException
-
getFloat
float getFloat(String name) throws IOException
- Throws:
IOException
-
setFloat
void setFloat(String name, float value) throws IOException
- Throws:
IOException
-
getDouble
double getDouble(String name) throws IOException
- Throws:
IOException
-
setDouble
void setDouble(String name, double value) throws IOException
- Throws:
IOException
-
getSequence
SequenceData getSequence(String name) throws IOException
- Throws:
IOException
-
getCompound
CompoundData getCompound(String name) throws IOException
- Throws:
IOException
-
-