Definition at line 34 of file enum_generator.f90.
◆ assign_enumerator()
| subroutine enum_generator_m::assignment(=)::assign_enumerator |
( |
class(enumerator_t), intent(out) | lhs, |
|
|
class(enumerator_t), intent(in) | rhs ) |
Definition at line 110 of file enum_generator.f90.
111 implicit none
112 class(enumerator_t), intent(out) :: lhs
113 class(enumerator_t), intent(in) :: rhs
114
115 if(.not.same_type_as(lhs,rhs)) then
116 call error_handling%abort('enumerator_t types not equivalent in setter subroutine')
117 endif
118
119 if(.not.rhs%set) then
120 call error_handling%abort('RHS enumerator_t type not set in comparison')
121 endif
122
123 lhs%id = rhs%id
124 lhs%set = .true.
125
References error_handling_m::error_handling.
The documentation for this interface was generated from the following file: