ldas-tools-al 2.6.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LDASTools::AL::CommandLineOptions Class Reference

Maintains an ordered container of unparsed command line options. More...

#include <CommandLineOptions.hh>

Inherits std::list< std::string >, and std::list< std::string >.

Public Member Functions

 CommandLineOptions (argc_type ArgC, argv_type ArgV)
 Constructor.
 
 CommandLineOptions (argc_type ArgC, char **ArgV)
 Constructor.
 
template<typename ARGS >
 CommandLineOptions (const ARGS &Args)
 Constructor.
 
const option_type Pop ()
 Obtain the next option from the container.
 
const option_type ProgramName () const
 Return the program name associated with this application.
 
 CommandLineOptions (argc_type ArgC, argv_type ArgV)
 Constructor.
 
 CommandLineOptions (argc_type ArgC, char **ArgV)
 Constructor.
 
template<typename ARGS >
 CommandLineOptions (const ARGS &Args)
 Constructor.
 
const option_type Pop ()
 Obtain the next option from the container.
 
const option_type ProgramName () const
 Return the program name associated with this application.
 

Detailed Description

Maintains an ordered container of unparsed command line options.

Constructor & Destructor Documentation

◆ CommandLineOptions() [1/6]

LDASTools::AL::CommandLineOptions::CommandLineOptions ( argc_type ArgC,
argv_type ArgV )

Constructor.

Parameters
[in]ArgCNumber of arguments being passed.
[in]ArgVArray of parameters
Returns
New instance of this object.

◆ CommandLineOptions() [2/6]

LDASTools::AL::CommandLineOptions::CommandLineOptions ( argc_type ArgC,
char ** ArgV )

Constructor.

Parameters
[in]ArgCNumber of arguments being passed.
[in]ArgVArray of parameters
Returns
New instance of this object.

◆ CommandLineOptions() [3/6]

template<typename ARGS >
LDASTools::AL::CommandLineOptions::CommandLineOptions ( const ARGS & Args)
inline

Constructor.

Parameters
[in]ArgsContainer of arguments
Returns
New instance of this object.

◆ CommandLineOptions() [4/6]

LDASTools::AL::CommandLineOptions::CommandLineOptions ( argc_type ArgC,
argv_type ArgV )

Constructor.

Parameters
[in]ArgCNumber of arguments being passed.
[in]ArgVArray of parameters
Returns
New instance of this object.

◆ CommandLineOptions() [5/6]

LDASTools::AL::CommandLineOptions::CommandLineOptions ( argc_type ArgC,
char ** ArgV )

Constructor.

Parameters
[in]ArgCNumber of arguments being passed.
[in]ArgVArray of parameters
Returns
New instance of this object.

◆ CommandLineOptions() [6/6]

template<typename ARGS >
LDASTools::AL::CommandLineOptions::CommandLineOptions ( const ARGS & Args)
inline

Constructor.

Parameters
[in]ArgsContainer of arguments
Returns
New instance of this object.

Member Function Documentation

◆ Pop() [1/2]

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

Obtain the next option from the container.

This does reduce the size by one.

◆ Pop() [2/2]

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

Obtain the next option from the container.

This does reduce the size by one.


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