|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.elf.VariableType
com.cmpware.elf.ArrayType
public class ArrayType
This class stores all the data necessary for a DWARF array variable type. This covers just a single array dimension.
Copyright (c) 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
int |
AbslouteIndex
Absolute index |
VariableType |
arrayElementType
The array element type |
static java.lang.String |
copyright
Copyright string |
int[] |
dimensionSize
Element count for each dimension |
int |
thisDimension
The dimension (for multidimensional arrays) |
int[] |
thisElement
This element number (may be partially defined) |
| Fields inherited from class com.cmpware.elf.VariableType |
|---|
addrOffset, byteSize, CONST, modifierName, modifiers, name, NONE, parent, POINTER, variable, VOLATILE |
| Constructor Summary | |
|---|---|
ArrayType()
|
|
ArrayType(ArrayType at)
|
|
| Method Summary | |
|---|---|
static ArrayType |
getArrayType(VariableType parent,
Variable variable,
Tag tag)
This method returns a Scalar Type with data filled in from the ELF /DWARF tag. |
java.lang.Object[] |
getChildren()
This method returns the children of this object. |
org.eclipse.swt.graphics.Image |
getImage()
This method returns an image used as a decorator. |
java.lang.Object |
getParent()
This method returns the parent of this object. |
java.lang.String |
getText()
This method returns the text string associated with this object. |
boolean |
hasChildren()
This method returns true if this object has children and false otherwise. |
java.lang.String |
toString(boolean byteSwap)
This method returns a string representation of the variable type data. |
| Methods inherited from class com.cmpware.elf.VariableType |
|---|
getName, getVariableType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public int[] dimensionSize
public int[] thisElement
public int thisDimension
public VariableType arrayElementType
public int AbslouteIndex
| Constructor Detail |
|---|
public ArrayType()
public ArrayType(ArrayType at)
| Method Detail |
|---|
public static ArrayType getArrayType(VariableType parent,
Variable variable,
Tag tag)
tag - The ELF /DWARF tag representing this
type.
public java.lang.Object[] getChildren()
TreeViewable
public java.lang.Object getParent()
TreeViewable
public boolean hasChildren()
TreeViewable
public java.lang.String getText()
TreeViewable
public org.eclipse.swt.graphics.Image getImage()
TreeViewable
public java.lang.String toString(boolean byteSwap)
toString in class VariableTypebyteSwap - the byte swappting flag from the ELF file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||