Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::PODResizeableArray< _Tp > Class Template Reference

This is a container that encapsulates a resizeable array of plain-old-datatype (POD) elements. More...

#include <PODResizeableArray.h>

Public Types

typedef _Tp value_type
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef pointer iterator
 
typedef const_pointer const_iterator
 
typedef std::reverse_iterator
< iterator
reverse_iterator
 
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
 

Public Member Functions

 PODResizeableArray ()
 
template<class InputIterator >
 PODResizeableArray (InputIterator first, InputIterator last)
 
 PODResizeableArray (size_t n)
 
 PODResizeableArray (const PODResizeableArray &)=delete
 disabled (shallow) copy constructor More...
 
 PODResizeableArray (PODResizeableArray &&v)
 move constructor More...
 
PODResizeableArrayoperator= (const PODResizeableArray &)=delete
 disabled (shallow) copy assignment operator More...
 
PODResizeableArrayoperator= (PODResizeableArray &&v)
 move assignment operator More...
 
 ~PODResizeableArray ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
void reserve (size_t n)
 
void resize (size_t n)
 
void clear ()
 
reference operator[] (size_type __n)
 
const_reference operator[] (size_type __n) const
 
reference at (size_type __n)
 
const_reference at (size_type __n) const
 
void assign (iterator first, iterator last)
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
pointer data ()
 
const_pointer data () const
 
void push_back (const _Tp &value)
 
template<class InputIterator >
void insert (iterator GALOIS_USED_ONLY_IN_DEBUG(position), InputIterator first, InputIterator last)
 
void swap (PODResizeableArray &v)
 

Detailed Description

template<typename _Tp>
class galois::PODResizeableArray< _Tp >

This is a container that encapsulates a resizeable array of plain-old-datatype (POD) elements.

There is no initialization or destruction of elements.

Member Typedef Documentation

template<typename _Tp>
typedef const_pointer galois::PODResizeableArray< _Tp >::const_iterator
template<typename _Tp>
typedef const value_type* galois::PODResizeableArray< _Tp >::const_pointer
template<typename _Tp>
typedef const value_type& galois::PODResizeableArray< _Tp >::const_reference
template<typename _Tp>
typedef std::reverse_iterator<const_iterator> galois::PODResizeableArray< _Tp >::const_reverse_iterator
template<typename _Tp>
typedef ptrdiff_t galois::PODResizeableArray< _Tp >::difference_type
template<typename _Tp>
typedef pointer galois::PODResizeableArray< _Tp >::iterator
template<typename _Tp>
typedef value_type* galois::PODResizeableArray< _Tp >::pointer
template<typename _Tp>
typedef value_type& galois::PODResizeableArray< _Tp >::reference
template<typename _Tp>
typedef std::reverse_iterator<iterator> galois::PODResizeableArray< _Tp >::reverse_iterator
template<typename _Tp>
typedef size_t galois::PODResizeableArray< _Tp >::size_type
template<typename _Tp>
typedef _Tp galois::PODResizeableArray< _Tp >::value_type

Constructor & Destructor Documentation

template<typename _Tp>
galois::PODResizeableArray< _Tp >::PODResizeableArray ( )
inline
template<typename _Tp>
template<class InputIterator >
galois::PODResizeableArray< _Tp >::PODResizeableArray ( InputIterator  first,
InputIterator  last 
)
inline
template<typename _Tp>
galois::PODResizeableArray< _Tp >::PODResizeableArray ( size_t  n)
inline
template<typename _Tp>
galois::PODResizeableArray< _Tp >::PODResizeableArray ( const PODResizeableArray< _Tp > &  )
delete

disabled (shallow) copy constructor

template<typename _Tp>
galois::PODResizeableArray< _Tp >::PODResizeableArray ( PODResizeableArray< _Tp > &&  v)
inline

move constructor

template<typename _Tp>
galois::PODResizeableArray< _Tp >::~PODResizeableArray ( )
inline

Member Function Documentation

