.TH "guake" "1" .SH "NAME" giws \(em Generate C++ class wrappers to call Java methods/objects .SH "SYNOPSIS" .PP \fBgiws\fR [\fB-hf, \-\-description-file\fR\fP] [\fB-o, --output-dir\fR\fP] [\fB-p, --per-package\fR\fP] [\fB-e, --throws-exception-on-error\fR\fP] [\fB--header-extension-file\fR\fP] [\fB--body-extension-file\fR\fP] [\fB-v, --version\fR\fP] [\fB-h, --help\fR\fP] .SH "DESCRIPTION" .PP Giws is basically doing the same stuff as SWIG but the opposite. Calling Java from C/C++ can be tricky: JNI calls are complicated especially when dealing with non primivite types or arrays, performance issues must be kept in mind all the time, the code can be redundant (checking exceptions, checking returns of operations...). Giws hides this complexity through a C++ class which wraps the Java class. .PP .SH "OPTIONS" .B \-f, \-\-description\-file Description of the method of the Java Object. .TP .B \-o, \-\-output\-dir The directory where to export files .TP .B \-p, \-\-per\-package Generates CXX/HXX files per package .TP .B \-e, \-\-throws\-exception\-on\-error Throws a C++ exception instead of an exit(EXIT_FAILURE) .TP .B \-\-header\-extension\-file Specify the extension of the header file generated [Default : .hxx] .TP .B \-\-body\-extension\-file Specify the extension of the body file generated [Default : .cpp] .TP .B \-v \-\-version Display the version information .TP .B \-h \-\-help Display the help .SH AUTHOR giws was written by Sylvestre Ledru, Vincent Couvert and Jean-Baptiste Silvy .PP This manual page was written by Sylvestre Ledru , for the Debian project (but may be used by others).