This interface block provides the .in.
operator, which checks whether
an integer and a segment, an integer and a list of segments, or a segment
and a segment, is contained in the latter, respectively.
Checks if the given integer is within the specified segment.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | a | |||
type(segment_t), | intent(in) | :: | seg |
Check if the ginve integer is within any of specified segments in a list.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | a | |||
type(segment_t), | intent(in) | :: | seg_list(:) |
Check if the one segment is completely within another segment.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(segment_t), | intent(in) | :: | a | |||
type(segment_t), | intent(in) | :: | b |