Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

xmog_java_values Struct Reference

A helper type used to convey Java arguments around inside the framework. More...

#include <xmog_java_value.h>

List of all members.

Public Member Functions

 xmog_java_values ()
 Creates an empty argument holder.
 xmog_java_values (jint _size, xmog_java_value *_v)
 Creates an argument holder with the specified values.
 xmog_java_values (jint _size, xmog_java_value *_v, const char *_type_codes)
 Creates an argument holder with the specified values.
jvalue * get_values (xmog_localenv *env=NULL) const
 Returns the JNI jvalue structures that are used to invoke methods.
const char *const get_type_codes () const
 Returns the array of typecodes.

Public Attributes

jint size
 The number of xmog_java_value instances in v.
xmog_java_value * v
 The array of xmog_java_value instances represented by this object.
const char * type_codes
 The typecodes used for remote operations.


Detailed Description

A helper type used to convey Java arguments around inside the framework.

You should never have to use this type directly unless you choose to use the xmog_java_method or xmog_java_field types manually without relying on generated proxy classes.


Constructor & Destructor Documentation

xmog_java_values::xmog_java_values jint  _size,
xmog_java_value *  _v
[inline]
 

Creates an argument holder with the specified values.

Parameters:
_size the number of arguments.
_v the array of arguments.

xmog_java_values::xmog_java_values jint  _size,
xmog_java_value *  _v,
const char *  _type_codes
[inline]
 

Creates an argument holder with the specified values.

Parameters:
_size the number of arguments.
_v the array of arguments.
_type_codes the array of type codes. These are only used for remote calls.


Member Data Documentation

jint xmog_java_values::size
 

The number of xmog_java_value instances in v.

This field also doubles up as the array index in the case of array element access.


The documentation for this struct was generated from the following file:
Generated on Wed May 31 14:01:32 2006 for Shared Codemesh Runtime Library API Reference by  doxygen 1.4.1