Public Member Functions | |
| subroutine | str2ip (int_ptr, string_in) |
| subroutine | str2rp (real_ptr, string_in) |
| subroutine | str2dp (double_ptr, string_in) |
Definition at line 120 of file dc_string.f90.
| subroutine dc_string::get_array::str2dp | ( | real(dp), dimension(:), pointer | double_ptr, |
| character(len = *), intent(in) | string_in ) |
Parse comma-separated string to double precision real array pointer
Parses string_in separated by comma "," and returns double precision real array pointer double_ptr(:). The array size is determined automatically based on string content. double_ptr must be null or undefined when passed. Memory leak occurs if already allocated.
| [out] | double_ptr | Double precision real array pointer |
| [in] | string_in | Comma-separated string |
Definition at line 856 of file dc_string.f90.
| subroutine dc_string::get_array::str2ip | ( | integer, dimension(:), pointer | int_ptr, |
| character(len = *), intent(in) | string_in ) |
Parse comma-separated string to integer array pointer
Parses string_in separated by comma "," and returns integer array pointer int_ptr(:). The array size is determined automatically based on string content. int_ptr must be null or undefined when passed. Memory leak occurs if already allocated.
| [out] | int_ptr | Integer array pointer |
| [in] | string_in | Comma-separated string |
Definition at line 760 of file dc_string.f90.
| subroutine dc_string::get_array::str2rp | ( | real(sp), dimension(:), pointer | real_ptr, |
| character(len = *), intent(in) | string_in ) |
Parse comma-separated string to single precision real array pointer
Parses string_in separated by comma "," and returns single precision real array pointer real_ptr(:). The array size is determined automatically based on string content. real_ptr must be null or undefined when passed. Memory leak occurs if already allocated.
| [out] | real_ptr | Single precision real array pointer |
| [in] | string_in | Comma-separated string |
Definition at line 808 of file dc_string.f90.