-
Notifications
You must be signed in to change notification settings - Fork 3
/
segmentationsupport_string.go
26 lines (20 loc) · 920 Bytes
/
segmentationsupport_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by "stringer -type=SegmentationSupport"; DO NOT EDIT.
package bacnet
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[SegmentationSupportBoth-0]
_ = x[SegmentationSupportTransmit-1]
_ = x[SegmentationSupportReceive-2]
_ = x[SegmentationSupportNone-3]
}
const _SegmentationSupport_name = "SegmentationSupportBothSegmentationSupportTransmitSegmentationSupportReceiveSegmentationSupportNone"
var _SegmentationSupport_index = [...]uint8{0, 23, 50, 76, 99}
func (i SegmentationSupport) String() string {
if i >= SegmentationSupport(len(_SegmentationSupport_index)-1) {
return "SegmentationSupport(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _SegmentationSupport_name[_SegmentationSupport_index[i]:_SegmentationSupport_index[i+1]]
}