{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package system\n\n## Functions\n\n```go\nfunc IDStrings() []string\n```\nIDStrings returns a slice of all String values of the enum\n\n## Types\n\n```go\ntype ID int\n```\n\n```go\nconst (\n\t// 1\n\t// 2\n\tTPC ID = 3\n\tTRD ID = 4\n\tTOF ID = 5\n\tHMP ID = 6\n\tPHS ID = 7\n\tCPV ID = 8\n\t// 9\n\tMCH ID = 10\n\t// 11-14\n\tZDC ID = 15\n\t// 16\n\tTRG ID = 17\n\tEMC ID = 18\n\tTST ID = 19\n\t// 20-31\n\tITS ID = 32\n\tFDD ID = 33\n\tFT0 ID = 34\n\tFV0 ID = 35\n\tMFT ID = 36\n\tMID ID = 37\n\tDCS ID = 38\n\tFOC ID = 39\n\n\tFIT ID = 254 // non-standard mapping: FT0 + FV0 = FIT\n\tNIL ID = 255\n)\n```\n\n```go\nconst (\n\tFLP ID = -1\n\tEPN ID = -2\n\tPDP ID = -3\n)\n```\nAdditional non-standard system IDs\n\n```go\nfunc IDString(s string) (ID, error)\n```\nIDString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.\n\n```go\nfunc IDValues() []ID\n```\nIDValues returns all values of the enum\n\n```go\nfunc (i ID) IsAID() bool\n```\nIsAID returns \"true\" if the value is listed in the enum definition. \"false\" otherwise\n\n```go\nfunc (i ID) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements the json.Marshaler interface for ID\n\n```go\nfunc (i ID) MarshalText() ([]byte, error)\n```\nMarshalText implements the encoding.TextMarshaler interface for ID\n\n```go\nfunc (i ID) MarshalYAML() (interface{}, error)\n```\nMarshalYAML implements a YAML Marshaler for ID\n\n```go\nfunc (i ID) String() string\n```\n\n```go\nfunc (i *ID) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements the json.Unmarshaler interface for ID\n\n```go\nfunc (i *ID) UnmarshalText(text []byte) error\n```\nUnmarshalText implements the encoding.TextUnmarshaler interface for ID\n\n```go\nfunc (i *ID) UnmarshalYAML(unmarshal func(interface{}) error) error\n```\nUnmarshalYAML implements a YAML Unmarshaler for ID\n\n```go\ntype IDMap map[ID]struct{}\n```\n\n```go\nfunc (m IDMap) StringList() []string\n```\n\n","path":"github.com/AliceO2Group/Control/common/system","name":"system","synopsis":"","isRedistributable":true}
