ldas-tools-al  2.6.7
Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Private Types | Private Attributes | List of all members
anonymous_namespace{CommandLine.cc}::CommandLine Class Reference
Inheritance diagram for anonymous_namespace{CommandLine.cc}::CommandLine:
Inheritance graph
[legend]
Collaboration diagram for anonymous_namespace{CommandLine.cc}::CommandLine:
Collaboration graph
[legend]

Public Types

typedef CommandLineOptions::option_type option_type
 

Public Member Functions

 CommandLine (int ArgC, const char **ArgV)
 

Public Attributes

bool no_args_seen
 
bool opt_args_seen
 
int opt_args_value
 
bool req_args_seen
 
int req_args_value
 

Protected Types

enum  { OPT_END_OF_OPTIONS = -1 }
 
enum  { OPT_END_OF_OPTIONS = -1 }
 
enum  { OPT_END_OF_OPTIONS = -1 }
 
typedef std::ostream ostream
 
typedef std::ostream ostream
 
typedef std::ostream ostream
 
typedef int argc_type
 
typedef int argc_type
 
typedef int argc_type
 
typedef const char ** argv_type
 
typedef const char ** argv_type
 
typedef const char ** argv_type
 

Protected Member Functions

int Parse (const OptionSet &Options, std::string &ArgumentName, std::string &ArgumentValue)
 
int Parse (const OptionSet &Options, std::string &ArgumentName, std::string &ArgumentValue)
 
int Parse (const OptionSet &Options, std::string &ArgumentName, std::string &ArgumentValue)
 
const option_type Pop ()
 Obtain the next option from the container. More...
 
const option_type Pop ()
 Obtain the next option from the container. More...
 
const option_type Pop ()
 Obtain the next option from the container. More...
 
const option_type ProgramName () const
 Return the program name associated with this application. More...
 
const option_type ProgramName () const
 Return the program name associated with this application. More...
 
const option_type ProgramName () const
 Return the program name associated with this application. More...
 

Static Protected Member Functions

static bool InterpretBoolean (const std::string &Value)
 
static bool InterpretBoolean (const std::string &Value)
 
static bool InterpretBoolean (const std::string &Value)
 

Private Types

enum  option_ypes { OPT_NO_ARGS, OPT_REQ_ARGS, OPT_OPT_ARGS }
 

Private Attributes

OptionSet m_options
 

Member Typedef Documentation

◆ argc_type [1/3]

◆ argc_type [2/3]

◆ argc_type [3/3]

◆ argv_type [1/3]

typedef const char** LDASTools::AL::CommandLineOptions::argv_type
inherited

◆ argv_type [2/3]

typedef const char** LDASTools::AL::CommandLineOptions::argv_type
inherited

◆ argv_type [3/3]

typedef const char** LDASTools::AL::CommandLineOptions::argv_type
inherited

◆ option_type

typedef CommandLineOptions::option_type anonymous_namespace{CommandLine.cc}::CommandLine::option_type

◆ ostream [1/3]

typedef std::ostream LDASTools::AL::CommandLineOptions::ostream
inherited

◆ ostream [2/3]

typedef std::ostream LDASTools::AL::CommandLineOptions::ostream
inherited

◆ ostream [3/3]

typedef std::ostream LDASTools::AL::CommandLineOptions::ostream
inherited

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
OPT_END_OF_OPTIONS 

◆ anonymous enum

anonymous enum
inherited
Enumerator
OPT_END_OF_OPTIONS 

◆ anonymous enum

anonymous enum
inherited
Enumerator
OPT_END_OF_OPTIONS 

◆ option_ypes

enum anonymous_namespace{CommandLine.cc}::CommandLine::option_ypes
private
Enumerator
OPT_NO_ARGS 
OPT_REQ_ARGS 
OPT_OPT_ARGS 

Constructor & Destructor Documentation

◆ CommandLine()

anonymous_namespace{CommandLine.cc}::CommandLine::CommandLine ( int  ArgC,
const char **  ArgV 
)

Member Function Documentation

◆ InterpretBoolean() [1/3]

bool LDASTools::AL::CommandLineOptions::InterpretBoolean ( const std::string &  Value)
staticinherited

◆ InterpretBoolean() [2/3]

static bool LDASTools::AL::CommandLineOptions::InterpretBoolean ( const std::string &  Value)
staticinherited

◆ InterpretBoolean() [3/3]

static bool LDASTools::AL::CommandLineOptions::InterpretBoolean ( const std::string &  Value)
staticinherited

◆ Parse() [1/3]

int LDASTools::AL::CommandLineOptions::Parse ( const OptionSet Options,
std::string &  ArgumentName,
std::string &  ArgumentValue 
)
inherited

◆ Parse() [2/3]

int LDASTools::AL::CommandLineOptions::Parse ( const OptionSet Options,
std::string &  ArgumentName,
std::string &  ArgumentValue 
)
inherited

◆ Parse() [3/3]

int LDASTools::AL::CommandLineOptions::Parse ( const OptionSet Options,
std::string &  ArgumentName,
std::string &  ArgumentValue 
)
inherited

◆ Pop() [1/3]

const option_type LDASTools::AL::CommandLineOptions::Pop ( )
inherited

Obtain the next option from the container.

This does reduce the size by one.

◆ Pop() [2/3]

const option_type LDASTools::AL::CommandLineOptions::Pop ( )
inherited

Obtain the next option from the container.

This does reduce the size by one.

◆ Pop() [3/3]

const CommandLineOptions::option_type LDASTools::AL::CommandLineOptions::Pop ( )
inlineinherited

Obtain the next option from the container.

This does reduce the size by one.

◆ ProgramName() [1/3]

const option_type LDASTools::AL::CommandLineOptions::ProgramName ( ) const
inherited

Return the program name associated with this application.

◆ ProgramName() [2/3]

const CommandLineOptions::option_type LDASTools::AL::CommandLineOptions::ProgramName ( ) const
inlineinherited

Return the program name associated with this application.

◆ ProgramName() [3/3]

const option_type LDASTools::AL::CommandLineOptions::ProgramName ( ) const
inherited

Return the program name associated with this application.

Member Data Documentation

◆ m_options

OptionSet anonymous_namespace{CommandLine.cc}::CommandLine::m_options
private

◆ no_args_seen

bool anonymous_namespace{CommandLine.cc}::CommandLine::no_args_seen

◆ opt_args_seen

bool anonymous_namespace{CommandLine.cc}::CommandLine::opt_args_seen

◆ opt_args_value

int anonymous_namespace{CommandLine.cc}::CommandLine::opt_args_value

◆ req_args_seen

bool anonymous_namespace{CommandLine.cc}::CommandLine::req_args_seen

◆ req_args_value

int anonymous_namespace{CommandLine.cc}::CommandLine::req_args_value

The documentation for this class was generated from the following file: