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

jvm_Utf8Constant Class Reference

#include <jvm_constant.h>

Inheritance diagram for jvm_Utf8Constant:

jvm_Constant jvm_Component List of all members.

Public Methods

 jvm_Utf8Constant ()
 jvm_Utf8Constant (u2 len, u1* bytes)
 jvm_Utf8Constant (char* str)
 jvm_Utf8Constant (jvm_Utf8Constant* unicode, int start_index, int end_index)
 jvm_Utf8Constant (jvm_Classfile* cf)
 jvm_Utf8Constant (jvm_Classfile* cf, char* str)
 jvm_Utf8Constant (jvm_Classfile* cf, jvm_Utf8Constant* unicode, int start_index, int end_index)
constant_kind kind ()
u2 length () const
char* name ()
bool is_ascii (int index) const
char get_char (int index) const
u1 get_unicode (int index) const
bool equals (jvm_Utf8Constant* c)
bool equals (utf8 name)
bool equals (utf8 name, int start_index, int end_index)
void write ()
void print ()

Static Public Methods

jvm_Utf8Constant* create (jvm_Classfile* cf)

Friends

ostream& operator<< (ostream& os, jvm_Utf8Constant* c)


Detailed Description


Constructor & Destructor Documentation

jvm_Utf8Constant::jvm_Utf8Constant ()

jvm_Utf8Constant::jvm_Utf8Constant ( u2 len,
u1 * bytes)

jvm_Utf8Constant::jvm_Utf8Constant ( char * str)

jvm_Utf8Constant::jvm_Utf8Constant ( jvm_Utf8Constant * uc,
int start_index,
int end_index)

jvm_Utf8Constant::jvm_Utf8Constant ( jvm_Classfile * cf)

jvm_Utf8Constant::jvm_Utf8Constant ( jvm_Classfile * cf,
char * str)

jvm_Utf8Constant::jvm_Utf8Constant ( jvm_Classfile * cf,
jvm_Utf8Constant * uc,
int start_index,
int end_index)


Member Function Documentation

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

Reimplemented from jvm_Constant.

bool jvm_Utf8Constant::equals ( utf8 name,
int start_index,
int end_index)

bool jvm_Utf8Constant::equals ( utf8 name)

bool jvm_Utf8Constant::equals ( jvm_Utf8Constant * c)

char jvm_Utf8Constant::get_char ( int idx) const

u1 jvm_Utf8Constant::get_unicode ( int idx) const

bool jvm_Utf8Constant::is_ascii ( int idx) const

constant_kind jvm_Utf8Constant::kind ( void) [inline, virtual]

Reimplemented from jvm_Constant.

u2 jvm_Utf8Constant::length () const [inline]

char * jvm_Utf8Constant::name ( void)

void jvm_Utf8Constant::print ( void) [virtual]

Reimplemented from jvm_Constant.

void jvm_Utf8Constant::write ( void) [virtual]

Reimplemented from jvm_Constant.


Friends And Related Function Documentation

ostream& operator<< ( ostream & str,
jvm_Utf8Constant * c) [friend]


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