var::Vector
- Inherits: api::ExecutionContext
public
- var::Vector::Erase
Types
#
const_iteratorusing var::Vector< T >::const_iterator = typename std::vector<T>::const_iterator
Type: typename std::vector< T >::const_iterator
#
const_reverse_iteratorusing var::Vector< T >::const_reverse_iterator = typename std::vector<T>::const_reverse_iterator
Type: typename std::vector< T >::const_reverse_iterator
#
iteratorusing var::Vector< T >::iterator = typename std::vector<T>::iterator
Type: typename std::vector< T >::iterator
#
reverse_iteratorusing var::Vector< T >::reverse_iterator = typename std::vector<T>::reverse_iterator
Type: typename std::vector< T >::reverse_iterator
#
sort_compartor_ttypedef bool(* var::Vector< T >::sort_compartor_t) (const T &a, const T &b) )(const T &a, const T &b)
Type: bool(*
Functions
#
Vector()=defaultvar::Vector< T >::Vector ()=default
#
Vector(size_t count)inline
explicit
var::Vector< T >::Vector (size_t count)
#
Vector(std::initializer_list< T > il)inline
var::Vector< T >::Vector (std::initializer_list< T > il)
#
accumulate(T initial_value=T()) constinline
T var::Vector< T >::accumulate (T initial_value=T()) const
Type: T
Parameters:
T
initial_value
#
at(size_t position)inline
T & var::Vector< T >::at (size_t position)
Type: T &
Parameters:
size_t
position
#
at(size_t position) constinline
const T & var::Vector< T >::at (size_t position) const
Type: const T &
Parameters:
size_t
position
#
back()inline
T & var::Vector< T >::back ()
Type: T &
#
back() constinline
const T & var::Vector< T >::back () const
Type: const T &
#
begin() const noexceptinline
const_iterator var::Vector< T >::begin () const noexcept
Type: const_iterator
#
begin() noexceptinline
iterator var::Vector< T >::begin () noexcept
Type: iterator
#
cbegin() const noexceptinline
const_iterator var::Vector< T >::cbegin () const noexcept
Type: const_iterator
#
cend() const noexceptinline
const_iterator var::Vector< T >::cend () const noexcept
Type: const_iterator
#
clear()inline
Vector< T > & var::Vector< T >::clear ()
Type: Vector< T > &
#
convert() constinline
Vector< ConvertedType > var::Vector< T >::convert () const
Type: Vector< ConvertedType >
#
convert(ConvertedType(*convert_function)(const T &value)) constinline
Vector< ConvertedType > var::Vector< T >::convert (ConvertedType(*convert_function)(const T &value)) const
Type: Vector< ConvertedType >
Parameters:
ConvertedType(*)(const T &value)
convert_function
#
count() constinline
u32 var::Vector< T >::count () const
Type: u32
#
crbegin() const noexceptinline
const_reverse_iterator var::Vector< T >::crbegin () const noexcept
Type: const_reverse_iterator
#
crend() const noexceptinline
const_reverse_iterator var::Vector< T >::crend () const noexcept
Type: const_reverse_iterator
#
data()inline
T * var::Vector< T >::data ()
Type: T *
#
data() constinline
const T * var::Vector< T >::data () const
Type: const T *
#
end() const noexceptinline
const_iterator var::Vector< T >::end () const noexcept
Type: const_iterator
#
end() noexceptinline
iterator var::Vector< T >::end () noexcept
Type: iterator
#
erase(const Erase &options)inline
Vector & var::Vector< T >::erase (const Erase &options)
Type: Vector &
Parameters:
- const Erase &
options
#
fill(const T &value)inline
Vector< T > & var::Vector< T >::fill (const T &value)
Type: Vector< T > &
Parameters:
const T &
value
#
find(const T &a, const T ¬_found=T()) constinline
const T & var::Vector< T >::find (const T &a, const T ¬_found=T()) const
Type: const T &
Parameters:
const T &
a
const T &
not_found
#
find_offset(const T &a) constinline
size_t var::Vector< T >::find_offset (const T &a) const
Type: size_t
Parameters:
const T &
a
#
free()inline
Vector< T > & var::Vector< T >::free ()
Type: Vector< T > &
#
front()inline
T & var::Vector< T >::front ()
Type: T &
#
front() constinline
const T & var::Vector< T >::front () const
Type: const T &
#
insert(const_iterator position, const T &value)inline
iterator var::Vector< T >::insert (const_iterator position, const T &value)
Type: iterator
Parameters:
- const_iterator
position
const T &
value
#
insert(const_iterator position, size_t n, const T &value)inline
iterator var::Vector< T >::insert (const_iterator position, size_t n, const T &value)
Type: iterator
Parameters:
- const_iterator
position
size_t
n
const T &
value
#
insert(const_iterator position, std::initializer_list< T > il)inline
iterator var::Vector< T >::insert (const_iterator position, std::initializer_list< T > il)
Type: iterator
Parameters:
- const_iterator
position
std::initializer_list< T >
il
#
insert(const_iterator position, T &&value)inline
iterator var::Vector< T >::insert (const_iterator position, T &&value)
Type: iterator
Parameters:
- const_iterator
position
T &&
value
#
insert(size_t position, const T &value)inline
Vector< T > & var::Vector< T >::insert (size_t position, const T &value)
Type: Vector< T > &
Parameters:
size_t
position
const T &
value
#
insert(size_t position, T &&value)inline
Vector< T > & var::Vector< T >::insert (size_t position, T &&value)
Type: Vector< T > &
Parameters:
size_t
position
T &&
value
#
is_empty() constinline
bool var::Vector< T >::is_empty () const
Type: bool
#
mean() constinline
T var::Vector< T >::mean () const
Type: T
#
operator()(const Erase &options)inline
Vector & var::Vector< T >::operator() (const Erase &options)
Type: Vector &
Parameters:
- const Erase &
options
#
operator*(const T &a) constinline
Vector< T > var::Vector< T >::operator* (const T &a) const
Type: Vector< T >
Parameters:
const T &
a
#
operator*(const Vector< T > &a) constinline
Vector< T > var::Vector< T >::operator* (const Vector< T > &a) const
Type: Vector< T >
Parameters:
- const Vector< T > &
a
#
operator+(const T &a) constinline
Vector< T > var::Vector< T >::operator+ (const T &a) const
Type: Vector< T >
Parameters:
const T &
a
#
operator+(const Vector< T > &a) constinline
Vector< T > var::Vector< T >::operator+ (const Vector< T > &a) const
Type: Vector< T >
Parameters:
- const Vector< T > &
a
#
operator-(const T &a) constinline
Vector< T > var::Vector< T >::operator- (const T &a) const
Type: Vector< T >
Parameters:
const T &
a
#
operator-(const Vector< T > &a) constinline
Vector< T > var::Vector< T >::operator- (const Vector< T > &a) const
Type: Vector< T >
Parameters:
- const Vector< T > &
a
#
operator/(const T &a) constinline
Vector< T > var::Vector< T >::operator/ (const T &a) const
Type: Vector< T >
Parameters:
const T &
a
#
operator/(const Vector< T > &a) constinline
Vector< T > var::Vector< T >::operator/ (const Vector< T > &a) const
Type: Vector< T >
Parameters:
- const Vector< T > &
a
#
operator<<(const T &a)inline
Vector< T > & var::Vector< T >::operator<< (const T &a)
Type: Vector< T > &
Parameters:
const T &
a
#
operator<<(const Vector< T > &a)inline
Vector< T > & var::Vector< T >::operator<< (const Vector< T > &a)
Type: Vector< T > &
Parameters:
- const Vector< T > &
a
#
operator<<(u32 a) constinline
Vector< T > var::Vector< T >::operator<< (u32 a) const
Type: Vector< T >
Parameters:
u32
a
#
operator=(std::initializer_list< T > il)inline
Vector & var::Vector< T >::operator= (std::initializer_list< T > il)
Type: Vector &
Parameters:
std::initializer_list< T >
il
#
operator>>(u32 a) constinline
Vector< T > var::Vector< T >::operator>> (u32 a) const
Type: Vector< T >
Parameters:
u32
a
#
operator[](size_t offset)inline
T & var::Vector< T >::operator[] (size_t offset)
Type: T &
Parameters:
size_t
offset
#
operator[](size_t offset) constinline
const T & var::Vector< T >::operator[] (size_t offset) const
Type: const T &
Parameters:
size_t
offset
#
pop_back()inline
Vector< T > & var::Vector< T >::pop_back ()
Type: Vector< T > &
#
push_back(const T &a)inline
Vector< T > & var::Vector< T >::push_back (const T &a)
Type: Vector< T > &
Parameters:
const T &
a
#
rbegin() const noexceptinline
const_reverse_iterator var::Vector< T >::rbegin () const noexcept
Type: const_reverse_iterator
#
rbegin() noexceptinline
reverse_iterator var::Vector< T >::rbegin () noexcept
Type: reverse_iterator
#
remove(u32 pos)inline
Vector & var::Vector< T >::remove (u32 pos)
Type: Vector &
Parameters:
u32
pos
#
rend() const noexceptinline
const_reverse_iterator var::Vector< T >::rend () const noexcept
Type: const_reverse_iterator
#
rend() noexceptinline
reverse_iterator var::Vector< T >::rend () noexcept
Type: reverse_iterator
#
reserve(size_t count)inline
Vector< T > & var::Vector< T >::reserve (size_t count)
Type: Vector< T > &
Parameters:
size_t
count
#
resize(size_t count)inline
Vector< T > & var::Vector< T >::resize (size_t count)
Type: Vector< T > &
Parameters:
size_t
count
#
search(const T &a)inline
T * var::Vector< T >::search (const T &a)
Type: T *
Parameters:
const T &
a
#
search(const T &a, int(compare)(const void , const void *))inline
T * var::Vector< T >::search (const T &a, int(*compare)(const void *, const void *))
Type: T *
Parameters:
const T &
a
int(*)(const void *, const void *)
compare
#
shrink_to_fit()inline
Vector & var::Vector< T >::shrink_to_fit ()
Type: Vector &
#
sort(sort_compartor_t compare_function)inline
Vector< T > & var::Vector< T >::sort (sort_compartor_t compare_function)
Type: Vector< T > &
Parameters:
- sort_compartor_t
compare_function
#
sum() constinline
T var::Vector< T >::sum () const
Type: T
#
to_const_void() constinline
const void * var::Vector< T >::to_const_void () const
Type: const void *
#
to_void()inline
void * var::Vector< T >::to_void ()
Type: void *
#
variance() constinline
T var::Vector< T >::variance () const
Type: T
#
vector()inline
std::vector< T > & var::Vector< T >::vector ()
Type: std::vector< T > &
#
vector() constinline
const std::vector< T > & var::Vector< T >::vector () const
Type: const std::vector< T > &
Static Functions
#
ascending(const T &a, const T &b)inline
static bool var::Vector< T >::ascending (const T &a, const T &b)
Type: bool
Parameters:
const T &
a
const T &
b
#
descending(const T &a, const T &b)inline
static bool var::Vector< T >::descending (const T &a, const T &b)
Type: bool
Parameters:
const T &
a
const T &
b