momo  3.9
momo::internal::ObjectBuffer< TObject, tAlignment, tCount > Class Template Reference

#include <ObjectManager.h>

Public Types

typedef TObject Object
 

Public Member Functions

 MOMO_STATIC_ASSERT (ObjectAlignmenter< Object >::Check(alignment))
 
 MOMO_STATIC_ASSERT (count > 0)
 
 ObjectBuffer ()=default
 
 ObjectBuffer (const ObjectBuffer &)=delete
 
 ~ObjectBuffer ()=default
 
ObjectBufferoperator= (const ObjectBuffer &)=delete
 
const Objectoperator& () const noexcept
 
Objectoperator& () noexcept
 

Static Public Attributes

static const size_t alignment = tAlignment
 
static const size_t count = tCount
 

Member Typedef Documentation

◆ Object

template<typename TObject , size_t tAlignment, size_t tCount = 1>
typedef TObject momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::Object

Constructor & Destructor Documentation

◆ ObjectBuffer() [1/2]

template<typename TObject , size_t tAlignment, size_t tCount = 1>
momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::ObjectBuffer ( )
default

◆ ObjectBuffer() [2/2]

template<typename TObject , size_t tAlignment, size_t tCount = 1>
momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::ObjectBuffer ( const ObjectBuffer< TObject, tAlignment, tCount > &  )
delete

◆ ~ObjectBuffer()

template<typename TObject , size_t tAlignment, size_t tCount = 1>
momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::~ObjectBuffer ( )
default

Member Function Documentation

◆ MOMO_STATIC_ASSERT() [1/2]

template<typename TObject , size_t tAlignment, size_t tCount = 1>
momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::MOMO_STATIC_ASSERT ( count  ,
 
)

◆ MOMO_STATIC_ASSERT() [2/2]

template<typename TObject , size_t tAlignment, size_t tCount = 1>
momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::MOMO_STATIC_ASSERT ( ObjectAlignmenter< Object ::Checkalignment)

◆ operator&() [1/2]

template<typename TObject , size_t tAlignment, size_t tCount = 1>
const Object* momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::operator& ( ) const
inlinenoexcept

◆ operator&() [2/2]

template<typename TObject , size_t tAlignment, size_t tCount = 1>
Object* momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::operator& ( )
inlinenoexcept

◆ operator=()

template<typename TObject , size_t tAlignment, size_t tCount = 1>
ObjectBuffer& momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::operator= ( const ObjectBuffer< TObject, tAlignment, tCount > &  )
delete

Member Data Documentation

◆ alignment

template<typename TObject , size_t tAlignment, size_t tCount = 1>
const size_t momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::alignment = tAlignment
static

◆ count

template<typename TObject , size_t tAlignment, size_t tCount = 1>
const size_t momo::internal::ObjectBuffer< TObject, tAlignment, tCount >::count = tCount
static

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