Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

commandline_parser Class Reference

Static-only class to wrap handling the commandline. More...

#include <commandline_parser.h>

Inheritance diagram for commandline_parser:

wxCmdLineParser List of all members.

Public Methods

  commandline_parser ()
  Constructor.

bool  do_commandline (int argc, char **argv)
  Do the things requested on the commandline.


Static Public Methods

commandline_parser *  get ()
  Gets the global object or creates one if none exists.

commandline_parser *  set (commandline_parser *desired_commandline_parser)
  Sets the global object and returns a pointer to previous one (may be NULL).


Detailed Description

Static-only class to wrap handling the commandline.

Member Function Documentation

bool commandline_parser::do_commandline int    argc,
char **    argv
 

Do the things requested on the commandline.

Parameters:
argc  The number of commandline arguments.
argv  The commandline arguments.
Returns :
TRUE if the application should continue. FALSE if app should terminate.
commandline_parser* commandline_parser::set commandline_parser *    desired_commandline_parser [static]
 

Sets the global object and returns a pointer to previous one (may be NULL).

Parameters:
desired_plucker_controller  The new plucker_controller