Sirikata
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
Sirikata::Array< T, N, integral_type > Class Template Reference

#include <Array.hpp>

Collaboration diagram for Sirikata::Array< T, N, integral_type >:

List of all members.

Public Types

enum  { static_size = N }
typedef T value_type
typedef T * iterator
typedef const T * const_iterator
typedef T & reference
typedef const T & const_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type

Public Member Functions

template<typename InputIterator >
Arrayinitialize (InputIterator begin, InputIterator end)
Arraymemcpy (const void *input, std::size_t len)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reference operator[] (size_type i)
const_reference operator[] (size_type i) const
reference front ()
const_reference front () const
reference back ()
const_reference back () const
const T * data () const
T * data ()
bool operator< (const Array &other) const
bool operator== (const Array &other) const
bool operator!= (const Array &other) const

Static Public Member Functions

static std::size_t size ()
static const Arraynull ()
template<class InputIterator >
static Array construct (InputIterator begin, InputIterator end)
template<class InputIterator >
static Array construct (InputIterator begin)

Private Attributes

mElems [static_size]

template<class T, std::size_t N, bool integral_type = true>
class Sirikata::Array< T, N, integral_type >


Member Typedef Documentation

template<class T, std::size_t N, bool integral_type = true>
typedef const T* Sirikata::Array< T, N, integral_type >::const_iterator
template<class T, std::size_t N, bool integral_type = true>
typedef const T& Sirikata::Array< T, N, integral_type >::const_reference
template<class T, std::size_t N, bool integral_type = true>
typedef std::ptrdiff_t Sirikata::Array< T, N, integral_type >::difference_type
template<class T, std::size_t N, bool integral_type = true>
typedef T* Sirikata::Array< T, N, integral_type >::iterator
template<class T, std::size_t N, bool integral_type = true>
typedef T& Sirikata::Array< T, N, integral_type >::reference
template<class T, std::size_t N, bool integral_type = true>
typedef std::size_t Sirikata::Array< T, N, integral_type >::size_type
template<class T, std::size_t N, bool integral_type = true>
typedef T Sirikata::Array< T, N, integral_type >::value_type

Member Enumeration Documentation

template<class T, std::size_t N, bool integral_type = true>
anonymous enum
Enumerator:
static_size 

Member Function Documentation

template<class T, std::size_t N, bool integral_type = true>
reference Sirikata::Array< T, N, integral_type >::back ( ) [inline]
template<class T, std::size_t N, bool integral_type = true>
const_reference Sirikata::Array< T, N, integral_type >::back ( ) const [inline]
template<class T, std::size_t N, bool integral_type = true>
const_iterator Sirikata::Array< T, N, integral_type >::begin ( ) const [inline]
template<class T, std::size_t N, bool integral_type = true>
iterator Sirikata::Array< T, N, integral_type >::begin ( ) [inline]
template<class T, std::size_t N, bool integral_type = true>
template<class InputIterator >
static Array Sirikata::Array< T, N, integral_type >::construct ( InputIterator  begin,
InputIterator  end 
) [inline, static]
template<class T, std::size_t N, bool integral_type = true>
template<class InputIterator >
static Array Sirikata::Array< T, N, integral_type >::construct ( InputIterator  begin) [inline, static]
template<class T, std::size_t N, bool integral_type = true>
const T* Sirikata::Array< T, N, integral_type >::data ( ) const [inline]
template<class T, std::size_t N, bool integral_type = true>
T* Sirikata::Array< T, N, integral_type >::data ( ) [inline]
template<class T, std::size_t N, bool integral_type = true>
iterator Sirikata::Array< T, N, integral_type >::end ( ) [inline]
template<class T, std::size_t N, bool integral_type = true>
const_iterator Sirikata::Array< T, N, integral_type >::end ( ) const [inline]
template<class T, std::size_t N, bool integral_type = true>
reference Sirikata::Array< T, N, integral_type >::front ( ) [inline]
template<class T, std::size_t N, bool integral_type = true>
const_reference Sirikata::Array< T, N, integral_type >::front ( ) const [inline]
template<class T, std::size_t N, bool integral_type = true>
template<typename InputIterator >
Array* Sirikata::Array< T, N, integral_type >::initialize ( InputIterator  begin,
InputIterator  end 
) [inline]
template<class T, std::size_t N, bool integral_type = true>
Array* Sirikata::Array< T, N, integral_type >::memcpy ( const void *  input,
std::size_t  len 
) [inline]
template<class T, std::size_t N, bool integral_type = true>
static const Array& Sirikata::Array< T, N, integral_type >::null ( ) [inline, static]
template<class T, std::size_t N, bool integral_type = true>
bool Sirikata::Array< T, N, integral_type >::operator!= ( const Array< T, N, integral_type > &  other) const [inline]
template<class T, std::size_t N, bool integral_type = true>
bool Sirikata::Array< T, N, integral_type >::operator< ( const Array< T, N, integral_type > &  other) const [inline]
template<class T, std::size_t N, bool integral_type = true>
bool Sirikata::Array< T, N, integral_type >::operator== ( const Array< T, N, integral_type > &  other) const [inline]
template<class T, std::size_t N, bool integral_type = true>
const_reference Sirikata::Array< T, N, integral_type >::operator[] ( size_type  i) const [inline]
template<class T, std::size_t N, bool integral_type = true>
reference Sirikata::Array< T, N, integral_type >::operator[] ( size_type  i) [inline]
template<class T, std::size_t N, bool integral_type = true>
static std::size_t Sirikata::Array< T, N, integral_type >::size ( ) [inline, static]

Member Data Documentation

template<class T, std::size_t N, bool integral_type = true>
T Sirikata::Array< T, N, integral_type >::mElems[static_size] [private]

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