class ArrayTypeCls
class ArrayTypeCls: public CompTypeCls
The array type
Inheritance:
-
-
Public Methods
-
ArrayTypeCls(PPTreeNodeCls rangeFrom, PPTreeNodeCls rangeTo, PPTreeNodeCls dataType) - Constructor
-
int getSize() - Returns the memory size of this array type
-
int getItemSize() - Returns the memory size of a single item
-
PNumLiteralCls getRangeFrom() - Returns the first index
-
PNumLiteralCls getRangeTo() - Returns the last index
-
PDataTypeCls getItemDataType() - Returns the element data type
-
PArrayTypeCls copy() - Returns a deep copy of this data type
-
Inherited from CompTypeCls:
Inherited from DataTypeCls:
Documentation
The array type. CompoundType: array [ <Number> .. <Number> ] of <DataType>
-
ArrayTypeCls(PPTreeNodeCls rangeFrom, PPTreeNodeCls rangeTo, PPTreeNodeCls dataType)
- Constructor.
- Parameters:
-
rangeFrom - First index of array
rangeTo - Last index of array
dataType - Data type of array elements
-
int getSize()
- Returns the memory size of this array type.
- Returns:
- Memory size used by this type
-
int getItemSize()
- Returns the memory size of a single item.
- Returns:
- Element memory size
-
PNumLiteralCls getRangeFrom()
- Returns the first index.
- Returns:
- First index
-
PNumLiteralCls getRangeTo()
- Returns the last index.
- Returns:
- Last index
-
PDataTypeCls getItemDataType()
- Returns the element data type.
- Returns:
- Data type of elements
-
PArrayTypeCls copy()
- Returns a deep copy of this data type.
- Returns:
- Copy of data type
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
DOC++

