#include <garg.h>
Inheritance diagram for gArg:
Public Member Functions | |
gArg (char **argv, char **envp=nil) | |
virtual | ~gArg () |
unsigned | NumberParams () |
char * | Program () |
gParamVal * | GetOptionPtr (unsigned idx) |
int | AddParams (t_uint16 paramStart, char *s) |
int | FlushParams () |
bool | NoArg () |
bool | FindOption (char c) |
bool | FindOption (char *s) |
bool | FindOption (char *s, int &val) |
bool | FindOption (char *s, long &val) |
bool | FindOption (char c, gString &sRes) |
bool | FindOption (char *s, gString &sRes) |
bool | FindOptionOccurr (char *s, short &nRepeats) |
bool | FindOptionOccurr (char *s, bool &b1) |
bool | FindOptionOccurr (char *s, bool &b1, bool &b2) |
virtual t_uchar * | ToString (t_uchar *uBuf) |
virtual bool | SaveGuts (FILE *f) |
virtual bool | RestoreGuts (FILE *f) |
virtual void | Show (bool doShowAll=true) |
Public Attributes | |
gString | prog |
gList | env |
gList | param |
gList | opt |
gList | errors |
short | nParamDashWordSimple |
Protected Member Functions | |
bool | thisProgramName () |
bool | thisAddOneParam (t_uint16 paramStart, char *sParam, gList &resL) |
bool | thisBuildInternParam (gList ¶mIn, char *strSepSplit) |
bool | thisProcessParamElem (gParam &aParam, gParamElem ¶mElem) |
bool | thisProcessParamElem (gParam &aParam, gParamElem ¶mElem, bool &isDashWordSimple) |
unsigned | thisFindParamFromChr (t_uchar inChr, unsigned nParams, gParamElem *intParams) |
unsigned | thisFindParamFromStr (char *s, unsigned nParams, gParamElem *intParams, bool &doMatch, unsigned &possibleParamIdx) |
bool | thisFillParamFromChr (t_uchar inChr, unsigned nParams, gParamElem *intParams, gParamVal ¶mVal) |
bool | thisFillParamFromStr (char *s, unsigned paramRef, unsigned nParams, gParamElem *intParams, gParamVal ¶mVal) |
int | thisFlushAll (gList &inputL, gList ¶mIn, unsigned nParams, gParamElem *intParams, gList &resArgL, gList &resOptL, gList &resErrL) |
Protected Attributes | |
gParamElem * | internParams |
unsigned | keepPos |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 508 of file garg.cpp. Referenced by FindOption(), and FindOptionOccurr(). |
|
|
|
|
|
Definition at line 573 of file garg.cpp. Referenced by FindOptionOccurr(). |
|
|
|
Definition at line 449 of file garg.cpp. Referenced by FindOption(). |
|
|
|
Definition at line 201 of file garg.h. Referenced by FlushParams(), and Show(). |
|
|
|
Reimplemented from gList. |
|
Reimplemented from gList. |
|
Reimplemented from gList. |
|
Definition at line 611 of file garg.cpp. Referenced by AddParams(). |
|
Definition at line 622 of file garg.cpp. Referenced by FlushParams(). |
|
Definition at line 804 of file garg.cpp. Referenced by thisFlushAll(). |
|
Definition at line 822 of file garg.cpp. Referenced by thisFlushAll(). |
|
Definition at line 735 of file garg.cpp. Referenced by thisFillParamFromChr(), and thisFlushAll(). |
|
Definition at line 751 of file garg.cpp. Referenced by thisFlushAll(). |
|
Definition at line 840 of file garg.cpp. Referenced by FlushParams(). |
|
|
|
Referenced by thisBuildInternParam(). |
|
Definition at line 604 of file garg.cpp. Referenced by gArg(). |
|
Reimplemented from gList. |
|
Definition at line 194 of file garg.h. Referenced by gArg(). |
|
Definition at line 197 of file garg.h. Referenced by FlushParams(). |
|
Definition at line 236 of file garg.h. Referenced by FlushParams(), Show(), thisBuildInternParam(), and ~gArg(). |
|
Definition at line 237 of file garg.h. Referenced by FindOption(), and FindOptionOccurr(). |
|
Definition at line 198 of file garg.h. Referenced by thisBuildInternParam(), and thisFlushAll(). |
|
Definition at line 196 of file garg.h. Referenced by FindOption(), FindOptionOccurr(), FlushParams(), and GetOptionPtr(). |
|
Definition at line 195 of file garg.h. Referenced by AddParams(), FlushParams(), and NumberParams(). |
|
Definition at line 193 of file garg.h. Referenced by gArg(), and thisProgramName(). |