class CommandLine


Public Methods

const int getInt(const string& cmdLineOption)
const string& getString(const string& cmdLineOption)
static Sptr < CommandLine > instance()
static Sptr < CommandLine > instance( const int argc, const char** argv, const char* applicationUsage = " [-rd] [-f log-filename] [-v DEBUG_LEVEL] pserver:port redundantpserver:port sip-port" )
void print(const int loglevel)

Private Fields

static Table cmdLineOptionTable;
static const pair < const char*, const char* > cmdLineOptionString[]
Table cmdLineOptionTable
static Sptr < CommandLine > commandLine
typedef map < string, string > Table
typedef Table::iterator TableIter

Private Methods

void parseCommandLine( const int argc, const char**argv )
void setDefaultValues()

Documentation

static Sptr < CommandLine > instance( const int argc, const char** argv, const char* applicationUsage = " [-rd] [-f log-filename] [-v DEBUG_LEVEL] pserver:port redundantpserver:port sip-port" )

static Sptr < CommandLine > instance()

const string& getString(const string& cmdLineOption)

const int getInt(const string& cmdLineOption)

void print(const int loglevel)

void setDefaultValues()

void parseCommandLine( const int argc, const char**argv )

static Sptr < CommandLine > commandLine

typedef map < string, string > Table

typedef Table::iterator TableIter

static const pair < const char*, const char* > cmdLineOptionString[]

Table cmdLineOptionTable

static Table cmdLineOptionTable;


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++