JADE v6.1

com.dautelle.util
Class Struct.StructMember

java.lang.Object
  extended bycom.dautelle.util.Struct.Member
      extended bycom.dautelle.util.Struct.StructMember
Enclosing class:
Struct

public final class Struct.StructMember
extends Struct.Member

This class represents an inner struct member.


Constructor Summary
Struct.StructMember(java.lang.Class structType)
          Creates a Struct.StructMember having an inner struct of specified type.
 
Method Summary
 Struct get()
          Returns the struct represented by this Struct.StructMember.
 
Methods inherited from class com.dautelle.util.Struct.Member
offset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct.StructMember

public Struct.StructMember(java.lang.Class structType)
Creates a Struct.StructMember having an inner struct of specified type.

Parameters:
structType - the class of the inner struct.
Throws:
java.lang.ClassCastException - if the specified class is not derived from Struct.
Method Detail

get

public Struct get()
Returns the struct represented by this Struct.StructMember.

Returns:
the inner struct.

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.