ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
anonymous_namespace{CommandLine.cc}::CommandLine Class Reference
Inheritance diagram for anonymous_namespace{CommandLine.cc}::CommandLine:
Collaboration diagram for anonymous_namespace{CommandLine.cc}::CommandLine:

Public Types

typedef CommandLineOptions::option_type option_type
 

Public Member Functions

 CommandLine (int ArgC, const char **ArgV)
 
const option_type Pop ()
 Obtain the next option from the container.
 

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 }
 
typedef std::ostream ostream
 
typedef int argc_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)
 
const option_type ProgramName () const
 Return the program name associated with this application.
 
const option_type ProgramName () const
 Return the program name associated with this application.
 

Static Protected Member Functions

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 }
 
typedef std::list< option_typeoption_container_type
 

Private Attributes

OptionSet m_options
 
const option_type m_program_name
 The program name associated with this application.
 

Member Typedef Documentation

◆ argc_type

◆ argv_type

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

◆ option_container_type

◆ option_type

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

◆ ostream

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 

◆ 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/2]

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

◆ InterpretBoolean() [2/2]

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

◆ Parse() [1/2]

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

◆ Parse() [2/2]

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

◆ Pop()

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

Obtain the next option from the container.

This does reduce the size by one.

◆ ProgramName() [1/2]

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

Return the program name associated with this application.

◆ ProgramName() [2/2]

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

◆ m_program_name

const option_type LDASTools::AL::CommandLineOptions::m_program_name
privateinherited

The program name associated with this application.

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