16#ifndef AEONGUI_SVGNUMBERLIST_HPP
17#define AEONGUI_SVGNUMBERLIST_HPP
41 unsigned long length()
const;
57 float getItem (
unsigned long index )
const;
69 float replaceItem (
float newItem,
unsigned long index );
83 std::vector<float> mItems;
float insertItemBefore(float newItem, unsigned long index)
Insert an item before the given index.
Definition SVGNumberList.cpp:57
float replaceItem(float newItem, unsigned long index)
Replace the item at the given index.
Definition SVGNumberList.cpp:67
float removeItem(unsigned long index)
Remove the item at the given index.
Definition SVGNumberList.cpp:77
float getItem(unsigned long index) const
Get the item at the given index.
Definition SVGNumberList.cpp:48
void clear()
Remove all items.
Definition SVGNumberList.cpp:36
~SVGNumberList()
Destructor.
SVGNumberList()
Default constructor.
float initialize(float newItem)
Clear and set a single item.
Definition SVGNumberList.cpp:41
unsigned long numberOfItems() const
Get the number of items (alias).
Definition SVGNumberList.cpp:31
unsigned long length() const
Get the number of items.
Definition SVGNumberList.cpp:26
float appendItem(float newItem)
Append an item to the end.
Definition SVGNumberList.cpp:88