JNIArguments Class Reference

A class that translates an array of Java strings and make them presentable to SimbaServer. More...

List of all members.

Public Member Functions

int GetCount () const
 Returns the number of arguments.
char ** GetRawArgs ()
 Get a raw pointer to the translated array of string arguments.
 JNIArguments (jobjectArray in_stringArray)
 Constructor.
 ~JNIArguments ()
 Destructor.

Detailed Description

A class that translates an array of Java strings and make them presentable to SimbaServer.

Since a native program's the first argument is the native program name itself, an empty (NULL) entry is always added to simulate that. That is, the number of entries returned by GetCount() will always be the number of arguments passed in from the contructor plus 1.


Constructor & Destructor Documentation

JNIArguments ( jobjectArray  in_stringArray  ) 

Constructor.

Parameters:
in_stringArray An array of Java String arguments.
~JNIArguments (  ) 

Destructor.


Member Function Documentation

int GetCount (  )  const

Returns the number of arguments.

Returns:
Number of arguments.
char** GetRawArgs (  ) 

Get a raw pointer to the translated array of string arguments.

The returned arguments pointer is intended to be usable by Simba::Server::StartServer() function.

Returns:
A raw pointer to the translated array of string arguments. (NOT OWN).

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

Generated on Wed May 17 14:21:16 2017 for SimbaEngine 10.1.3.1011 by simba