27 #pragma warning (push)
28 #pragma warning (disable: 4512)
55template <
class ElementType,
class TypeOfCriticalSectionToUse = DummyCriticalSection>
143 inline ElementType
operator[] (
const int index)
const noexcept
178 inline const ElementType&
getReference (
const int index)
const noexcept
336 template <
class OtherSetType>
394 template <
class OtherSetType>
406 for (
int i = data.
size(); --i >= 0;)
419 template <
class OtherSetType>
433 for (
int i = data.
size(); --i >= 0;)
445 template <
class OtherSetType>
491 #pragma warning (pop)
void swapWith(OtherArrayType &otherArray) noexcept
ElementType getUnchecked(int index) const
bool isEmpty() const noexcept
void ensureStorageAllocated(int minNumElements)
const TypeOfCriticalSectionToUse & getLock() const noexcept
int size() const noexcept
void remove(int indexToRemove)
void insert(int indexToInsertAt, ParameterType newElement)
ElementType getFirst() const noexcept
ElementType * begin() noexcept
ElementType * end() noexcept
ElementType removeAndReturn(int indexToRemove)
bool contains(ParameterType elementToLookFor) const
ElementType * data() noexcept
void minimiseStorageOverheads()
ElementType & getReference(int index) noexcept
ElementType getLast() const noexcept
int size() const noexcept
ElementType remove(const int indexToRemove) noexcept
bool isEmpty() const noexcept
int indexOf(const ElementType &elementToLookFor) const noexcept
ElementType operator[](const int index) const noexcept
void removeValue(const ElementType valueToRemove) noexcept
void addSet(const OtherSetType &setToAddFrom, int startIndex=0, int numElementsToAdd=-1) noexcept
void addArray(const ElementType *elementsToAdd, int numElementsToAdd) noexcept
const ElementType & getReference(const int index) const noexcept
ElementType getFirst() const noexcept
void removeValuesIn(const OtherSetType &otherSet) noexcept
bool add(const ElementType &newElement) noexcept
void clearQuick() noexcept
ElementType getUnchecked(const int index) const noexcept
const TypeOfCriticalSectionToUse & getLock() const noexcept
SortedSet(SortedSet &&) noexcept=default
SortedSet(const SortedSet &)=default
bool operator!=(const SortedSet< ElementType > &other) const noexcept
void swapWith(OtherSetType &otherSet) noexcept
void minimiseStorageOverheads() noexcept
ElementType getLast() const noexcept
void ensureStorageAllocated(const int minNumElements)
ElementType & getReference(const int index) noexcept
const ElementType * end() const noexcept
bool operator==(const SortedSet< ElementType > &other) const noexcept
bool contains(const ElementType &elementToLookFor) const noexcept
const ElementType * begin() const noexcept
void removeValuesNotIn(const OtherSetType &otherSet) noexcept
typename TypeOfCriticalSectionToUse::ScopedLockType ScopedLockType