Skip to end of metadata
Go to start of metadata
vector Template
Class Hierarchy
C++
template <class T>
class vector;
File

MultiThread_Containers.h

Description

Multi-Thread safe vector container, can be used instead of std::vector.

vector::[] Operator (size_t)
C++
T& operator [](size_t pos);
vector::[] Operator (size_t)
C++
const T& operator [](size_t pos) const;
vector::= Operator
C++
vector& operator =(const vector<T> & rOther);
vector::append Method
C++
template <class Iter> void append(const Iter & startRange, const Iter & endRange);
vector::back Method ()
C++
T& back();
vector::back Method ()
C++
const T& back() const;
vector::capacity Method
C++
size_t capacity() const;
vector::clear Method
C++
void clear();
vector::empty Method
C++
bool empty() const;
Description

std::vector interface

vector::find_and_copy Method
C++
template <typename FindFunction,typename KeyType> bool find_and_copy(FindFunction findFunc, const KeyType & key, T & foundValue) const;
vector::free_memory Method
C++
void free_memory();
vector::front Method
C++
const T& front() const;
vector::get_lock Method
C++
CryCriticalSection& get_lock() const;
vector::pop_back Method
C++
void pop_back();
vector::push_back Method
C++
void push_back(const T& x);
vector::reserve Method
C++
void reserve(int sz);
vector::resize Method
C++
void resize(int sz);
vector::size Method
C++
int size() const;
vector::sort Method
C++
template <class Func> void sort(const Func & compare_less);
vector::swap Method
C++
void swap(std::vector<T> & vec);
vector::try_pop_back Method
C++
bool try_pop_back(T& returnValue);
vector::try_pop_front Method
C++
bool try_pop_front(T& returnValue);
vector::try_remove Method
C++
bool try_remove(const T& value);
vector::try_remove_at Method
C++
bool try_remove_at(size_t idx);
vector::try_remove_unordered Method
C++
bool try_remove_unordered(const T& value);
Description

Fast remove - just move last elem over deleted element - order is not preserved

vector::vector Constructor ()
C++
vector();
vector::vector Constructor (vector<T> &)
C++
vector(const vector<T> & rOther);
vector::AutoLock Nested Type
C++
typedef CryAutoCriticalSection AutoLock;
vector::value_type Nested Type
C++
typedef T value_type;

In This Topic

  • No labels