dictionary

package
v0.0.0-...-e3369bb Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignedValue

type AssignedValue struct {
	Value fix.Value
}

AssignedValue means the previous value has been evaluated and is not nil

type Dictionary

type Dictionary struct {
	// contains filtered or unexported fields
}

Dictionary represents a key value store of values

func New

func New() Dictionary

New dictionary to hold key/value pairs within

func (Dictionary) GetValue

func (dictionary Dictionary) GetValue(key string) Value

GetValue gets the associated value with the key. If no value is associated this returns UndefinedValue

func (*Dictionary) Reset

func (dictionary *Dictionary) Reset()

Reset the internal set of key/value pairs to be empty

func (*Dictionary) SetValue

func (dictionary *Dictionary) SetValue(key string, value fix.Value)

SetValue sets the associated value with the key

type EmptyValue

type EmptyValue struct {
}

EmptyValue means the previous value has been evaluated and is nil

type UndefinedValue

type UndefinedValue struct {
}

UndefinedValue means the previous value has not been set

type Value

type Value interface {
}

Value represents a value associated with a key

Jump to

Keyboard shortcuts

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