Codemesh Runtime v3 C++ API Reference  3.9.205
Public Member Functions | Public Attributes | List of all members
xmog_java_values Struct Reference

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

#include <xmog_java_value.h>

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. More...
 
 xmog_java_values (jint _size, xmog_java_value *_v, const char *_type_codes)
 Creates an argument holder with the specified values. More...
 
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. More...
 
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() [1/2]

xmog_java_values::xmog_java_values ( jint  _size,
xmog_java_value *  _v 
)
inline

Creates an argument holder with the specified values.

Parameters
_sizethe number of arguments.
_vthe array of arguments.

References size, and v.

◆ xmog_java_values() [2/2]

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
_sizethe number of arguments.
_vthe array of arguments.
_type_codesthe array of type codes. These are only used for remote calls.

References size, type_codes, and v.

Member Data Documentation

◆ size

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.

Referenced by xmog_java_values().


The documentation for this struct was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.