MapClipboard

Implements a clipboard for maps, with history.

Constructors

this
this(size_t historyLength)

Creates an instance of this class, with the given number of maximum items.

Members

Functions

addItem
void addItem(Item i)

Adds a new element to the clipboard.

getItem
Item getItem(size_t n)

Returns the n-th element from the clipboard.

Structs

Item
struct Item

A single entry in the clipboard.

Variables

items
Item[] items;

List of items on the clipboard

Meta