daasiot_python
Vector< T > Class Template Reference

#include <daas_types.hpp>

Public Member Functions

 Vector (uint32_t initialCapacity)
 Vector ()
 ~Vector ()
uint32_t size () const
uint32_t capacity () const
bool pop_back ()
bool empty () const
bool push_back (const T &value)
bool reserve (uint32_t newCapacity)
T & at (uint32_t idx)
T & operator[] (uint32_t index)
const T & operator[] (uint32_t index) const
void clear ()

Detailed Description

template<typename T>
class Vector< T >

Definition at line 84 of file daas_types.hpp.

Constructor & Destructor Documentation

◆ Vector() [1/2]

template<typename T>
Vector< T >::Vector ( uint32_t initialCapacity)
explicit

◆ Vector() [2/2]

template<typename T>
Vector< T >::Vector ( )

◆ ~Vector()

template<typename T>
Vector< T >::~Vector ( )

Member Function Documentation

◆ at()

template<typename T>
T & Vector< T >::at ( uint32_t idx)

◆ capacity()

template<typename T>
uint32_t Vector< T >::capacity ( ) const

◆ clear()

template<typename T>
void Vector< T >::clear ( )

◆ empty()

template<typename T>
bool Vector< T >::empty ( ) const

◆ operator[]() [1/2]

template<typename T>
T & Vector< T >::operator[] ( uint32_t index)

◆ operator[]() [2/2]

template<typename T>
const T & Vector< T >::operator[] ( uint32_t index) const

◆ pop_back()

template<typename T>
bool Vector< T >::pop_back ( )

◆ push_back()

template<typename T>
bool Vector< T >::push_back ( const T & value)

◆ reserve()

template<typename T>
bool Vector< T >::reserve ( uint32_t newCapacity)

◆ size()

template<typename T>
uint32_t Vector< T >::size ( ) const

The documentation for this class was generated from the following file: