A single line of formatted test for input.
More...
Detailed Description
A single line of formatted test for input.
Function/Subroutine Documentation
subroutine pmc_spec_line::spec_line_allocate |
( |
type(spec_line_t),intent(out) |
spec_line ) |
|
Allocates memory for a spec_line.
- Parameters:
-
spec_line | Struct to alloc. |
subroutine pmc_spec_line::spec_line_allocate_size |
( |
type(spec_line_t),intent(out) |
spec_line, |
|
|
integer,intent(in) |
n_data |
|
) |
| |
Allocates memory for a spec_line of the given size.
- Parameters:
-
spec_line | Struct to alloc. |
n_data | Number of data items. |
subroutine pmc_spec_line::spec_line_copy |
( |
type(spec_line_t),intent(in) |
from_spec_line, |
|
|
type(spec_line_t),intent(inout) |
to_spec_line |
|
) |
| |
Copies a spec_line.
- Parameters:
-
from_spec_line | Original spec_line. |
to_spec_line | Destination, already alloced. |
subroutine pmc_spec_line::spec_line_deallocate |
( |
type(spec_line_t),intent(inout) |
spec_line ) |
|
Frees all storage.
- Parameters:
-
subroutine pmc_spec_line::spec_line_strip_comment |
( |
character(len=*),intent(inout) |
string ) |
|
Strip the comments from a string. Comments are everything after the first # character.
- Parameters:
-
string | Complete input string. |
subroutine pmc_spec_line::spec_line_strip_leading_spaces |
( |
character(len=*),intent(inout) |
string ) |
|
Strip leading spaces from a string.
- Parameters:
-
string | Complete input string. |
subroutine pmc_spec_line::spec_line_tabs_to_spaces |
( |
character(len=*),intent(inout) |
string ) |
|
Expand all tabs in a string into single spaces (one tab makes one space).
- Parameters:
-
string | Complete input string. |
Variable Documentation
Maximum size of a single line.
Maximum size of a variable.