CAMP 1.0.0
Chemistry Across Multiple Phases
|
Property link data. More...
Public Member Functions | |
procedure | key (this) |
Get the key name. | |
procedure | set_value (this, val) |
Set the value. | |
procedure | value_int (this) |
Get the int value. | |
procedure | value_real (this) |
Get the real value. | |
procedure | value_logical (this) |
Get the logical value. | |
procedure | value_string (this) |
Get the string value. | |
procedure | value_property_t (this) |
Get the property sub-set. | |
procedure | print (this, suffix, file_unit) |
Print the contents of a property key-value pair. | |
final | link_finalize (this) |
Finalize. | |
Public Attributes | |
class(*), pointer | val => null() |
Value. | |
type(property_link_t), pointer | next_link => null() |
Next link. | |
Private Attributes | |
character(:), allocatable | key_name |
Key name. | |
Property link data.
An element of a property data set. Property values can be of any primitive type or be a pointer to a sub-set of property data. The property_link_t object is for internal use in the camp_property module. All interactions with property data should be made using property_t objects.
Definition at line 93 of file property.F90.
|
final |
Finalize.
[in,out] | this | Property key-value pair |
Definition at line 119 of file property.F90.
procedure camp_property::property_link_t::key | ( | class(property_link_t), intent(in) | this | ) |
Get the key name.
[in] | this | Property key-value pair |
Definition at line 103 of file property.F90.
procedure camp_property::property_link_t::print | ( | class(property_link_t), intent(in) | this, |
character(len=*), intent(in) | suffix, | ||
integer(kind=i_kind), intent(in), optional | file_unit | ||
) |
Print the contents of a property key-value pair.
[in] | this | Property key-value pair |
[in] | suffix | Text to append to the end of the line |
[in] | file_unit | File unit for output |
Definition at line 117 of file property.F90.
procedure camp_property::property_link_t::set_value | ( | class(property_link_t), intent(inout) | this, |
class(*), intent(in) | val | ||
) |
Set the value.
[in,out] | this | Property key-value pair |
[in] | val | New value |
Definition at line 105 of file property.F90.
procedure camp_property::property_link_t::value_int | ( | class(property_link_t), intent(in) | this | ) |
Get the int value.
[in] | this | Property key-value pair |
Definition at line 107 of file property.F90.
procedure camp_property::property_link_t::value_logical | ( | class(property_link_t), intent(in) | this | ) |
Get the logical value.
[in] | this | Property key-value pair |
Definition at line 111 of file property.F90.
procedure camp_property::property_link_t::value_property_t | ( | class(property_link_t), intent(in) | this | ) |
Get the property sub-set.
[in] | this | Property key-value pair |
Definition at line 115 of file property.F90.
procedure camp_property::property_link_t::value_real | ( | class(property_link_t), intent(in) | this | ) |
Get the real value.
[in] | this | Property key-value pair |
Definition at line 109 of file property.F90.
procedure camp_property::property_link_t::value_string | ( | class(property_link_t), intent(in) | this | ) |
Get the string value.
[in] | this | Property key-value pair |
Definition at line 113 of file property.F90.
|
private |
Key name.
Definition at line 96 of file property.F90.
type(property_link_t), pointer camp_property::property_link_t::next_link => null() |
Next link.
Definition at line 100 of file property.F90.
class(*), pointer camp_property::property_link_t::val => null() |
Value.
Definition at line 98 of file property.F90.