CmdLineParser.cxx File Reference

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

Include dependency graph for CmdLineParser.cxx:

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: "


Function Documentation

static bool IsArg ( const char *  str  )  [inline, static]

Definition at line 100 of file CmdLineParser.cxx.

References IsDashDash(), and IsSwitch().

Referenced by CmdLineParser::Parse().

Here is the call graph for this function:

static bool IsDashDash ( const char *  str  )  [inline, static]

Definition at line 81 of file CmdLineParser.cxx.

Referenced by IsArg(), and CmdLineParser::Parse().

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().

Here is the call graph for this function:


Variable Documentation

string MISSING_ARG = "Missing argument for switch: " [static]

Definition at line 42 of file CmdLineParser.cxx.

Referenced by CmdLineParser::Parse().

string MISSING_SWITCH = "Missing switch after -" [static]

Definition at line 40 of file CmdLineParser.cxx.

Referenced by CmdLineParser::Parse().

string UNKNOWN_SWITCH = "Unknown option switch: " [static]

Definition at line 41 of file CmdLineParser.cxx.

Referenced by CmdLineParser::Parse().


Generated on Fri Jul 24 04:31:01 2009 for OpenADFortTk (extended to Open64) by  doxygen 1.5.7.1