Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
MarshalledArgs Class Reference

Marshalls a va_list into a jvalue array, and destructor automatically deletes when the args go out of scope. More...

Collaboration diagram for MarshalledArgs:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MarshalledArgs (JNIMethod *forMethod, va_list args)
 ~MarshalledArgs ()
 operator jvalue * ()
 MarshalledArgs (JNIMethod *forMethod, va_list args)
 ~MarshalledArgs ()
 operator jvalue * ()

Private Attributes

jvaluemArgs

Detailed Description

Marshalls a va_list into a jvalue array, and destructor automatically deletes when the args go out of scope.

Definition at line 229 of file nsJNI.cpp.


Constructor & Destructor Documentation

MarshalledArgs::MarshalledArgs ( JNIMethod forMethod,
va_list  args 
) [inline]

Definition at line 231 of file nsJNI.cpp.

: mArgs(forMethod->marshallArgs(args)) {}

Definition at line 232 of file nsJNI.cpp.

{ delete[] mArgs; }
MarshalledArgs::MarshalledArgs ( JNIMethod forMethod,
va_list  args 
) [inline]

Definition at line 267 of file ProxyJNI.cpp.

: mArgs(forMethod->marshallArgs(args)) {}

Definition at line 268 of file ProxyJNI.cpp.

{ if (mArgs != NULL) delete[] mArgs; }

Member Function Documentation

MarshalledArgs::operator jvalue * ( ) [inline]

Definition at line 234 of file nsJNI.cpp.

{ return mArgs; }
MarshalledArgs::operator jvalue * ( ) [inline]

Definition at line 270 of file ProxyJNI.cpp.

{ return mArgs; }

Member Data Documentation

Definition at line 237 of file nsJNI.cpp.


The documentation for this class was generated from the following files: