|
| _continuous_container () |
|
| _continuous_container (const _continuous_container &other) |
|
| _continuous_container (_continuous_container &&other) |
|
| _continuous_container (const _continuous_container &other, std::size_t pos, std::size_t len=container_npos::value) |
|
| _continuous_container (const TElement *s, std::size_t n) |
|
| _continuous_container (std::size_t n, const TElement &s) |
|
| _continuous_container (const nstd::const_iterator< TElement > first, const nstd::const_iterator< TElement > second) |
|
template<typename T > |
| _continuous_container (const std::vector< T > &other) |
|
| _continuous_container (const std::vector< TElement > &other) |
|
| _continuous_container (std::initializer_list< TElement > init) |
|
nstd::iterator< TElement > | begin () |
|
nstd::const_iterator< TElement > | begin () const |
|
nstd::iterator< TElement > | end () |
|
nstd::const_iterator< TElement > | end () const |
|
nstd::const_iterator< TElement > | cbegin () const |
|
nstd::const_iterator< TElement > | cend () const |
|
nstd::reverse_iterator< TElement > | rbegin () |
|
nstd::const_reverse_iterator< TElement > | rbegin () const |
|
nstd::reverse_iterator< TElement > | rend () |
|
nstd::const_reverse_iterator< TElement > | rend () const |
|
nstd::const_reverse_iterator< TElement > | crbegin () const |
|
nstd::const_reverse_iterator< TElement > | crend () const |
|
_continuous_container & | operator= (const _continuous_container &other) |
|
_continuous_container & | operator= (_continuous_container &&other) |
|
template<typename T > |
_continuous_container & | operator= (const std::vector< T > &other) |
|
| operator std::vector< TElement > () |
|
| operator std::vector< TElement > () const |
|
template<class TSTDVectorItem > |
| operator std::vector< TSTDVectorItem > () |
|
template<class TSTDVectorItem > |
| operator std::vector< TSTDVectorItem > () const |
|
std::string | to_string () const |
|
bool | element_equal (const _continuous_container &other) const |
|
| ~_continuous_container () |
|
const TElement & | operator[] (std::size_t i) const |
|
TElement & | operator[] (std::size_t i) |
|
const TElement & | at (std::size_t i) const |
|
TElement & | at (std::size_t i) |
|
const TElement & | front () const |
|
TElement & | front () |
|
const TElement & | back () const |
|
TElement & | back () |
|
_continuous_container & | operator+= (const _continuous_container &other) |
|
_continuous_container & | operator+= (TElement element) |
|
_continuous_container & | append (const _continuous_container &other) |
|
_continuous_container & | append (const _continuous_container &other, std::size_t subpos, std::size_t sublen=container_npos::value) |
|
_continuous_container & | append (const TElement elements) |
|
_continuous_container & | append (std::size_t n, TElement element) |
|
_continuous_container & | append (const nstd::const_iterator< TElement > first, const nstd::const_iterator< TElement > second) |
|
_continuous_container & | push_back (TElement element) |
|
_continuous_container & | erase (std::size_t pos=0, std::size_t len=container_npos::value) |
|
nstd::iterator< TElement > | erase (nstd::const_iterator< TElement > p) |
|
nstd::iterator< TElement > | erase (nstd::const_iterator< TElement > first, nstd::const_iterator< TElement > last) |
|
void | swap (_continuous_container &other) |
|
template<class InputIt > |
void | insert (iterator pos, InputIt first, InputIt last) |
| The function type imitates the STL std::vector: https://en.cppreference.com/w/cpp/container/vector/insert
|
|
void | insert (const_iterator pos, const TElement &value) |
| The function type differs the STL std::vector in the return type: https://en.cppreference.com/w/cpp/container/vector/insert
|
|
bool | operator== (const _continuous_container &other) const |
|
bool | operator!= (const _continuous_container &other) const |
|
nstd::iterator< TElement > | find (const TElement &element) |
|
nstd::const_iterator< TElement > | find (const TElement &element) const |
|
bool | contains (const _continuous_container &other) const |
|
const TElement * | data () const |
|
void | set_element_malloc_function (element_malloc_fun_t< TElement > function) |
|
void | set_element_delete_function (element_delete_fun_t< TElement > function) |
|
std::size_t | size () const |
|
std::size_t | max_size () const |
|
void | resize (std::size_t n) |
|
void | resize (std::size_t n, TElement c) |
|
std::size_t | capacity () const |
|
void | reserve (std::size_t n=0) |
|
void | clear () |
|
bool | empty () const |
|
void | shrink_to_fit () |
|
|
nstd::iterator_type< TElement > | _ibegin () const |
|
nstd::iterator_type< TElement > | _rbegin () const |
|
nstd::iterator_type< TElement > | _end () const |
|
std::size_t | _getLength (const nstd::const_iterator< TElement > first, const nstd::const_iterator< TElement > second) |
|
void | _append (const TElement other) |
|
void | _append (const TElement *other, std::size_t n) |
|
void | _substr (TElement *&buffer, const TElement *other, std::size_t pos=0, std::size_t len=container_npos::value) const |
|
void | _erase (std::size_t pos, std::size_t size) |
|
std::size_t | _getLength (const _continuous_container &str, std::size_t pos, std::size_t len=container_npos::value) const |
|
void | _set_length (const std::size_t len) |
|
void | _set_capacity (const std::size_t cap) |
|
void | _increase_capacity (const std::size_t cap) |
|
void | _decrease_capacity (const std::size_t cap) |
|
void | _alloc_buffer (TElement *&buffer, const std::size_t n) const |
|
void | _alloc_buffer (TElement *&buffer, const std::size_t n, const TElement &element) const |
|
void | _alloc_buffer (TElement *&buffer, const std::size_t n, const nstd::const_iterator< TElement > i1, const nstd::const_iterator< TElement > i2) const |
|
void | _clear_str (const std::size_t pos, bool destruct=true) |
|
TElement * | _new_data (std::size_t count) const |
|
void | _delete_data (TElement *&data) |
|