2#include "error_handling.h"
16#define NAME_MAX_LEN 32
21 character(len=NAME_MAX_LEN) :: name
22 logical :: set = .false.
34 interface assignment(=)
88 pure elemental logical function is_equal(lhs, rhs)
115 if(.not.same_type_as(lhs,rhs))
then
116 call error_handling%abort(
'enumerator_t types not equivalent in setter subroutine')
119 if(.not.rhs%set)
then
120 call error_handling%abort(
'RHS enumerator_t type not set in comparison')
132 name = trim(adjustl(self%name))
pure elemental logical function is_set_enumerator(self)
subroutine assign_enumerator(lhs, rhs)
pure subroutine unset_enumerator(self)
pure elemental logical function is_equal(lhs, rhs)
pure type(string_t) function get_enumerator_name(self)
pure logical function not_equal(lhs, rhs)
type(error_handling_t), parameter, public error_handling