Component-wise constructor of a vertex_t object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | edges(:) |
vertices on which this vertex depends |
||
| type(varying_string), | intent(in) | :: | label |
vertex description (e.g., name) |
||
| type(varying_string), | intent(in), | optional | :: | attributes |
Graphvizl .dot symbol description |
Construct a scalar array vertex_t or an array of objects from a JSON representation of a vertex or vertices
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(json_element_t), | intent(in) | :: | json_element |
Construct a single vertex_t object from a JSON representation of a vertex
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(json_value_t), | intent(in) | :: | json_value |
Vertex attributes getter
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vertex_t), | intent(in) | :: | self |
Result is the array element numbers of the vertices on which this vertex depends
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vertex_t), | intent(in) | :: | self |
Result is .true. iff the edges component is allocated
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vertex_t), | intent(in) | :: | self |
construct a vertexa_t object from a jsonff JSON object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(json_object_t), | intent(in) | :: | json_object |
Vertex label getter
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vertex_t), | intent(in) | :: | self |
Result is a JSON representation of self
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vertex_t), | intent(in) | :: | self |
Encapsulate a node in a graph comprised of vertices connected by dependencies (edges)
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(varying_string), | private | :: | attributes_ | ||||
| integer, | private, | allocatable | :: | edges_(:) | |||
| type(varying_string), | private | :: | label_ |
| private pure, module function construct_from_components (edges, label, attributes) | Component-wise constructor of a vertex_t object |
| private impure, elemental, module function from_json_element (json_element) | Construct a scalar array vertex_t or an array of objects from a JSON representation of a vertex or vertices |
| private module function from_json_value (json_value) | Construct a single vertex_t object from a JSON representation of a vertex |
| procedure , public , :: attributes Interface | |
| procedure , public , :: edges Interface | |
| procedure , public , :: edges_allocated Interface | |
| procedure , public , :: label Interface | |
| procedure , public , :: to_json Interface |