Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

element_value Struct Reference

#include <classfile.h>


Detailed Description

The class file element_value structure.

Section 4.8.14.1: The element_value structure

Definition at line 2059 of file classfile.h.

Data Fields

u1 tag
u1 value


Field Documentation

u1 element_value::tag
 

Definition at line 2061 of file classfile.h.

u1 element_value::value
 

For internal use only.

BREAKS COMPILER if declared,

values_union _value;

due to circular member type references, so access it this way:

values_union *pv = (values_union *) &variablename.value;

pv->member ...

To access both members of this structure, use the following approach:

element_value var, *ptr;

var.tag; ELEMENT_VALUE(var).value._const_value_index; ELEMENT_VALUE(var).value._enum_const_value;

ptr->tag; PTR_ELEMENT_VALUE(ptr)->value._const_value_index; PTR_ELEMENT_VALUE(ptr)->value._enum_const_value;

Definition at line 2091 of file classfile.h.


The documentation for this struct was generated from the following file:
Generated on Fri Sep 30 18:50:51 2005 by  doxygen 1.4.4