summaryrefslogtreecommitdiff
path: root/rrdformat/op_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'rrdformat/op_string.go')
-rw-r--r--rrdformat/op_string.go92
1 files changed, 92 insertions, 0 deletions
diff --git a/rrdformat/op_string.go b/rrdformat/op_string.go
new file mode 100644
index 0000000..4ec909b
--- /dev/null
+++ b/rrdformat/op_string.go
@@ -0,0 +1,92 @@
+// Code generated by "stringer -type=Op -trimprefix=OP_"; DO NOT EDIT.
+
+package rrdformat
+
+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[OP_NUMBER-0]
+ _ = x[OP_VARIABLE-1]
+ _ = x[OP_INF-2]
+ _ = x[OP_PREV-3]
+ _ = x[OP_NEGINF-4]
+ _ = x[OP_UNKN-5]
+ _ = x[OP_NOW-6]
+ _ = x[OP_TIME-7]
+ _ = x[OP_ADD-8]
+ _ = x[OP_MOD-9]
+ _ = x[OP_SUB-10]
+ _ = x[OP_MUL-11]
+ _ = x[OP_DIV-12]
+ _ = x[OP_SIN-13]
+ _ = x[OP_DUP-14]
+ _ = x[OP_EXC-15]
+ _ = x[OP_POP-16]
+ _ = x[OP_COS-17]
+ _ = x[OP_LOG-18]
+ _ = x[OP_EXP-19]
+ _ = x[OP_LT-20]
+ _ = x[OP_LE-21]
+ _ = x[OP_GT-22]
+ _ = x[OP_GE-23]
+ _ = x[OP_EQ-24]
+ _ = x[OP_IF-25]
+ _ = x[OP_MIN-26]
+ _ = x[OP_MAX-27]
+ _ = x[OP_LIMIT-28]
+ _ = x[OP_FLOOR-29]
+ _ = x[OP_CEIL-30]
+ _ = x[OP_UN-31]
+ _ = x[OP_END-32]
+ _ = x[OP_LTIME-33]
+ _ = x[OP_NE-34]
+ _ = x[OP_ISINF-35]
+ _ = x[OP_PREV_OTHER-36]
+ _ = x[OP_COUNT-37]
+ _ = x[OP_ATAN-38]
+ _ = x[OP_SQRT-39]
+ _ = x[OP_SORT-40]
+ _ = x[OP_REV-41]
+ _ = x[OP_TREND-42]
+ _ = x[OP_TRENDNAN-43]
+ _ = x[OP_ATAN2-44]
+ _ = x[OP_RAD2DEG-45]
+ _ = x[OP_DEG2RAD-46]
+ _ = x[OP_PREDICT-47]
+ _ = x[OP_PREDICTSIGMA-48]
+ _ = x[OP_AVG-49]
+ _ = x[OP_ABS-50]
+ _ = x[OP_ADDNAN-51]
+ _ = x[OP_MINNAN-52]
+ _ = x[OP_MAXNAN-53]
+ _ = x[OP_MEDIAN-54]
+ _ = x[OP_PREDICTPERC-55]
+ _ = x[OP_DEPTH-56]
+ _ = x[OP_COPY-57]
+ _ = x[OP_ROLL-58]
+ _ = x[OP_INDEX-59]
+ _ = x[OP_STEPWIDTH-60]
+ _ = x[OP_NEWDAY-61]
+ _ = x[OP_NEWWEEK-62]
+ _ = x[OP_NEWMONTH-63]
+ _ = x[OP_NEWYEAR-64]
+ _ = x[OP_SMIN-65]
+ _ = x[OP_SMAX-66]
+ _ = x[OP_STDEV-67]
+ _ = x[OP_PERCENT-68]
+ _ = x[OP_POW-69]
+}
+
+const _Op_name = "NUMBERVARIABLEINFPREVNEGINFUNKNNOWTIMEADDMODSUBMULDIVSINDUPEXCPOPCOSLOGEXPLTLEGTGEEQIFMINMAXLIMITFLOORCEILUNENDLTIMENEISINFPREV_OTHERCOUNTATANSQRTSORTREVTRENDTRENDNANATAN2RAD2DEGDEG2RADPREDICTPREDICTSIGMAAVGABSADDNANMINNANMAXNANMEDIANPREDICTPERCDEPTHCOPYROLLINDEXSTEPWIDTHNEWDAYNEWWEEKNEWMONTHNEWYEARSMINSMAXSTDEVPERCENTPOW"
+
+var _Op_index = [...]uint16{0, 6, 14, 17, 21, 27, 31, 34, 38, 41, 44, 47, 50, 53, 56, 59, 62, 65, 68, 71, 74, 76, 78, 80, 82, 84, 86, 89, 92, 97, 102, 106, 108, 111, 116, 118, 123, 133, 138, 142, 146, 150, 153, 158, 166, 171, 178, 185, 192, 204, 207, 210, 216, 222, 228, 234, 245, 250, 254, 258, 263, 272, 278, 285, 293, 300, 304, 308, 313, 320, 323}
+
+func (i Op) String() string {
+ if i >= Op(len(_Op_index)-1) {
+ return "Op(" + strconv.FormatInt(int64(i), 10) + ")"
+ }
+ return _Op_name[_Op_index[i]:_Op_index[i+1]]
+}