-
Notifications
You must be signed in to change notification settings - Fork 0
/
solformat_enum.go
35 lines (28 loc) · 1007 Bytes
/
solformat_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 MSKsolformat_enum/SolFormat
package gmsk
// #include <mosek.h>
import "C"
import "strconv"
// SolFormat is MSKsolformat_enum.
//
// Data format types
type SolFormat uint32
const (
SOL_FORMAT_EXTENSION SolFormat = C.MSK_SOL_FORMAT_EXTENSION // The file extension is used to determine the data file format.
SOL_FORMAT_B SolFormat = C.MSK_SOL_FORMAT_B // Simple binary format
SOL_FORMAT_TASK SolFormat = C.MSK_SOL_FORMAT_TASK // Tar based format.
SOL_FORMAT_JSON_TASK SolFormat = C.MSK_SOL_FORMAT_JSON_TASK // JSON based format.
)
var _SolFormat_map = map[SolFormat]string{
SOL_FORMAT_EXTENSION: "SOL_FORMAT_EXTENSION",
SOL_FORMAT_B: "SOL_FORMAT_B",
SOL_FORMAT_TASK: "SOL_FORMAT_TASK",
SOL_FORMAT_JSON_TASK: "SOL_FORMAT_JSON_TASK",
}
func (e SolFormat) String() string {
if v, ok := _SolFormat_map[e]; ok {
return v
}
return "SolFormat(" + strconv.FormatInt(int64(e), 10) + ")"
}