CAMP 1.0.0
Chemistry Across Multiple Phases
Public Member Functions | Public Attributes | Private Attributes | List of all members
camp_property::property_link_t Interface Reference

Property link data. More...

Collaboration diagram for camp_property::property_link_t:
Collaboration graph
[legend]

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ link_finalize()

final camp_property::property_link_t::link_finalize ( type(property_link_t), intent(inout)  this)
final

Finalize.

Parameters
[in,out]thisProperty key-value pair

Definition at line 119 of file property.F90.

Here is the call graph for this function:

Member Function/Subroutine Documentation

◆ key()

procedure camp_property::property_link_t::key ( class(property_link_t), intent(in)  this)

Get the key name.

Returns
Key name
Parameters
[in]thisProperty key-value pair

Definition at line 103 of file property.F90.

◆ print()

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.

Parameters
[in]thisProperty key-value pair
[in]suffixText to append to the end of the line
[in]file_unitFile unit for output

Definition at line 117 of file property.F90.

◆ set_value()

procedure camp_property::property_link_t::set_value ( class(property_link_t), intent(inout)  this,
class(*), intent(in)  val 
)

Set the value.

Parameters
[in,out]thisProperty key-value pair
[in]valNew value

Definition at line 105 of file property.F90.

◆ value_int()

procedure camp_property::property_link_t::value_int ( class(property_link_t), intent(in)  this)

Get the int value.

Returns
Value
Parameters
[in]thisProperty key-value pair

Definition at line 107 of file property.F90.

◆ value_logical()

procedure camp_property::property_link_t::value_logical ( class(property_link_t), intent(in)  this)

Get the logical value.

Returns
Value
Parameters
[in]thisProperty key-value pair

Definition at line 111 of file property.F90.

◆ value_property_t()

procedure camp_property::property_link_t::value_property_t ( class(property_link_t), intent(in)  this)

Get the property sub-set.

Returns
Value
Parameters
[in]thisProperty key-value pair

Definition at line 115 of file property.F90.

◆ value_real()

procedure camp_property::property_link_t::value_real ( class(property_link_t), intent(in)  this)

Get the real value.

Returns
Value
Parameters
[in]thisProperty key-value pair

Definition at line 109 of file property.F90.

◆ value_string()

procedure camp_property::property_link_t::value_string ( class(property_link_t), intent(in)  this)

Get the string value.

Returns
Value
Parameters
[in]thisProperty key-value pair

Definition at line 113 of file property.F90.

Member Data Documentation

◆ key_name

character(:), allocatable camp_property::property_link_t::key_name
private

Key name.

Definition at line 96 of file property.F90.

◆ next_link

type(property_link_t), pointer camp_property::property_link_t::next_link => null()

Next link.

Definition at line 100 of file property.F90.

◆ val

class(*), pointer camp_property::property_link_t::val => null()

Value.

Definition at line 98 of file property.F90.


The documentation for this interface was generated from the following file: