package pflag

import 

// -- uint64 Value
type uint64Value uint64

func newUint64Value( uint64,  *uint64) *uint64Value {
	* = 
	return (*uint64Value)()
}

func ( *uint64Value) ( string) error {
	,  := strconv.ParseUint(, 0, 64)
	* = uint64Value()
	return 
}

func ( *uint64Value) () string {
	return "uint64"
}

func ( *uint64Value) () string { return strconv.FormatUint(uint64(*), 10) }

func uint64Conv( string) (interface{}, error) {
	,  := strconv.ParseUint(, 0, 64)
	if  != nil {
		return 0, 
	}
	return uint64(), nil
}

// GetUint64 return the uint64 value of a flag with the given name
func ( *FlagSet) ( string) (uint64, error) {
	,  := .getFlagType(, "uint64", uint64Conv)
	if  != nil {
		return 0, 
	}
	return .(uint64), nil
}

// Uint64Var defines a uint64 flag with specified name, default value, and usage string.
// The argument p points to a uint64 variable in which to store the value of the flag.
func ( *FlagSet) ( *uint64,  string,  uint64,  string) {
	.VarP(newUint64Value(, ), , "", )
}

// Uint64VarP is like Uint64Var, but accepts a shorthand letter that can be used after a single dash.
func ( *FlagSet) ( *uint64, ,  string,  uint64,  string) {
	.VarP(newUint64Value(, ), , , )
}

// Uint64Var defines a uint64 flag with specified name, default value, and usage string.
// The argument p points to a uint64 variable in which to store the value of the flag.
func ( *uint64,  string,  uint64,  string) {
	CommandLine.VarP(newUint64Value(, ), , "", )
}

// Uint64VarP is like Uint64Var, but accepts a shorthand letter that can be used after a single dash.
func ( *uint64, ,  string,  uint64,  string) {
	CommandLine.VarP(newUint64Value(, ), , , )
}

// Uint64 defines a uint64 flag with specified name, default value, and usage string.
// The return value is the address of a uint64 variable that stores the value of the flag.
func ( *FlagSet) ( string,  uint64,  string) *uint64 {
	 := new(uint64)
	.Uint64VarP(, , "", , )
	return 
}

// Uint64P is like Uint64, but accepts a shorthand letter that can be used after a single dash.
func ( *FlagSet) (,  string,  uint64,  string) *uint64 {
	 := new(uint64)
	.Uint64VarP(, , , , )
	return 
}

// Uint64 defines a uint64 flag with specified name, default value, and usage string.
// The return value is the address of a uint64 variable that stores the value of the flag.
func ( string,  uint64,  string) *uint64 {
	return CommandLine.Uint64P(, "", , )
}

// Uint64P is like Uint64, but accepts a shorthand letter that can be used after a single dash.
func (,  string,  uint64,  string) *uint64 {
	return CommandLine.Uint64P(, , , )
}