enum

package
v0.0.66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

View Source
const (
	Err_MaxValue           = "max value error"
	ErrF_EnumValueOverflow = "enumeration value overflow: %v"
)
View Source
const (
	// EnumValueMin is a minimal value of an enumeration.
	EnumValueMin = 1
)

Limitations for enumeration value.

Variables

This section is empty.

Functions

func NewEnum

func NewEnum(maxValue base.IEnumValue) (base.IEnum, error)

func NewEnumFast

func NewEnumFast(maxValue base.IEnumValue) base.IEnum

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL