A class containing methodes for displaying several standard messages.
More...
A class containing methodes for displaying several standard messages.
Definition at line 24 of file Messages.m.
◆ Messages()
Constructor of the class.
- Parameters
-
Opt | An instance of the structure Opt. |
- Returns
- An instance of the class Messages
◆ BadInputType()
static function Messages::BadInputType |
( |
variable |
, |
|
|
type |
|
|
) |
| |
|
static |
Throws a "bad input type" warning, with using the default value.
- Parameters
-
variable | A string conatining the name of the variable. |
type | A string describing the desired type. |
◆ BadInputTypeNoDefault()
static function Messages::BadInputTypeNoDefault |
( |
variable |
, |
|
|
type |
|
|
) |
| |
|
static |
Throws a "bad input type" warning without setting it to default.
- Parameters
-
variable | A string conatining the name of the variable. |
type | A string describing the desired type. |
◆ display()
function Messages::display |
( |
message |
, |
|
|
nosilent |
|
|
) |
| |
Displays output messages on the screen.
- Parameters
-
message | String containing the message to be displayed |
nosilent | Set true to override the silent option given in Opt.Silent. |
◆ ExceedIteration()
static function Messages::ExceedIteration |
( |
| ) |
|
|
static |
Throws an "iteration exceeded" warning.
◆ getOpt()
Retrives the structure containing the calculation parameters.
- Returns
- Return an instance of structure Opt.
◆ Opt
The documentation for this class was generated from the following file: