GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::IndexTypeVector< IndexTypeT, ValueTypeT > Class Template Reference

#include <draco_index_type_vector.h>

Public Types

typedef std::vector< ValueTypeT >::const_reference const_reference
typedef std::vector< ValueTypeT >::reference reference
typedef std::vector< ValueTypeT >::iterator iterator
typedef std::vector< ValueTypeT >::const_iterator const_iterator

Public Member Functions

 IndexTypeVector ()
 IndexTypeVector (size_t size)
 IndexTypeVector (size_t size, const ValueTypeT &val)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
void clear ()
void reserve (size_t size)
void resize (size_t size)
void resize (size_t size, const ValueTypeT &val)
void assign (size_t size, const ValueTypeT &val)
iterator erase (iterator position)
void swap (IndexTypeVector< IndexTypeT, ValueTypeT > &arg)
size_t size () const
bool empty () const
void push_back (const ValueTypeT &val)
void push_back (ValueTypeT &&val)
template<typename... Args>
void emplace_back (Args &&...args)
reference operator[] (const IndexTypeT &index)
const_reference operator[] (const IndexTypeT &index) const
reference at (const IndexTypeT &index)
const_reference at (const IndexTypeT &index) const
const ValueTypeT * data () const

Member Typedef Documentation

◆ const_iterator

template<class IndexTypeT, class ValueTypeT>
typedef std::vector<ValueTypeT>::const_iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::const_iterator

◆ const_reference

template<class IndexTypeT, class ValueTypeT>
typedef std::vector<ValueTypeT>::const_reference draco::IndexTypeVector< IndexTypeT, ValueTypeT >::const_reference

◆ iterator

template<class IndexTypeT, class ValueTypeT>
typedef std::vector<ValueTypeT>::iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::iterator

◆ reference

template<class IndexTypeT, class ValueTypeT>
typedef std::vector<ValueTypeT>::reference draco::IndexTypeVector< IndexTypeT, ValueTypeT >::reference

Constructor & Destructor Documentation

◆ IndexTypeVector() [1/3]

template<class IndexTypeT, class ValueTypeT>
draco::IndexTypeVector< IndexTypeT, ValueTypeT >::IndexTypeVector ( )
inline
Here is the caller graph for this function:

◆ IndexTypeVector() [2/3]

template<class IndexTypeT, class ValueTypeT>
draco::IndexTypeVector< IndexTypeT, ValueTypeT >::IndexTypeVector ( size_t size)
inlineexplicit

◆ IndexTypeVector() [3/3]

template<class IndexTypeT, class ValueTypeT>
draco::IndexTypeVector< IndexTypeT, ValueTypeT >::IndexTypeVector ( size_t size,
const ValueTypeT & val )
inline

Member Function Documentation

◆ assign()

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::assign ( size_t size,
const ValueTypeT & val )
inline

◆ at() [1/2]

template<class IndexTypeT, class ValueTypeT>
reference draco::IndexTypeVector< IndexTypeT, ValueTypeT >::at ( const IndexTypeT & index)
inline

◆ at() [2/2]

template<class IndexTypeT, class ValueTypeT>
const_reference draco::IndexTypeVector< IndexTypeT, ValueTypeT >::at ( const IndexTypeT & index) const
inline

◆ begin() [1/2]

template<class IndexTypeT, class ValueTypeT>
iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::begin ( )
inline

◆ begin() [2/2]

template<class IndexTypeT, class ValueTypeT>
const_iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::begin ( ) const
inline

◆ clear()

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::clear ( )
inline

◆ data()

template<class IndexTypeT, class ValueTypeT>
const ValueTypeT * draco::IndexTypeVector< IndexTypeT, ValueTypeT >::data ( ) const
inline
Here is the caller graph for this function:

◆ emplace_back()

template<class IndexTypeT, class ValueTypeT>
template<typename... Args>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::emplace_back ( Args &&... args)
inline

◆ empty()

template<class IndexTypeT, class ValueTypeT>
bool draco::IndexTypeVector< IndexTypeT, ValueTypeT >::empty ( ) const
inline
Here is the caller graph for this function:

◆ end() [1/2]

template<class IndexTypeT, class ValueTypeT>
iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::end ( )
inline

◆ end() [2/2]

template<class IndexTypeT, class ValueTypeT>
const_iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::end ( ) const
inline

◆ erase()

template<class IndexTypeT, class ValueTypeT>
iterator draco::IndexTypeVector< IndexTypeT, ValueTypeT >::erase ( iterator position)
inline

◆ operator[]() [1/2]

template<class IndexTypeT, class ValueTypeT>
reference draco::IndexTypeVector< IndexTypeT, ValueTypeT >::operator[] ( const IndexTypeT & index)
inline

◆ operator[]() [2/2]

template<class IndexTypeT, class ValueTypeT>
const_reference draco::IndexTypeVector< IndexTypeT, ValueTypeT >::operator[] ( const IndexTypeT & index) const
inline

◆ push_back() [1/2]

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::push_back ( const ValueTypeT & val)
inline

◆ push_back() [2/2]

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::push_back ( ValueTypeT && val)
inline

◆ reserve()

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::reserve ( size_t size)
inline

◆ resize() [1/2]

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::resize ( size_t size)
inline

◆ resize() [2/2]

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::resize ( size_t size,
const ValueTypeT & val )
inline

◆ size()

template<class IndexTypeT, class ValueTypeT>
size_t draco::IndexTypeVector< IndexTypeT, ValueTypeT >::size ( ) const
inline
Here is the caller graph for this function:

◆ swap()

template<class IndexTypeT, class ValueTypeT>
void draco::IndexTypeVector< IndexTypeT, ValueTypeT >::swap ( IndexTypeVector< IndexTypeT, ValueTypeT > & arg)
inline
Here is the caller graph for this function:

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