initialize the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
truncate the array, meaning cut off the trailing empty entries
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me |
empty the entries without changing arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me |
destroy the dynamic array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type), | intent(inout) | :: | me |
insert an element at a given position
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
append a value to the dynamic array and return its position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Indicates whether this instance and a specified object are equal.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_stringKeyValuePair_type), | intent(in) | :: | me | THe current instance. |
||
type(tem_stringKeyValuePair_type), | intent(in) | :: | other | The instance to compare with the current instance. |
.true. when both instances are equal, otherwise .false.
Indicates whether this instance and a specified object are equal.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_stringKeyValuePair_type), | intent(in) | :: | me | THe current instance. |
||
type(tem_stringKeyValuePair_type), | intent(in) | :: | other | The instance to compare with the current instance. |
.true. when both instances are equal, otherwise .false.
increase the size of the container for the array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Defines a key/value pair of strings that can be set or retrieved.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=labellen), | private | :: | key | The key in the key/value pair. It's length is limited to /ref labellen. |
|||
character(len=labellen), | private | :: | value | The value in the key/value pair. It's length is limited to /ref labellen. |
growing array type for type(tem_stringkeyvaluepair_type)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | nvals | = | 0 | ||
integer, | private | :: | containersize | = | 0 | ||
type(tem_stringKeyValuePair_type), | private, | allocatable | :: | val(:) |
Indicates whether this instance and a specified object are equal.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_stringKeyValuePair_type), | intent(in) | :: | me | THe current instance. |
||
type(tem_stringKeyValuePair_type), | intent(in) | :: | other | The instance to compare with the current instance. |
.true. when both instances are equal, otherwise .false.
Indicates whether this instance and a specified object are equal.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_stringKeyValuePair_type), | intent(in) | :: | me | THe current instance. |
||
type(tem_stringKeyValuePair_type), | intent(in) | :: | other | The instance to compare with the current instance. |
.true. when both instances are equal, otherwise .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type), | intent(out) | :: | me | |||
integer, | intent(in), | optional | :: | length |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type), | intent(inout) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me |
adds the value to a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
adds the values starting from a given position inside the growing array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val(:) | |||
integer, | intent(in) | :: | pos | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
type(tem_stringKeyValuePair_type), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | length | optional length to expand the array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_stringkeyvaluepairarray_type) | :: | me | ||||
integer, | intent(in), | optional | :: | pos | ||
integer, | intent(in), | optional | :: | length | optional length to expand the array |