CEL::CelStartWrapper Class Reference
Class for running CELstart, simplifying manipulation of the passed command line arguments. More...
#include <celstart/celstart.h>
Public Member Functions | |
| void | AddArgumentAfterUserArgs (const char *arg) |
| Add the given argument after the user-given command line arguments. | |
| void | AddArgumentBeforeUserArgs (const char *arg) |
| Add the given argument before the user-given command line arguments. | |
| int | Main () |
| Run. | |
Detailed Description
Class for running CELstart, simplifying manipulation of the passed command line arguments.
Example:
CelStartWrapper celstart (argc, argv); // Always start with custom game data celstart.AddArgumentBeforeUserArgs ("mydata.celzip"); return celstart.Main();
Definition at line 52 of file celstart.h.
Member Function Documentation
| void CEL::CelStartWrapper::AddArgumentAfterUserArgs | ( | const char * | arg | ) |
Add the given argument after the user-given command line arguments.
| void CEL::CelStartWrapper::AddArgumentBeforeUserArgs | ( | const char * | arg | ) |
Add the given argument before the user-given command line arguments.
Example: if the user has given -one -two -three and AddArgumentBeforeUserArgs() was called with "-a", "-b", "-c" the final command line as seen by the CELstart main function is -a -b -c -one -two -three.
| int CEL::CelStartWrapper::Main | ( | ) |
Run.
The documentation for this class was generated from the following file:
- celstart/celstart.h
Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.6.1
