Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
util::buffer_t< T > Class Template Reference

Public Member Functions

 buffer_t (buffer_t &&o) noexcept
 buffer_t (const buffer_t &o)
buffer_t & operator= (buffer_t &&o) noexcept
 buffer_t (size_t elements)
 buffer_t (size_t elements, const T &t)
T & operator[] (size_t el)
const T & operator[] (size_t el) const
size_t size () const
void fake_resize (std::size_t els)
T * begin ()
const T * begin () const
T * end ()
const T * end () const

Detailed Description

template<class T>
class util::buffer_t< T >

Definition at line 861 of file utility.h.

Constructor & Destructor Documentation

◆ buffer_t() [1/5]

template<class T>
util::buffer_t< T >::buffer_t ( )
inline

Definition at line 863 of file utility.h.

◆ buffer_t() [2/5]

template<class T>
util::buffer_t< T >::buffer_t ( buffer_t< T > && o)
inlinenoexcept

Definition at line 866 of file utility.h.

◆ buffer_t() [3/5]

template<class T>
util::buffer_t< T >::buffer_t ( const buffer_t< T > & o)
inline

Definition at line 872 of file utility.h.

◆ buffer_t() [4/5]

template<class T>
util::buffer_t< T >::buffer_t ( size_t elements)
inlineexplicit

Definition at line 885 of file utility.h.

◆ buffer_t() [5/5]

template<class T>
util::buffer_t< T >::buffer_t ( size_t elements,
const T & t )
inlineexplicit

Definition at line 890 of file utility.h.

Member Function Documentation

◆ begin() [1/2]

template<class T>
T * util::buffer_t< T >::begin ( )
inline

Definition at line 912 of file utility.h.

◆ begin() [2/2]

template<class T>
const T * util::buffer_t< T >::begin ( ) const
inline

Definition at line 916 of file utility.h.

◆ end() [1/2]

template<class T>
T * util::buffer_t< T >::end ( )
inline

Definition at line 920 of file utility.h.

◆ end() [2/2]

template<class T>
const T * util::buffer_t< T >::end ( ) const
inline

Definition at line 924 of file utility.h.

◆ fake_resize()

template<class T>
void util::buffer_t< T >::fake_resize ( std::size_t els)
inline

Definition at line 908 of file utility.h.

◆ operator=()

template<class T>
buffer_t & util::buffer_t< T >::operator= ( buffer_t< T > && o)
inlinenoexcept

Definition at line 878 of file utility.h.

◆ operator[]() [1/2]

template<class T>
T & util::buffer_t< T >::operator[] ( size_t el)
inline

Definition at line 896 of file utility.h.

◆ operator[]() [2/2]

template<class T>
const T & util::buffer_t< T >::operator[] ( size_t el) const
inline

Definition at line 900 of file utility.h.

◆ size()

template<class T>
size_t util::buffer_t< T >::size ( ) const
inline

Definition at line 904 of file utility.h.


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