|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.elf.VariableType
public abstract class VariableType
This class stores all the data necessary for a DWARF variable type. This just makes for a simpler structure to use in places like a tree display.
Copyright (c) 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
int |
addrOffset
The address offset (for structs and arrays) |
int |
byteSize
The size (in bytes) |
static int |
CONST
The variable type is constant |
static java.lang.String[] |
modifierName
The names of the modifiers |
java.util.Vector |
modifiers
The variable type modifier (NONE, CONST, VOLATILE or POINTER) |
java.lang.String |
name
The variable name |
static int |
NONE
No modifier |
VariableType |
parent
The parent VariableType |
static int |
POINTER
The variable type is a pointer |
Variable |
variable
The parent Variable |
static int |
VOLATILE
The variable type is volatile |
| Constructor Summary | |
|---|---|
VariableType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
static VariableType |
getVariableType(VariableType parent,
Variable variable,
Tag tag)
This method parses the DWARF2 type data associated with a variable and returns the appropriate data structures. |
java.lang.String |
toString(boolean byteSwap)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cmpware.elf.TreeViewable |
|---|
getChildren, getImage, getParent, getText, hasChildren |
| Field Detail |
|---|
public java.lang.String name
public java.util.Vector modifiers
public VariableType parent
public Variable variable
public int addrOffset
public int byteSize
public static final int NONE
public static final int CONST
public static final int VOLATILE
public static final int POINTER
public static final java.lang.String[] modifierName
| Constructor Detail |
|---|
public VariableType()
| Method Detail |
|---|
public static VariableType getVariableType(VariableType parent,
Variable variable,
Tag tag)
parent - The parent variabel type.variable - The DWARF2 variable.tag - The starting tag that defines this type.
public java.lang.String toString(boolean byteSwap)
public java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||