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

Contains module commandline_parser. More...

Go to the source code of this file.

Data Types

type  commandline_parser::commandline_parser_class
 Base class containing a parsed commandline. More...
 

Modules

module  commandline_parser
 Defines the base class of the type commandline_parser_class.
 

Functions/Subroutines

type(commandline_parser_class) function, pointer commandline_parser::commandline_parser_construct ()
 Construct a commandline_parser_class object. More...
 
subroutine commandline_parser::commandline_parser_destruct (this)
 Deconstruct a commandline_parser_class object. More...
 
character(len=path_length) function commandline_parser::commandline_parser_get_string (this, arg)
 Get the value of an argument as a string. More...
 
integer function commandline_parser::commandline_parser_get_integer (this, arg, default_value)
 Get the value of an argument as an integer. More...
 
real(rprec) function commandline_parser::commandline_parser_get_real (this, arg, default_value)
 Get the value of an argument as a Real. More...
 
logical function commandline_parser::commandline_parser_is_flag_set (this, arg)
 Check if a command line argument was set. More...
 
subroutine commandline_parser::commandline_parser_print_help
 Print out help text. More...
 

Variables

integer, parameter, private commandline_parser::max_arg_length = 8
 Maximum length of the argument including the '-' character.
 
integer, parameter, private 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 commandline_parser::commandline_parser_no_error = 0
 Commandline argument not found.
 
integer, parameter commandline_parser::commandline_parser_arg_not_found = -1
 Commandline argument not found.
 

Detailed Description

Contains module commandline_parser.

Definition in file commandline_parser.f.