public class StructEntry extends SymtabEntry
Modifier | Constructor and Description |
---|---|
protected |
StructEntry() |
protected |
StructEntry(StructEntry that) |
protected |
StructEntry(SymtabEntry that,
IDLID clone) |
Modifier and Type | Method and Description |
---|---|
void |
addContained(SymtabEntry entry) |
void |
addMember(TypedefEntry member)
Add a member to the member list.
|
Object |
clone()
This is a shallow copy clone
|
Vector |
contained()
This is a vector of SymtabEntry's.
|
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke the struct generator.
|
Generator |
generator()
Access the struct generator.
|
Vector |
members()
This is a vector of TypedefEntry's.
|
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
protected StructEntry()
protected StructEntry(StructEntry that)
protected StructEntry(SymtabEntry that, IDLID clone)
public Object clone()
SymtabEntry
clone
in class SymtabEntry
public void generate(Hashtable symbolTable, PrintWriter stream)
generate
in class SymtabEntry
symbolTable
- the symbol table is a hash table whose key is
a fully qualified type name and whose value is a SymtabEntry or
a subclass of SymtabEntry.stream
- the stream to which the generator should sent its output.SymtabEntry
public Generator generator()
generator
in class SymtabEntry
StructGen
public void addMember(TypedefEntry member)
public Vector members()
public void addContained(SymtabEntry entry)
public Vector contained()
struct A { long x; Struct B { long a; long b; } y; }Struct B is contained within struct A. The members vector will contain entries for x and y.
Copyright © 2017 JBoss by Red Hat. All rights reserved.