It converts various lists or data structures into a list.
It creates a list with a same entity as char1 into a list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 |
This entity will be repeated for all contents in a returned list. |
||
integer(kind=int32), | intent(in) | :: | num_repeat |
Number of the repeat. |
Create a list with a length of 1, where the entity char1 is the content.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 |
The entity char1 is the content. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 | |||
character(len=*), | intent(in) | :: | char5 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 | |||
character(len=*), | intent(in) | :: | char5 | |||
character(len=*), | intent(in) | :: | char6 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 | |||
character(len=*), | intent(in) | :: | char5 | |||
character(len=*), | intent(in) | :: | char6 | |||
character(len=*), | intent(in) | :: | char7 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | int32vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in) | :: | real32vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | real64vec(:) |
This merges two lists into a list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_), | intent(in) | :: | list1 | |||
type(List_), | intent(in) | :: | list2 |
This merges two contents of a list into a list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_fix_content_), | intent(in) | :: | List_content_1 | |||
type(List_fix_content_), | intent(in) | :: | List_content_2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_fix_content_), | intent(in) | :: | List_content_1(:) | |||
type(List_fix_content_), | intent(in) | :: | List_content_2(:) |
This is a GET operator for a list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_), | intent(in) | :: | this_list | |||
integer(kind=int32), | intent(in) | :: | idx |
This returns a list of the command line arguments.
This converts list to a string (an allocatable array of character.)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(in) | :: | this |
String-like data content. This is not used for compatibility.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | char |
String-like data content. This is not used for compatibility. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=200), | public | :: | char |
This is a data content. Please change the word limit of 200 if you need. |
|||
integer(kind=int32), | public | :: | char_len |
Effective character length: if "hello" in char, the char_len should be 5. |
This is a derived type of list, where we can create a list instance and do some basic operations such as GET, APPEND, SPLIT.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(List_content_), | public, | allocatable | :: | content(:) |
This attribute is no used. |
||
type(List_fix_content_), | public, | allocatable | :: | fcontent(:) |
This attribute is active. All entities in a list are contained in this list. |
||
type(List_), | public, | allocatable | :: | list(:) |
A list instance can have an array of list. |
procedure, public :: get => get_list_content_listclass | ../../../ GET operation for a list instance. |
procedure, public :: append => append_list_content_listclass | ../../../ APPEND operation for a list instance. |
procedure, public :: new => new_list_listclass | ../../../ Initialize and allocate list by a number of content. |
procedure, public :: print => print_listclass | ../../../ It shows the all content in the terminal. |
procedure, public :: size => size_listclass | ../../../ It returns a number of entities of list. |
procedure, public :: help => help_listclass | ../../../ It shows the help of the listclass. |
procedure, public :: split => split_char_into_list | ../../../ It sets entities by splitting a string by a delimiter. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(in) | :: | this | |||
integer(kind=int32), | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_fix_content_), | intent(in) | :: | List_content_1 | |||
type(List_fix_content_), | intent(in) | :: | List_content_2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_fix_content_), | intent(in) | :: | List_content_1(:) | |||
type(List_fix_content_), | intent(in) | :: | List_content_2(:) |
It creates a list with a same entity as char1 into a list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 |
This entity will be repeated for all contents in a returned list. |
||
integer(kind=int32), | intent(in) | :: | num_repeat |
Number of the repeat. |
Create a list with a length of 1, where the entity char1 is the content.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 |
The entity char1 is the content. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 | |||
character(len=*), | intent(in) | :: | char5 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 | |||
character(len=*), | intent(in) | :: | char5 | |||
character(len=*), | intent(in) | :: | char6 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char1 | |||
character(len=*), | intent(in) | :: | char2 | |||
character(len=*), | intent(in) | :: | char3 | |||
character(len=*), | intent(in) | :: | char4 | |||
character(len=*), | intent(in) | :: | char5 | |||
character(len=*), | intent(in) | :: | char6 | |||
character(len=*), | intent(in) | :: | char7 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | int32vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real32), | intent(in) | :: | real32vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | real64vec(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(List_), | intent(in) | :: | this_list | |||
integer(kind=int32), | intent(in) | :: | idx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(inout) | :: | this | |||
integer(kind=int32), | intent(in) | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | char |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(in) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(List_), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | str_val | |||
character(len=*), | intent(in) | :: | delimiter |