CAMP 1.0.0
Chemistry Across Multiple Phases
|
The camp_property module. More...
Go to the source code of this file.
Data Types | |
interface | camp_property::property_t |
Property data. More... | |
type | camp_property::property_ptr |
interface | camp_property::property_link_t |
Property link data. More... | |
Modules | |
module | camp_property |
The property_t structure and associated subroutines. | |
Functions/Subroutines | |
type(property_t) function, pointer | camp_property::constructor () |
Constructor for property_t. | |
recursive subroutine | camp_property::load (this, json, j_obj, as_object, owner_name, allow_duplicates) |
Load a property set from input data. | |
recursive subroutine | camp_property::put (this, key, val, allow_duplicates, owner_name) |
Put an element in the property data set. | |
logical function | camp_property::get_key (this, key) |
Get the key name of the element currently pointed to by the iterator. Returns true if the iterator points to a key-value pair; false indicates the list is empty, the iterator was never reset, or the end of the list has been reached. Array elements return true, but have an empty key name. | |
logical function | camp_property::get_int (this, key, val) |
Get an integer value. The return value is true if the key-value pair was found, and false otherwise. If no key name is specified, the current value of the iterator is returned. In this case true indicates a current key-value exists; false indicates the list is empty, the iterator was never reset, or the end of the list has been reached. | |
logical function | camp_property::get_real (this, key, val) |
Get a real value. The return value is true if the key-value pair was found, and false otherwise. If no key name is specified, the current value of the iterator is returned. In this case true indicates a current key-value exists; false indicates the list is empty, the iterator was never reset, or the end of the list has been reached. | |
logical function | camp_property::get_logical (this, key, val) |
Get a logical value. The return value is true if the key-value pair was found, and false otherwise. If no key name is specified, the current value of the iterator is returned. In this case true indicates a current key-value exists; false indicates the list is empty, the iterator was never reset, or the end of the list has been reached. | |
logical function | camp_property::get_string (this, key, val) |
Get a string value. The return value is true if the key-value pair was found, and false otherwise. If no key name is specified, the current value of the iterator is returned. In this case true indicates a current key-value exists; false indicates the list is empty, the iterator was never reset, or the end of the list has been reached. | |
logical function | camp_property::get_property_t (this, key, val) |
Get a property sub-set. The return value is true if the key-value pair was found, and false otherwise. If no key name is specified, the current value of the iterator is returned. In this case true indicates a current key-value exists; false indicates the list is empty, the iterator was never reset, or the end of the list has been reached. | |
integer(kind=i_kind) function | camp_property::get_size (this) |
Get the number of elements in the property set. | |
subroutine | camp_property::iter_reset (this) |
Initialize the iterator. It will now point to the first property in the dataset, or be NULL in the case of an empty property dataset. | |
subroutine | camp_property::iter_next (this) |
Increment the interator. | |
elemental subroutine | camp_property::move (this, dest) |
Move data from one property_t instance to another. | |
subroutine | camp_property::update (this, source, owner_name) |
Update this property_t instance with data from another instance. | |
recursive subroutine | camp_property::do_print (this, file_unit) |
Print the contents of a property set. | |
elemental subroutine | camp_property::finalize (this) |
Finalize a property_t variable. | |
type(property_link_t) function, pointer | camp_property::get (this, key) |
Find a key-value pair by key name. Returns a null pointer if the key name is not found. | |
type(property_link_t) function, pointer | camp_property::link_constructor (key, val) |
Constructor for property_link_t. | |
character(:) function, allocatable | camp_property::key (this) |
Get the key name of a property. | |
subroutine | camp_property::set_value (this, val) |
Set the value of a property key-value pair. | |
integer(kind=i_kind) function | camp_property::value_int (this) |
Get the int value of a property. | |
real(kind=dp) function | camp_property::value_real (this) |
Get the real value of a property. | |
logical function | camp_property::value_logical (this) |
Get the logical value of a property. | |
character(len=:) function, allocatable | camp_property::value_string (this) |
Get the string value of a property. | |
type(property_t) function, pointer | camp_property::value_property_t (this) |
Get the property_t value of a property. | |
recursive subroutine | camp_property::link_do_print (this, suffix, file_unit) |
Print the contents of a property key-value pair. | |
elemental subroutine | camp_property::link_finalize (this) |
Finalize the property_link_t variable. | |
The camp_property module.
Definition in file property.F90.