ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Fields | Public Methods | List of all members
Parsed Struct Reference

#include <arguments.hpp>

Inheritance diagram for Parsed:
[legend]
Collaboration diagram for Parsed:
[legend]

Class Description

Struct used as parent for types

Stores

Note
For technical reasons, other members that are shared between the derived types named above, have to be declared (each three times) with the types themselves.

Definition at line 39 of file arguments.hpp.

Public Fields

CommandLineCmdLine
 
integer Position
 
integer QtyArgsConsumed
 

Public Methods

 Parsed (CommandLine *cmdLine)
 

Constructor & Destructor Documentation

◆ Parsed()

Parsed ( CommandLine cmdLine)
inline

Constructor

Parameters
cmdLineThe command line instance.

Definition at line 57 of file arguments.hpp.

Member Data Documentation

◆ CmdLine

CommandLine* CmdLine

The cli command line.

Definition at line 42 of file arguments.hpp.

◆ Position

integer Position

The index in CommandLine::ArgNOriginal, respectively CommandLine::ArgWOriginal that this instance (derived option or parameter ) was found.

Definition at line 46 of file arguments.hpp.

◆ QtyArgsConsumed

integer QtyArgsConsumed

The number of command line arguments that a command consumed. This includes the command name itself. If method Read of derived types leaves this to 0, then the option or parameter was not found.

Definition at line 51 of file arguments.hpp.


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