V3FIT
Data Types | Modules | Functions/Subroutines | Variables
bmw_commandline_parser.f File Reference

Contains module bmw_commandline_parser. More...

Go to the source code of this file.

Data Types

type  bmw_commandline_parser::bmw_commandline_parser_class
 Base class containing a parsed bmw_commandline. More...
 

Modules

module  bmw_commandline_parser
 Defines the base class of the type bmw_commandline_parser_class.
 

Functions/Subroutines

type(bmw_commandline_parser_class) function, pointer bmw_commandline_parser::bmw_commandline_parser_construct (parallel)
 Construct a bmw_commandline_parser_class object. More...
 
subroutine bmw_commandline_parser::bmw_commandline_parser_destruct (this)
 Deconstruct a bmw_commandline_parser_class object. More...
 
character(len=path_length) function bmw_commandline_parser::bmw_commandline_parser_get_string (this, arg)
 Get the value of an argument as a string. More...
 
integer function bmw_commandline_parser::bmw_commandline_parser_get_integer (this, arg, default_value)
 Get the value of an argument as an integer. More...
 
real(rprec) function bmw_commandline_parser::bmw_commandline_parser_get_real (this, arg, default_value)
 Get the value of an argument as a Real. More...
 
logical function bmw_commandline_parser::bmw_commandline_parser_is_flag_set (this, arg)
 Check if a command line argument was set. More...
 
subroutine bmw_commandline_parser::bmw_commandline_parser_flag_requires_value (this, index)
 Check if a command line argument requires a value. More...
 
subroutine bmw_commandline_parser::bmw_commandline_parser_print_help
 Print out help text. More...
 

Variables

integer, parameter, private bmw_commandline_parser::max_arg_length = 8
 Maximum length of the argument including the '-' character.
 
integer, parameter, private bmw_commandline_parser::max_length = path_length + max_arg_length + 1
 Maximum length of the complete flag. All command line flags take the form of '-flag=value'.
 
integer, parameter bmw_commandline_parser::bmw_commandline_parser_no_error = 0
 Commandline argument not found.
 
integer, parameter bmw_commandline_parser::bmw_commandline_parser_arg_not_found = -1
 Commandline argument not found.
 

Detailed Description

Contains module bmw_commandline_parser.

Definition in file bmw_commandline_parser.f.