-
Notifications
You must be signed in to change notification settings - Fork 0
/
streamtype_enum.go
35 lines (28 loc) · 1.11 KB
/
streamtype_enum.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
27
28
29
30
31
32
33
34
35
// Automatically generated by github.com/fardream/gen-gmsk
// enum for MSKstreamtype_enum/StreamType
package gmsk
// #include <mosek.h>
import "C"
import "strconv"
// StreamType is MSKstreamtype_enum.
//
// Stream types
type StreamType uint32
const (
STREAM_LOG StreamType = C.MSK_STREAM_LOG // Log stream. Contains the aggregated contents of all other streams. This means that a message written to any other stream will also be written to this stream.
STREAM_MSG StreamType = C.MSK_STREAM_MSG // Message stream. Log information relating to performance and progress of the optimization is written to this stream.
STREAM_ERR StreamType = C.MSK_STREAM_ERR // Error stream. Error messages are written to this stream.
STREAM_WRN StreamType = C.MSK_STREAM_WRN // Warning stream. Warning messages are written to this stream.
)
var _StreamType_map = map[StreamType]string{
STREAM_LOG: "STREAM_LOG",
STREAM_MSG: "STREAM_MSG",
STREAM_ERR: "STREAM_ERR",
STREAM_WRN: "STREAM_WRN",
}
func (e StreamType) String() string {
if v, ok := _StreamType_map[e]; ok {
return v
}
return "StreamType(" + strconv.FormatInt(int64(e), 10) + ")"
}