ldas-tools-al  2.6.6
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 >, std::list< std::string >, and std::list< std::string >.

Public Member Functions

 CommandLineOptions (argc_type ArgC, argv_type ArgV)
 Constructor. More...
 
 CommandLineOptions (argc_type ArgC, char **ArgV)
 Constructor. More...
 
template<typename ARGS >
 CommandLineOptions (const ARGS &Args)
 Constructor. 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.
 
 CommandLineOptions (argc_type ArgC, argv_type ArgV)
 Constructor. More...
 
 CommandLineOptions (argc_type ArgC, char **ArgV)
 Constructor. More...
 
template<typename ARGS >
 CommandLineOptions (const ARGS &Args)
 Constructor. 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.
 
 CommandLineOptions (argc_type ArgC, argv_type ArgV)
 Constructor. More...
 
 CommandLineOptions (argc_type ArgC, char **ArgV)
 Constructor. More...
 
template<typename ARGS >
 CommandLineOptions (const ARGS &Args)
 Constructor. 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.
 

Detailed Description

Maintains an ordered container of unparsed command line options.

Constructor & Destructor Documentation

◆ CommandLineOptions() [1/9]

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/9]

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/9]

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/9]

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/9]

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/9]

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

Constructor.

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

◆ CommandLineOptions() [7/9]

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() [8/9]

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() [9/9]

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/3]

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/3]

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

Obtain the next option from the container.

This does reduce the size by one.

◆ Pop() [3/3]

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: