Introduction
G_ASSIST is an utility written in JAVA having two aims:
-
Generate OS common message box and exception window.
-
Acts as a source code generator for G_SIGNALS and G_REFERENCES.
Java source code documentation.
Open G_ASSIST source code documentation.
Usage:
G_ASSIST is called from shell with the format:
[G_ASSIST] [cmd] -v[0-] {params}
where:
-
[G_ASSIST] is %G_ASSIST% under windows and $G_ASSIST under linux.
-
-v[0-] is the verbosity level (possible values -v0,-v1,...)
-
[cmd] is one from the following possibility
-
-sc
Parse a signal expression like:
sig_type(partype1 par1,partype1 par2) into the clipboard i.e.java -jar GLibJSupport.jar -sc "MySig(int par1,int par2)"
-
-sh
-sh sig_type(partype1 par1,partype1 par2) 'sig_dir' parse a signal into sig_dir i.e.:
java -jar GLibJSupport.jar -sh "MySig(int par1,int par2)" "c:\temp"
will generate a MySig.h with the result.
-
-p
G_ASSIST -p {-vX} [path_to_parse] {-od [specific_output_dir]} {-or [success_report_path]}
Parse a source file interpreting the signals (G_SIGNAL) and refs(G_REF)!
If -od is specified [specific_output_dir] becomes the base dir for output files (instead of the dir of input file).
If -or is specified an output report will be generated in [success_report_path] in case of success ONLY.
-
-pc
G_ASSIST -pc {-vX} [.vcproj] {-o [success_report_path_output_dir]}
Pre-compile a MS Visual Studio 2005 project ([.vcproj]) by calling parsing for each .cpp,.c,.h,.cxx,.hxx,.hpp file!
If -o is specified [success_report_path_output_dir] contains the output report path which is [source_name.ext.txt].
If -o is not specified success report path is generated inside .vcproj path
-
-m
Shows a message box with possibly 3 format:
-
'[G_ASSIST] -m message'
-
'[G_ASSIST] -m message title'
-
'[G_ASSIST] -m message title msg_type' where msg_type can be:
-
ok
-
ok_cancel
-
retry_cancel
-
cancel_retry_continue
-
yes_no
-
help
-
yes_no_cancel
-
abort_retry_continue
-
-h
-
'[G_ASSIST] -h' Print out the help.
-
'[G_ASSIST] -h -l' Print the list of commands only.
-
'[G_ASSIST] -h cmd_opt Print out the help of a spefic command i.e '[G_ASSIST] -h -pc'.