#include <stdlib.h>#include <string.h>#include <errno.h>#include <algorithm>#include "CmdLineParser.h"

Go to the source code of this file.
Classes | |
| struct | lt_OptArgDesc |
Functions | |
| static bool | IsDashDash (const char *str) |
| static bool | IsLongSwitch (const char *str) |
| static bool | IsShortSwitch (const char *str) |
| static bool | IsSwitch (const char *str) |
| static bool | IsArg (const char *str) |
Variables | |
| static string | MISSING_SWITCH = "Missing switch after -" |
| static string | UNKNOWN_SWITCH = "Unknown option switch: " |
| static string | MISSING_ARG = "Missing argument for switch: " |
| static bool IsArg | ( | const char * | str | ) | [inline, static] |
Definition at line 100 of file CmdLineParser.cxx.
References IsDashDash(), and IsSwitch().
Referenced by CmdLineParser::Parse().

| static bool IsDashDash | ( | const char * | str | ) | [inline, static] |
| static bool IsLongSwitch | ( | const char * | str | ) | [inline, static] |
Definition at line 88 of file CmdLineParser.cxx.
Referenced by IsSwitch(), and CmdLineParser::MakeSwitchDesc().
| static bool IsShortSwitch | ( | const char * | str | ) | [inline, static] |
Definition at line 91 of file CmdLineParser.cxx.
Referenced by IsSwitch(), and CmdLineParser::MakeSwitchDesc().
| static bool IsSwitch | ( | const char * | str | ) | [inline, static] |
Definition at line 94 of file CmdLineParser.cxx.
References IsLongSwitch(), and IsShortSwitch().
Referenced by IsArg(), and CmdLineParser::Parse().

string MISSING_ARG = "Missing argument for switch: " [static] |
string MISSING_SWITCH = "Missing switch after -" [static] |
string UNKNOWN_SWITCH = "Unknown option switch: " [static] |
1.5.7.1