Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

jvm_Constant Class Reference

#include <jvm_constant.h>

Inheritance diagram for jvm_Constant:

jvm_Component jvm_ClassConstant jvm_DoubleConstant jvm_EmptyEntryConstant jvm_FieldrefConstant jvm_FloatConstant jvm_IntegerConstant jvm_InterfaceMethodrefConstant jvm_InvalidEntryConstant jvm_LongConstant jvm_MethodrefConstant jvm_NameAndTypeConstant jvm_StringConstant jvm_Utf8Constant List of all members.

Public Types

enum  constant_kind {
  Class = 7,
  Fieldref = 9,
  Methodref = 10,
  InterfaceMethodref = 11,
  String = 8,
  Integer = 3,
  Float = 4,
  Long = 5,
  Double = 6,
  NameAndType = 12,
  Utf8 = 1,
  Unicode = 2,
  InvalidEntry = 255,
  EmptyEntry = 0
}
enum  byteorder_kind {
  littleendian = 0,
  bigendian
}

Public Methods

 jvm_Constant (jvm_Classfile* cf)
virtual ~jvm_Constant ()
component_kinds component_kind ()
virtual constant_kind kind () = 0
bool is_Class ()
bool is_Fieldref ()
bool is_Methodref ()
bool is_InterfaceMethodref ()
bool is_String ()
bool is_Integer ()
bool is_Float ()
bool is_Long ()
bool is_Double ()
bool is_NameAndType ()
bool is_Utf8 ()
bool is_Unicode ()
void write ()
void print ()

Static Public Methods

jvm_Constant* create (jvm_Classfile* cf)
u4 hosttobig4 (u4 arg)
u8 hosttobig8 (u8 arg)
u4 bigtohost4 (u4 arg)
u8 bigtohost8 (u8 arg)
byteorder_kind hostbyteorder ()


Detailed Description


Member Enumeration Documentation

enum jvm_Constant::byteorder_kind

Enumeration values:
littleendian  
bigendian  

enum jvm_Constant::constant_kind

Enumeration values:
Class  
Fieldref  
Methodref  
InterfaceMethodref  
String  
Integer  
Float  
Long  
Double  
NameAndType  
Utf8  
Unicode  
InvalidEntry  
EmptyEntry  

Constructor & Destructor Documentation

jvm_Constant::jvm_Constant ( jvm_Classfile * cf)

jvm_Constant::~jvm_Constant () [virtual]


Member Function Documentation

u4 jvm_Constant::bigtohost4 ( u4 arg) [static]

u8 jvm_Constant::bigtohost8 ( u8 arg) [static]

component_kinds jvm_Constant::component_kind () [inline, virtual]

Reimplemented from jvm_Component.

jvm_Constant * jvm_Constant::create ( jvm_Classfile * cf) [static]

Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.

jvm_Constant::byteorder_kind jvm_Constant::hostbyteorder () [static]

u4 jvm_Constant::hosttobig4 ( u4 arg) [static]

u8 jvm_Constant::hosttobig8 ( u8 arg) [static]

bool jvm_Constant::is_Class ()

bool jvm_Constant::is_Double ()

bool jvm_Constant::is_Fieldref ()

bool jvm_Constant::is_Float ()

bool jvm_Constant::is_Integer ()

bool jvm_Constant::is_InterfaceMethodref ()

bool jvm_Constant::is_Long ()

bool jvm_Constant::is_Methodref ()

bool jvm_Constant::is_NameAndType ()

bool jvm_Constant::is_String ()

bool jvm_Constant::is_Unicode ()

bool jvm_Constant::is_Utf8 ()

virtual constant_kind jvm_Constant::kind ( void) [pure virtual]

Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.

void jvm_Constant::print ( void) [virtual]

Reimplemented from jvm_Component.

Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.

void jvm_Constant::write ( void) [virtual]

Reimplemented from jvm_Component.

Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:52 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000