template<typename _Tp>
void galois::PODResizeableArray< _Tp >::assign ( iterator  first,
iterator  last 
)
inline
template<typename _Tp>
reference galois::PODResizeableArray< _Tp >::at ( size_type  __n)
inline
template<typename _Tp>
const_reference galois::PODResizeableArray< _Tp >::at ( size_type  __n) const
inline
template<typename _Tp>
reference galois::PODResizeableArray< _Tp >::back ( )
inline
template<typename _Tp>
const_reference galois::PODResizeableArray< _Tp >::back ( ) const
inline
template<typename _Tp>
iterator galois::PODResizeableArray< _Tp >::begin ( void  )
inline
template<typename _Tp>
const_iterator galois::PODResizeableArray< _Tp >::begin ( void  ) const
inline
template<typename _Tp>
const_iterator galois::PODResizeableArray< _Tp >::cbegin ( void  ) const
inline
template<typename _Tp>
const_iterator galois::PODResizeableArray< _Tp >::cend ( void  ) const
inline
template<typename _Tp>
void galois::PODResizeableArray< _Tp >::clear ( void  )
inline
template<typename _Tp>
const_reverse_iterator galois::PODResizeableArray< _Tp >::crbegin ( ) const
inline
template<typename _Tp>
const_reverse_iterator galois::PODResizeableArray< _Tp >::crend ( ) const
inline
template<typename _Tp>
pointer galois::PODResizeableArray< _Tp >::data ( )
inline
template<typename _Tp>
const_pointer galois::PODResizeableArray< _Tp >::data ( ) const
inline
template<typename _Tp>
bool galois::PODResizeableArray< _Tp >::empty ( void  ) const
inline
template<typename _Tp>
iterator galois::PODResizeableArray< _Tp >::end ( void  )
inline
template<typename _Tp>
const_iterator galois::PODResizeableArray< _Tp >::end ( void  ) const
inline
template<typename _Tp>
reference galois::PODResizeableArray< _Tp >::front ( )
inline
template<typename _Tp>
const_reference galois::PODResizeableArray< _Tp >::front ( ) const
inline
template<typename _Tp>
template<class InputIterator >
void galois::PODResizeableArray< _Tp >::insert ( iterator   GALOIS_USED_ONLY_IN_DEBUGposition,
InputIterator  first,
InputIterator  last 
)
inline
template<typename _Tp>
size_type galois::PODResizeableArray< _Tp >::max_size ( ) const
inline
template<typename _Tp>
PODResizeableArray& galois::PODResizeableArray< _Tp >::operator= ( const PODResizeableArray< _Tp > &  )
delete

disabled (shallow) copy assignment operator

template<typename _Tp>
PODResizeableArray& galois::PODResizeableArray< _Tp >::operator= ( PODResizeableArray< _Tp > &&  v)
inline

move assignment operator

template<typename _Tp>
reference galois::PODResizeableArray< _Tp >::operator[] ( size_type  __n)
inline
template<typename _Tp>
const_reference galois::PODResizeableArray< _Tp >::operator[] ( size_type  __n) const
inline
template<typename _Tp>
void galois::PODResizeableArray< _Tp >::push_back ( const _Tp &  value)
inline
template<typename _Tp>
reverse_iterator galois::PODResizeableArray< _Tp >::rbegin ( )
inline
template<typename _Tp>
const_reverse_iterator galois::PODResizeableArray< _Tp >::rbegin ( ) const
inline
template<typename _Tp>
reverse_iterator galois::PODResizeableArray< _Tp >::rend ( )
inline
template<typename _Tp>
const_reverse_iterator galois::PODResizeableArray< _Tp >::rend ( ) const
inline
template<typename _Tp>
void galois::PODResizeableArray< _Tp >::reserve ( size_t  n)
inline
template<typename _Tp>
void galois::PODResizeableArray< _Tp >::resize ( size_t  n)
inline
template<typename _Tp>
size_type galois::PODResizeableArray< _Tp >::size ( ) const
inline
template<typename _Tp>
void galois::PODResizeableArray< _Tp >::swap ( PODResizeableArray< _Tp > &  v)
inline

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