Main > Programming > Code Generators >

Automated Argument Helper 1.2.2

Automated Argument Helper 1.2.2

Sponsored Links

Automated Argument Helper 1.2.2 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.16 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1289
Date added: 2006-04-14
Publisher: Scott McKellar

Automated Argument Helper 1.2.2 description

Aargh is a code generator, written in C++ and licensed under the terms of the GNU General Public License (GPL). It generates C++ code to parse a command line, using the getopt() facility available in UNIX and UNIX-like environments.
Automated Argument Helper project supports command-line options with integer arguments, string arguments, and no arguments. The generated code is commented and carefully indented for readability.
Its nice to have lots of command line options, but its a real pain to code for them.
Not that its difficult. Its just tedious, time-consuming, error prone, and no fun. I used to wince at the thought of adding command line options.
Not any more. All I have to do is define the options I want in a small XML file, and run it through aargh. Instantly I have C++ source code that I can compile and link into my program.
If I need to add another option, or otherwise change the rules, I can edit the XML and regenerate the code. No muss, no fuss. Now I can spend more time on the interesting parts of the project.
To use aargh, write an XML file to describe the options you want. When aargh reads the file, it generates two C++ files.
One file is a header that declares a class to represent the options. By default this class is named "Opts," but you can specify a different name. The other file is the implementation of Opts, or whatever you decide to call it. The Opts class provides member functions to parse the command line and return the results.
In your own code, declare an instance of Opts and call Opts::get() to parse the command line, passing it the argc and argv arguments from main(). Opts::get() returns zero if the command line follows the rules that you have outlined in the XML file, or non-zero otherwise. If the parsing is successful, the Opts object stores the results and makes them available to your program by a series of accessor functions.
Main features:
- You can enforce upper and/or lower limits on the number of non-option arguments.
- You can distinguish between options that take arguments and those that dont.
- You can specify that an option is required.
- You can require that the argument to an option be a non-negative integer.
- For an integer argument you can enforce upper and/or lower limits.
- For a string argument you can enforce upper and/or lower limits on the string length.
- For a string argument you can call a function of your own to validate the argument.
- You can allow multiple occurrences of the same option. In that case the generated code builds an STL vector to hold the arguments. By default the generated software allows only one occurrence of any given option.
Enhancements:
- You can now specify the location of the generated header file independently of its name.
- This feature may make it easier to incorporate aargh into complex build environments.

Automated Argument Helper 1.2.2 Screenshot

Advertisements

Automated Argument Helper 1.2.2 Keywords

Bookmark Automated Argument Helper 1.2.2

Hyperlink code:
Link for forum:

Automated Argument Helper 1.2.2 Copyright

WareSeeker periodically updates pricing and software information of Automated Argument Helper 1.2.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Automated Argument Helper 1.2.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
comisat Games Collection is an all-in-one free collection of games written in gambas for unix-like system. Free Download
CodePrinter is a tiny utility to print out source code or other text files. Free Download
Matware NTN is a library written in Javascript that allows to create really dinamic sites without recharging the page. Free Download
phpIP Management is a complete IPv4 address management suite. Free Download
GMediaServer is a UPnP music media server. Free Download
MAST is set of audio streaming tools using RTP over IPv4 and IPv6 Multicast/Unicast. Free Download
OpenLink ODBC Bench is an open-source ODBC Benchmarking tool. Free Download
Laptop Temperature Monitor is a little applet for the GNOME desktop that shows the temperature of your laptop CPU on screen. Free Download