Ylva And Malin
Public Types | Public Member Functions | Data Fields
ImVector< T > Class Template Reference

#include <imgui.h>

Collaboration diagram for ImVector< T >:
Collaboration graph

Public Types

typedef T value_type
 
typedef value_typeiterator
 
typedef const value_typeconst_iterator
 

Public Member Functions

 ImVector ()
 
 ~ImVector ()
 
 ImVector (const ImVector< T > &src)
 
ImVectoroperator= (const ImVector< T > &src)
 
bool empty () const
 
int size () const
 
int capacity () const
 
value_typeoperator[] (int i)
 
const value_typeoperator[] (int i) const
 
void clear ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
value_typefront ()
 
const value_typefront () const
 
value_typeback ()
 
const value_typeback () const
 
void swap (ImVector< value_type > &rhs)
 
int _grow_capacity (int sz) const
 
void resize (int new_size)
 
void resize (int new_size, const value_type &v)
 
void reserve (int new_capacity)
 
void push_back (const value_type &v)
 
void pop_back ()
 
void push_front (const value_type &v)
 
iterator erase (const_iterator it)
 
iterator erase (const_iterator it, const_iterator it_last)
 
iterator erase_unsorted (const_iterator it)
 
iterator insert (const_iterator it, const value_type &v)
 
bool contains (const value_type &v) const
 

Data Fields

int Size
 
int Capacity
 
T * Data
 

Member Typedef Documentation

template<typename T>
typedef const value_type* ImVector< T >::const_iterator
template<typename T>
typedef value_type* ImVector< T >::iterator
template<typename T>
typedef T ImVector< T >::value_type

Constructor & Destructor Documentation

template<typename T>
ImVector< T >::ImVector ( )
inline
template<typename T>
ImVector< T >::~ImVector ( )
inline
template<typename T>
ImVector< T >::ImVector ( const ImVector< T > &  src)
inline

Member Function Documentation

template<typename T>
int ImVector< T >::_grow_capacity ( int  sz) const
inline
template<typename T>
value_type& ImVector< T >::back ( )
inline

Here is the caller graph for this function:

template<typename T>
const value_type& ImVector< T >::back ( ) const
inline
template<typename T>
iterator ImVector< T >::begin ( )
inline

Here is the caller graph for this function:

template<typename T>
const_iterator ImVector< T >::begin ( ) const
inline
template<typename T>
int ImVector< T >::capacity ( ) const
inline
template<typename T>
void ImVector< T >::clear ( )
inline

Here is the caller graph for this function:

template<typename T>
bool ImVector< T >::contains ( const value_type v) const
inline
template<typename T>
bool ImVector< T >::empty ( ) const
inline

Here is the caller graph for this function:

template<typename T>
iterator ImVector< T >::end ( )
inline

Here is the caller graph for this function:

template<typename T>
const_iterator ImVector< T >::end ( ) const
inline
template<typename T>
iterator ImVector< T >::erase ( const_iterator  it)
inline

Here is the caller graph for this function:

template<typename T>
iterator ImVector< T >::erase ( const_iterator  it,
const_iterator  it_last 
)
inline
template<typename T>
iterator ImVector< T >::erase_unsorted ( const_iterator  it)
inline
template<typename T>
value_type& ImVector< T >::front ( )
inline

Here is the caller graph for this function:

template<typename T>
const value_type& ImVector< T >::front ( ) const
inline
template<typename T>
iterator ImVector< T >::insert ( const_iterator  it,
const value_type v 
)
inline

Here is the caller graph for this function:

template<typename T>
ImVector& ImVector< T >::operator= ( const ImVector< T > &  src)
inline
template<typename T>
value_type& ImVector< T >::operator[] ( int  i)
inline
template<typename T>
const value_type& ImVector< T >::operator[] ( int  i) const
inline
template<typename T>
void ImVector< T >::pop_back ( )
inline

Here is the caller graph for this function:

template<typename T>
void ImVector< T >::push_back ( const value_type v)
inline

Here is the caller graph for this function:

template<typename T>
void ImVector< T >::push_front ( const value_type v)
inline

Here is the caller graph for this function:

template<typename T>
void ImVector< T >::reserve ( int  new_capacity)
inline

Here is the caller graph for this function:

template<typename T>
void ImVector< T >::resize ( int  new_size)
inline

Here is the caller graph for this function:

template<typename T>
void ImVector< T >::resize ( int  new_size,
const value_type v 
)
inline
template<typename T>
int ImVector< T >::size ( ) const
inline

Here is the caller graph for this function:

template<typename T>
void ImVector< T >::swap ( ImVector< value_type > &  rhs)
inline

Here is the caller graph for this function:

Field Documentation

template<typename T>
int ImVector< T >::Capacity
template<typename T>
T* ImVector< T >::Data
template<typename T>
int ImVector< T >::Size

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