|
|
| CMutexVector ()=default |
| | Default constructor for CMutexVector.
|
| |
|
| CMutexVector (std::vector< T > &i_oVector) |
| | Copy constructor that takes a non-const reference to a vector.
|
| |
|
| CMutexVector (std::vector< T > &&i_oVector) |
| | Move constructor that takes an rvalue reference to a vector.
|
| |
|
| CMutexVector (const CMutexVector< T > &i_oVector) |
| | Copy constructor that takes a const reference to another CMutexVector.
|
| |
|
| CMutexVector (CMutexVector< T > &&i_oVector) noexcept |
| |
|
virtual | ~CMutexVector ()=default |
| | Destructor for CMutexVector.
|
| |
| bool | removeAll (FnMatch i_fnMatch) |
| | Removes all elements from the vector that match the given condition. More...
|
| |
| bool | removeOne (FnMatch i_fnMatch) |
| | Removes the first element from the vector that matches the given condition. More...
|
| |
| bool | remove (FnMatch i_fnMatch) |
| | Removes the first element from the vector that matches the given condition. More...
|
| |
| T | find (FnMatch i_fnMatch) const |
| | Finds the first element in the vector that matches the given condition. More...
|
| |
| T | get (FnMatch i_fnMatch) const |
| | Alias for find(FnMatch). More...
|
| |
| std::vector< T > | findAll (FnMatch i_fnMatch) const |
| | Finds all elements in the vector that match the given condition. More...
|
| |
| std::vector< T > | getAll (FnMatch i_fnMatch) const |
| | Alias for findAll(FnMatch). More...
|
| |
| size_t | findIndex (FnMatch i_fnMatch) const |
| | Finds the index of the first element in the vector that matches the given condition. More...
|
| |
| size_t | indexOf (FnMatch i_fnMatch) const |
| | Alias for findIndex(FnMatch). More...
|
| |
| std::vector< size_t > | findIndexAll (FnMatch i_fnMatch) const |
| | Finds all indexes of the elements in the vector that match the given condition. More...
|
| |
| std::vector< size_t > | indexOfAll (FnMatch i_fnMatch) const |
| | Alias for findIndexAll(FnMatch). More...
|
| |
| T | take (FnMatch i_fnMatch) const |
| | Takes the first element from the vector that matches the given condition and removes it from the vector. More...
|
| |
| std::vector< T > | takeAll (FnMatch i_fnMatch) const |
| | Takes all elements from the vector that match the given condition and removes them from the vector. More...
|
| |
| const CMutex & | mutex () const |
| | Returns a reference to the underlying mutex of the CMutexVector. More...
|
| |
| const std::vector< T > & | rawVector () const |
| | Returns a reference to the underlying vector. More...
|
| |
| auto | begin () const |
| | Returns an iterator to the beginning of the vector. More...
|
| |
| auto | end () const |
| | Returns an iterator to the end of the vector. More...
|
| |
| auto | cbegin () const |
| | Returns a const iterator to the beginning of the vector. More...
|
| |
| auto | cend () const |
| | Returns a const iterator to the end of the vector. More...
|
| |
| size_t | size () const |
| | Returns the size of the vector. More...
|
| |
| bool | isEmpty () const |
| | Checks if the vector is empty. More...
|
| |
| T & | first () |
| | Returns a reference to the first element in the vector. More...
|
| |
| T & | last () |
| | Returns a reference to the last element in the vector. More...
|
| |
| T & | at (const size_t i_nIndex) |
| | Returns a reference to the element at the specified index. More...
|
| |
| std::vector< T > | toStdVector () const |
| | Converts the CMutexVector to a standard vector. More...
|
| |
| bool | contains (const T &i_oValue) const |
| | Checks if the vector contains the specified value. More...
|
| |
| void | resize (const size_t i_nSize) |
| | Resizes the vector to the specified size. More...
|
| |
| void | reserve (const size_t i_nSize) |
| | Reserves memory for the specified number of elements. More...
|
| |
| void | push_back (const T &i_oValue) |
| | Appends a new element to the end of the vector. More...
|
| |
| void | push_back (T &&i_oValue) |
| | Moves a new element to the end of the vector. More...
|
| |
| void | push_back (const std::vector< T > &i_atValue) |
| | Appends a vector of elements to the end of the vector. More...
|
| |
| void | push_back (std::vector< T > &&i_atValue) |
| | Moves a vector of elements to the end of the vector. More...
|
| |
| void | push_back (const CMutexVector< T > &i_atValue) |
| | Appends another CMutexVector to the end of the vector. More...
|
| |
| void | push_back (CMutexVector< T > &&i_atValue) |
| | Moves another CMutexVector to the end of the vector. More...
|
| |
| bool | removeAt (const size_t i_nIndex) |
| | Removes the element at the specified index from the vector. More...
|
| |
| bool | remove (const T &i_oValue) |
| | Removes the first occurrence of the specified value from the vector. More...
|
| |
|
void | clear () |
| | Removes all elements from the vector.
|
| |
| CMutexVector & | operator= (const std::vector< T > &i_tOther) |
| | Assignment operator that copies a std::vector<T> to the CMutexVector. More...
|
| |
| CMutexVector & | operator= (std::vector< T > &&i_tOther) |
| | Assignment operator that moves a std::vector<T> to the CMutexVector. More...
|
| |
| virtual CMutexVector & | operator= (const CMutexVector< T > &i_tOther) |
| | Assignment operator that copies another CMutexVector to the CMutexVector. More...
|
| |
| virtual CMutexVector & | operator= (CMutexVector< T > &&i_tOther) noexcept |
| | Assignment operator that moves another CMutexVector to the CMutexVector. More...
|
| |
| T & | operator[] (const size_t i_nIndex) |
| | Access operator that returns a reference to the element at the specified index. More...
|
| |
| const T & | operator[] (const size_t i_nIndex) const |
| | Const access operator that returns a const reference to the element at the specified index. More...
|
| |