CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::SimpleArray< T > Class Template Reference

#include <MemoryManager.h>

Public Types

using value_type = T
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = value_type *
 
using const_pointer = const value_type *
 
using iterator = value_type *
 
using const_iterator = const value_type *
 

Public Member Functions

constexpr SimpleArray () noexcept=default
 
 SimpleArray (size_type a_count)
 
 ~SimpleArray ()
 
 TES_HEAP_REDEFINE_NEW ()
 
reference operator[] (size_type a_pos) noexcept
 
const_reference operator[] (size_type a_pos) const noexcept
 
reference front () noexcept
 
const_reference front () const noexcept
 
reference back () noexcept
 
const_reference back () const noexcept
 
pointer data () noexcept
 
const_pointer data () const noexcept
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
bool empty () const noexcept
 
size_type size () const noexcept
 
void clear ()
 
void resize (size_type a_count)
 

Protected Member Functions

void * get_head () noexcept
 
const void * get_head () const noexcept
 

Protected Attributes

pointer _data { nullptr }
 

Member Typedef Documentation

◆ const_iterator

template<class T >
using RE::SimpleArray< T >::const_iterator = const value_type*

◆ const_pointer

template<class T >
using RE::SimpleArray< T >::const_pointer = const value_type*

◆ const_reference

template<class T >
using RE::SimpleArray< T >::const_reference = const value_type&

◆ difference_type

template<class T >
using RE::SimpleArray< T >::difference_type = std::ptrdiff_t

◆ iterator

template<class T >
using RE::SimpleArray< T >::iterator = value_type*

◆ pointer

template<class T >
using RE::SimpleArray< T >::pointer = value_type*

◆ reference

template<class T >
using RE::SimpleArray< T >::reference = value_type&

◆ size_type

template<class T >
using RE::SimpleArray< T >::size_type = std::size_t

◆ value_type

template<class T >
using RE::SimpleArray< T >::value_type = T

Constructor & Destructor Documentation

◆ SimpleArray() [1/2]

template<class T >
constexpr RE::SimpleArray< T >::SimpleArray ( )
constexprdefaultnoexcept

◆ SimpleArray() [2/2]

template<class T >
RE::SimpleArray< T >::SimpleArray ( size_type  a_count)
inlineexplicit

◆ ~SimpleArray()

template<class T >
RE::SimpleArray< T >::~SimpleArray ( )
inline

Member Function Documentation

◆ back() [1/2]

template<class T >
const_reference RE::SimpleArray< T >::back ( ) const
inlinenoexcept

◆ back() [2/2]

template<class T >
reference RE::SimpleArray< T >::back ( )
inlinenoexcept

◆ begin() [1/2]

template<class T >
const_iterator RE::SimpleArray< T >::begin ( ) const
inlinenoexcept

◆ begin() [2/2]

template<class T >
iterator RE::SimpleArray< T >::begin ( )
inlinenoexcept

◆ cbegin()

template<class T >
const_iterator RE::SimpleArray< T >::cbegin ( ) const
inlinenoexcept

◆ cend()

template<class T >
const_iterator RE::SimpleArray< T >::cend ( ) const
inlinenoexcept

◆ clear()

template<class T >
void RE::SimpleArray< T >::clear ( )
inline

◆ data() [1/2]

template<class T >
const_pointer RE::SimpleArray< T >::data ( ) const
inlinenoexcept

◆ data() [2/2]

template<class T >
pointer RE::SimpleArray< T >::data ( )
inlinenoexcept

◆ empty()

template<class T >
bool RE::SimpleArray< T >::empty ( ) const
inlinenoexcept

◆ end() [1/2]

template<class T >
const_iterator RE::SimpleArray< T >::end ( ) const
inlinenoexcept

◆ end() [2/2]

template<class T >
iterator RE::SimpleArray< T >::end ( )
inlinenoexcept

◆ front() [1/2]

template<class T >
const_reference RE::SimpleArray< T >::front ( ) const
inlinenoexcept

◆ front() [2/2]

template<class T >
reference RE::SimpleArray< T >::front ( )
inlinenoexcept

◆ get_head() [1/2]

template<class T >
const void * RE::SimpleArray< T >::get_head ( ) const
inlineprotectednoexcept

◆ get_head() [2/2]

template<class T >
void * RE::SimpleArray< T >::get_head ( )
inlineprotectednoexcept

◆ operator[]() [1/2]

template<class T >
const_reference RE::SimpleArray< T >::operator[] ( size_type  a_pos) const
inlinenoexcept

◆ operator[]() [2/2]

template<class T >
reference RE::SimpleArray< T >::operator[] ( size_type  a_pos)
inlinenoexcept

◆ resize()

template<class T >
void RE::SimpleArray< T >::resize ( size_type  a_count)
inline

◆ size()

template<class T >
size_type RE::SimpleArray< T >::size ( ) const
inlinenoexcept

◆ TES_HEAP_REDEFINE_NEW()

template<class T >
RE::SimpleArray< T >::TES_HEAP_REDEFINE_NEW ( )

Member Data Documentation

◆ _data

template<class T >
pointer RE::SimpleArray< T >::_data { nullptr }
protected

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