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 byte
getByte(String name)
CompoundData
getCompound(String name)
double
getDouble(String name)
float
getFloat(String name)
int
getInt(String name)
long
getLong(String name)
int
getMemberCount()
int
getMemberIndex(String name)
SequenceData
getSequence(String name)
short
getShort(String name)
CompoundType
getType()
int
getUByte(String name)
long
getUInt(String name)
int
getUShort(String name)
void
setByte(String name, byte value)
void
setDouble(String name, double value)
void
setFloat(String name, float value)
void
setInt(String name, int value)
void
setLong(String name, long value)
void
setShort(String name, short value)
void
setUByte(String name, int value)
void
setUInt(String name, long value)
void
setUShort(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:
getType
in 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
-
-