Galois::LazyArray< _Tp, _Size > Class Template Reference

This is a container that encapsulates space for a constant size array. More...

#include <LazyArray.h>

List of all members.

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

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
reference operator[] (size_type __n)
const_reference operator[] (size_type __n) const
reference at (size_type __n)
const_reference at (size_type __n) const
reference front ()
const_reference front () const
reference back ()
const_reference back () const
pointer data ()
const_pointer data () const
template<typename... Args>
pointer emplace (size_type __n, Args &&...args)
pointer construct (size_type __n, const _Tp &val)
pointer construct (size_type __n, _Tp &&val)
void destroy (size_type __n)

Private Types

typedef std::aligned_storage
< sizeof(_Tp),
std::alignment_of< _Tp >
::value >::type 
CharData

Private Member Functions

_Tp * get (size_t __n)
const _Tp * get (size_t __n) const

Private Attributes

LazyObject< _Tp > data_ [(_Size > 0?_Size:1)]

Detailed Description

template<typename _Tp, unsigned _Size>
class Galois::LazyArray< _Tp, _Size >

This is a container that encapsulates space for a constant size array.

The initialization and destruction of items is explicitly under the control of the user.


Member Typedef Documentation

template<typename _Tp, unsigned _Size>
typedef std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>::type Galois::LazyArray< _Tp, _Size >::CharData [private]
template<typename _Tp, unsigned _Size>
typedef const_pointer Galois::LazyArray< _Tp, _Size >::const_iterator
template<typename _Tp, unsigned _Size>
typedef const value_type* Galois::LazyArray< _Tp, _Size >::const_pointer
template<typename _Tp, unsigned _Size>
typedef const value_type& Galois::LazyArray< _Tp, _Size >::const_reference
template<typename _Tp, unsigned _Size>
typedef std::reverse_iterator<const_iterator> Galois::LazyArray< _Tp, _Size >::const_reverse_iterator
template<typename _Tp, unsigned _Size>
typedef ptrdiff_t Galois::LazyArray< _Tp, _Size >::difference_type
template<typename _Tp, unsigned _Size>
typedef pointer Galois::LazyArray< _Tp, _Size >::iterator
template<typename _Tp, unsigned _Size>
typedef value_type* Galois::LazyArray< _Tp, _Size >::pointer
template<typename _Tp, unsigned _Size>
typedef value_type& Galois::LazyArray< _Tp, _Size >::reference
template<typename _Tp, unsigned _Size>
typedef std::reverse_iterator<iterator> Galois::LazyArray< _Tp, _Size >::reverse_iterator
template<typename _Tp, unsigned _Size>
typedef size_t Galois::LazyArray< _Tp, _Size >::size_type
template<typename _Tp, unsigned _Size>
typedef _Tp Galois::LazyArray< _Tp, _Size >::value_type

Member Function Documentation

template<typename _Tp, unsigned _Size>
const_reference Galois::LazyArray< _Tp, _Size >::at ( size_type  __n  )  const [inline]
template<typename _Tp, unsigned _Size>
reference Galois::LazyArray< _Tp, _Size >::at ( size_type  __n  )  [inline]
template<typename _Tp, unsigned _Size>
const_reference Galois::LazyArray< _Tp, _Size >::back (  )  const [inline]
template<typename _Tp, unsigned _Size>
reference Galois::LazyArray< _Tp, _Size >::back (  )  [inline]
template<typename _Tp, unsigned _Size>
const_iterator Galois::LazyArray< _Tp, _Size >::begin (  )  const [inline]
template<typename _Tp, unsigned _Size>
iterator Galois::LazyArray< _Tp, _Size >::begin (  )  [inline]
template<typename _Tp, unsigned _Size>
const_iterator Galois::LazyArray< _Tp, _Size >::cbegin (  )  const [inline]
template<typename _Tp, unsigned _Size>
const_iterator Galois::LazyArray< _Tp, _Size >::cend (  )  const [inline]
template<typename _Tp, unsigned _Size>
pointer Galois::LazyArray< _Tp, _Size >::construct ( size_type  __n,
_Tp &&  val 
) [inline]
template<typename _Tp, unsigned _Size>
pointer Galois::LazyArray< _Tp, _Size >::construct ( size_type  __n,
const _Tp &  val 
) [inline]
template<typename _Tp, unsigned _Size>
const_reverse_iterator Galois::LazyArray< _Tp, _Size >::crbegin (  )  const [inline]
template<typename _Tp, unsigned _Size>
const_reverse_iterator Galois::LazyArray< _Tp, _Size >::crend (  )  const [inline]
template<typename _Tp, unsigned _Size>
const_pointer Galois::LazyArray< _Tp, _Size >::data (  )  const [inline]
template<typename _Tp, unsigned _Size>
pointer Galois::LazyArray< _Tp, _Size >::data (  )  [inline]
template<typename _Tp, unsigned _Size>
void Galois::LazyArray< _Tp, _Size >::destroy ( size_type  __n  )  [inline]
template<typename _Tp, unsigned _Size>
template<typename... Args>
pointer Galois::LazyArray< _Tp, _Size >::emplace ( size_type  __n,
Args &&...  args 
) [inline]
template<typename _Tp, unsigned _Size>
bool Galois::LazyArray< _Tp, _Size >::empty (  )  const [inline]
template<typename _Tp, unsigned _Size>
const_iterator Galois::LazyArray< _Tp, _Size >::end (  )  const [inline]
template<typename _Tp, unsigned _Size>
iterator Galois::LazyArray< _Tp, _Size >::end (  )  [inline]
template<typename _Tp, unsigned _Size>
const_reference Galois::LazyArray< _Tp, _Size >::front (  )  const [inline]
template<typename _Tp, unsigned _Size>
reference Galois::LazyArray< _Tp, _Size >::front (  )  [inline]
template<typename _Tp, unsigned _Size>
const _Tp* Galois::LazyArray< _Tp, _Size >::get ( size_t  __n  )  const [inline, private]
template<typename _Tp, unsigned _Size>
_Tp* Galois::LazyArray< _Tp, _Size >::get ( size_t  __n  )  [inline, private]
template<typename _Tp, unsigned _Size>
size_type Galois::LazyArray< _Tp, _Size >::max_size (  )  const [inline]
template<typename _Tp, unsigned _Size>
const_reference Galois::LazyArray< _Tp, _Size >::operator[] ( size_type  __n  )  const [inline]
template<typename _Tp, unsigned _Size>
reference Galois::LazyArray< _Tp, _Size >::operator[] ( size_type  __n  )  [inline]
template<typename _Tp, unsigned _Size>
const_reverse_iterator Galois::LazyArray< _Tp, _Size >::rbegin (  )  const [inline]
template<typename _Tp, unsigned _Size>
reverse_iterator Galois::LazyArray< _Tp, _Size >::rbegin (  )  [inline]
template<typename _Tp, unsigned _Size>
const_reverse_iterator Galois::LazyArray< _Tp, _Size >::rend (  )  const [inline]
template<typename _Tp, unsigned _Size>
reverse_iterator Galois::LazyArray< _Tp, _Size >::rend (  )  [inline]
template<typename _Tp, unsigned _Size>
size_type Galois::LazyArray< _Tp, _Size >::size (  )  const [inline]

Member Data Documentation

template<typename _Tp, unsigned _Size>
LazyObject<_Tp> Galois::LazyArray< _Tp, _Size >::data_[(_Size > 0?_Size:1)] [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1