|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.elf.Tag
public class Tag
This class describes the DWARF2 "tag" data structure.
Copyright (c) 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
int |
abbrevCode
The abbrev code (for abbrev table) |
java.util.Hashtable |
attributes
Tha attribute table (attribute name / value pairs) |
int |
compileUnitOffset
The Compile Unit offset in bytes |
byte |
hasChildren
The has children flag |
java.util.Hashtable |
lineNumber
The line number table (line number / address pairs) |
Tag |
next
The next tag in the list |
int |
offset
The Tag offset in bytes |
int |
tagCode
The tag code |
Tag |
typeTag
The type tag |
| Constructor Summary | |
|---|---|
Tag()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
getAttr(Tag tag,
int attrCode)
This method returns a tag's attribute given the tag code. |
static int |
getIntAttr(Tag tag,
int attrCode)
This method returns a tag's attribute given the tag code. |
static boolean |
hasAttr(Tag tag,
int attrCode)
This method returns true if a given attribute exists in the tag and false otherwise. |
boolean |
isNull()
The method returns true if the tag is null and false otherwise. |
java.lang.String |
toString()
This method returns a string representation of the DWARF tag data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int compileUnitOffset
public int offset
public int tagCode
public byte hasChildren
public int abbrevCode
public Tag next
public Tag typeTag
public java.util.Hashtable attributes
public java.util.Hashtable lineNumber
| Constructor Detail |
|---|
public Tag()
| Method Detail |
|---|
public static boolean hasAttr(Tag tag,
int attrCode)
tag - The tag.attrCode - The attribute code.
public static java.lang.Object getAttr(Tag tag,
int attrCode)
tag - The tag.attrCode - The attribute code.
public static int getIntAttr(Tag tag,
int attrCode)
tag - The tag.attrCode - The attribute code.
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isNull()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||