 |
Blamite Game Engine - Strings
00326.06.27.21.0407.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
35 list = std::vector<T>();
47 return list.at(index);
69 for (
int i = 0; i < list.size(); i++)
71 if (list.at(i) == item)
89 if (index > -1 && index < list.size())
BlamList()
Creates a new BlamList.
Definition: BlamList.h:33
bool IsOutOfRange(int index)
Determines if the given index is out of range of the list.
Definition: BlamList.h:87
Class representing a list of objects.
Definition: BlamList.h:14
BlamList(std::vector< T > _list)
Creates a new BlamList based on an existing vector.
Definition: BlamList.h:25
int Size()
Retrieves the size of the list.
Definition: BlamList.h:55
T At(int index)
Retrieves the item at the specified index.
Definition: BlamList.h:45
bool Contains(T item)
Determines if the list contains an item.
Definition: BlamList.h:67