MONC
|
Converts data types to integers. More...
Private Member Functions | |
integer function, pointer | generic_to_integer (generic, makecopy) |
Converts a generic to an integer. More... | |
integer function | string_to_integer (string) |
Converts a string to an integer. More... | |
integer function | real_to_integer (input) |
Converts a real to an integer. More... | |
integer function | logical_to_integer (input) |
Converts a logical to an integer. More... | |
Converts data types to integers.
For the generic input then a flag indicating whether to make a copy of the underlying generic data or not is required. For all other data this copy is made automatically and no flag is required
data | The data to convert into an integer |
copyflag | For generic data only: Whether to use a copy of the structured data or not |
Definition at line 49 of file conversions.F90.
|
private |
Converts a generic to an integer.
generic | The generic to convert into an integer |
makecopy | Whether to use a copy of the generic data or not |
Definition at line 493 of file conversions.F90.
|
private |
Converts a logical to an integer.
input | The logical to convert into an integer |
Definition at line 531 of file conversions.F90.
|
private |
Converts a real to an integer.
input | The real to convert into an integer |
Definition at line 522 of file conversions.F90.
|
private |
Converts a string to an integer.
string | The string to convert into an integer |
Definition at line 513 of file conversions.F90.