A representation of a file as an object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | file_name |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_t), | intent(in) | :: | file_name |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_t), | intent(in) | :: | lines(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(file_t), | intent(in) | :: | self | |||
| character(len=*), | intent(in) | :: | file_name |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(file_t), | intent(in) | :: | self |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(string_t), | private, | allocatable | :: | lines_(:) |
| private module function from_file_with_character_name (file_name) | |
| private module function from_file_with_string_name (file_name) | |
| private pure, module function from_lines (lines) |
| procedure, public :: lines | |
| generic, public :: write_lines => write_to_output_unit, write_to_character_file_name, write_to_string_file_name | |
| procedure, private :: write_to_character_file_name | |
| procedure, private :: write_to_output_unit | |
| procedure, private :: write_to_string_file_name |