Skip to main content

var::Vector

Types

const_iterator#

using var::Vector< T >::const_iterator =  typename std::vector<T>::const_iterator 

Type: typename std::vector< T >::const_iterator

const_reverse_iterator#

using var::Vector< T >::const_reverse_iterator =  typename std::vector<T>::const_reverse_iterator 

Type: typename std::vector< T >::const_reverse_iterator

iterator#

using var::Vector< T >::iterator =  typename std::vector<T>::iterator 

Type: typename std::vector< T >::iterator

reverse_iterator#

using var::Vector< T >::reverse_iterator =  typename std::vector<T>::reverse_iterator 

Type: typename std::vector< T >::reverse_iterator

sort_compartor_t#

typedef bool(* var::Vector< T >::sort_compartor_t) (const T &a, const T &b) )(const T &a, const T &b)

Type: bool(*

Functions

Vector()=default#

var::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()) const#

inline

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) const#

inline

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() const#

inline

const T & var::Vector< T >::back () const

Type: const T &

begin() const noexcept#

inline

const_iterator var::Vector< T >::begin () const noexcept

Type: const_iterator

begin() noexcept#

inline

iterator var::Vector< T >::begin () noexcept

Type: iterator

cbegin() const noexcept#

inline

const_iterator var::Vector< T >::cbegin () const noexcept

Type: const_iterator

cend() const noexcept#

inline

const_iterator var::Vector< T >::cend () const noexcept

Type: const_iterator

clear()#

inline

Vector< T > & var::Vector< T >::clear ()

Type: Vector< T > &

convert() const#

inline

Vector< ConvertedType > var::Vector< T >::convert () const

Type: Vector< ConvertedType >

convert(ConvertedType(*convert_function)(const T &value)) const#

inline

Vector< ConvertedType > var::Vector< T >::convert (ConvertedType(*convert_function)(const T &value)) const

Type: Vector< ConvertedType >

Parameters:

  • ConvertedType(*)(const T &value) convert_function

count() const#

inline

u32 var::Vector< T >::count () const

Type: u32

crbegin() const noexcept#

inline

const_reverse_iterator var::Vector< T >::crbegin () const noexcept

Type: const_reverse_iterator

crend() const noexcept#

inline

const_reverse_iterator var::Vector< T >::crend () const noexcept

Type: const_reverse_iterator

data()#

inline

T * var::Vector< T >::data ()

Type: T *

data() const#

inline

const T * var::Vector< T >::data () const

Type: const T *

end() const noexcept#

inline

const_iterator var::Vector< T >::end () const noexcept

Type: const_iterator

end() noexcept#

inline

iterator var::Vector< T >::end () noexcept

Type: iterator

erase(const Erase &options)#

inline

Vector & var::Vector< T >::erase (const Erase &options)

Type: Vector &

Parameters:

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()) const#

inline

const T & var::Vector< T >::find (const T &a, const T &not_found=T()) const

Type: const T &

Parameters:

  • const T & a
  • const T & not_found

find_offset(const T &a) const#

inline

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() const#

inline

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:

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:

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:

insert(const_iterator position, T &&value)#

inline

iterator var::Vector< T >::insert (const_iterator position, T &&value)

Type: iterator

Parameters:

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() const#

inline

bool var::Vector< T >::is_empty () const

Type: bool

mean() const#

inline

T var::Vector< T >::mean () const

Type: T

operator()(const Erase &options)#

inline

Vector & var::Vector< T >::operator() (const Erase &options)

Type: Vector &

Parameters:

operator*(const T &a) const#

inline

Vector< T > var::Vector< T >::operator* (const T &a) const

Type: Vector< T >

Parameters:

  • const T & a

operator*(const Vector< T > &a) const#

inline

Vector< T > var::Vector< T >::operator* (const Vector< T > &a) const

Type: Vector< T >

Parameters:

operator+(const T &a) const#

inline

Vector< T > var::Vector< T >::operator+ (const T &a) const

Type: Vector< T >

Parameters:

  • const T & a

operator+(const Vector< T > &a) const#

inline

Vector< T > var::Vector< T >::operator+ (const Vector< T > &a) const

Type: Vector< T >

Parameters:

operator-(const T &a) const#

inline

Vector< T > var::Vector< T >::operator- (const T &a) const

Type: Vector< T >

Parameters:

  • const T & a

operator-(const Vector< T > &a) const#

inline

Vector< T > var::Vector< T >::operator- (const Vector< T > &a) const

Type: Vector< T >

Parameters:

operator/(const T &a) const#

inline

Vector< T > var::Vector< T >::operator/ (const T &a) const

Type: Vector< T >

Parameters:

  • const T & a

operator/(const Vector< T > &a) const#

inline

Vector< T > var::Vector< T >::operator/ (const Vector< T > &a) const

Type: Vector< T >

Parameters:

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:

operator<<(u32 a) const#

inline

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) const#

inline

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) const#

inline

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 noexcept#

inline

const_reverse_iterator var::Vector< T >::rbegin () const noexcept

Type: const_reverse_iterator

rbegin() noexcept#

inline

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 noexcept#

inline

const_reverse_iterator var::Vector< T >::rend () const noexcept

Type: const_reverse_iterator

rend() noexcept#

inline

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:

sum() const#

inline

T var::Vector< T >::sum () const

Type: T

to_const_void() const#

inline

const void * var::Vector< T >::to_const_void () const

Type: const void *

to_void()#

inline

void * var::Vector< T >::to_void ()

Type: void *

variance() const#

inline

T var::Vector< T >::variance () const

Type: T

vector()#

inline

std::vector< T > & var::Vector< T >::vector ()

Type: std::vector< T > &

vector() const#

inline

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