momo  3.9
momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings > Class Template Reference

#include <DataColumn.h>

Public Types

typedef TStruct Struct
 
typedef TColumnInfo ColumnInfo
 
typedef TMemManager MemManager
 
typedef TSettings Settings
 
template<typename Item >
using Column = typename ColumnInfo::template Column< Item >
 
typedef Struct Raw
 

Public Member Functions

 MOMO_STATIC_ASSERT (std::is_class< Struct >::value &&!std::is_empty< Struct >::value)
 
 DataColumnListStatic (MemManager memManager=MemManager())
 
 DataColumnListStatic (DataColumnListStatic &&columnList) noexcept
 
 DataColumnListStatic (const DataColumnListStatic &columnList)
 
 ~DataColumnListStatic ()=default
 
DataColumnListStaticoperator= (const DataColumnListStatic &)=delete
 
const MemManagerGetMemManager () const noexcept
 
MemManagerGetMemManager () noexcept
 
template<typename... Items>
void SetMutable (const Column< Items > &... columns)
 
void ResetMutable () noexcept
 
bool IsMutable (size_t offset) const noexcept
 
size_t GetTotalSize () const noexcept
 
size_t GetAlignment () const noexcept
 
void CreateRaw (MemManager &memManager, Raw *raw) const
 
void CreateRaw (MemManager &memManager, Raw &&srcRaw, Raw *raw) const
 
void DestroyRaw (MemManager *memManager, Raw *raw) const noexcept
 
void ImportRaw (MemManager &memManager, const DataColumnListStatic &, const Raw *srcRaw, Raw *raw) const
 
template<bool extraCheck = true, typename Item >
MOMO_FORCEINLINE size_t GetOffset (const Column< Item > &column) const noexcept
 
template<typename Item , typename ItemArg >
void Assign (Raw *raw, size_t offset, ItemArg &&itemArg) const
 
size_t GetNumber (const Raw *raw) const noexcept
 
void SetNumber (Raw *raw, size_t number) const noexcept
 
bool Contains (const ColumnInfo &columnInfo, size_t *resOffset=nullptr) const noexcept
 
template<typename Item , typename... Items>
void PrepareForVisitors (const Column< Item > &column, const Column< Items > &... columns)
 
template<typename PtrVisitor >
void VisitPointers (const Raw *raw, const PtrVisitor &ptrVisitor) const
 
template<typename PtrVisitor >
void VisitPointers (Raw *raw, const PtrVisitor &ptrVisitor) const
 

Static Public Member Functions

template<typename Item >
static Item & GetByOffset (Raw *raw, size_t offset) noexcept
 

Member Typedef Documentation

◆ Column

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename Item >
using momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::Column = typename ColumnInfo::template Column<Item>

◆ ColumnInfo

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
typedef TColumnInfo momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::ColumnInfo

◆ MemManager

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
typedef TMemManager momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::MemManager

◆ Raw

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
typedef Struct momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::Raw

◆ Settings

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
typedef TSettings momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::Settings

◆ Struct

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
typedef TStruct momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::Struct

Constructor & Destructor Documentation

◆ DataColumnListStatic() [1/3]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::DataColumnListStatic ( MemManager  memManager = MemManager())
inlineexplicit

◆ DataColumnListStatic() [2/3]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::DataColumnListStatic ( DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings > &&  columnList)
inlinenoexcept

◆ DataColumnListStatic() [3/3]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::DataColumnListStatic ( const DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings > &  columnList)
inline

◆ ~DataColumnListStatic()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::~DataColumnListStatic ( )
default

Member Function Documentation

◆ Assign()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename Item , typename ItemArg >
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::Assign ( Raw raw,
size_t  offset,
ItemArg &&  itemArg 
) const
inline

◆ Contains()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
bool momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::Contains ( const ColumnInfo columnInfo,
size_t *  resOffset = nullptr 
) const
inlinenoexcept

◆ CreateRaw() [1/2]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::CreateRaw ( MemManager memManager,
Raw &&  srcRaw,
Raw raw 
) const
inline

◆ CreateRaw() [2/2]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::CreateRaw ( MemManager memManager,
Raw raw 
) const
inline

◆ DestroyRaw()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::DestroyRaw ( MemManager memManager,
Raw raw 
) const
inlinenoexcept

◆ GetAlignment()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
size_t momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetAlignment ( ) const
inlinenoexcept

◆ GetByOffset()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename Item >
static Item& momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetByOffset ( Raw raw,
size_t  offset 
)
inlinestaticnoexcept

◆ GetMemManager() [1/2]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
const MemManager& momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetMemManager ( ) const
inlinenoexcept

◆ GetMemManager() [2/2]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
MemManager& momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetMemManager ( )
inlinenoexcept

◆ GetNumber()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
size_t momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetNumber ( const Raw raw) const
inlinenoexcept

◆ GetOffset()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<bool extraCheck = true, typename Item >
MOMO_FORCEINLINE size_t momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetOffset ( const Column< Item > &  column) const
inlinenoexcept

◆ GetTotalSize()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
size_t momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::GetTotalSize ( ) const
inlinenoexcept

◆ ImportRaw()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::ImportRaw ( MemManager memManager,
const DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings > &  ,
const Raw srcRaw,
Raw raw 
) const
inline

◆ IsMutable()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
bool momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::IsMutable ( size_t  offset) const
inlinenoexcept

◆ MOMO_STATIC_ASSERT()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::MOMO_STATIC_ASSERT ( std::is_class< Struct >::value &&!std::is_empty< Struct >::value  )

◆ operator=()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
DataColumnListStatic& momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::operator= ( const DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings > &  )
delete

◆ PrepareForVisitors()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename Item , typename... Items>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::PrepareForVisitors ( const Column< Item > &  column,
const Column< Items > &...  columns 
)
inline

◆ ResetMutable()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::ResetMutable ( )
inlinenoexcept

◆ SetMutable()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename... Items>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::SetMutable ( const Column< Items > &...  columns)
inline

◆ SetNumber()

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::SetNumber ( Raw raw,
size_t  number 
) const
inlinenoexcept

◆ VisitPointers() [1/2]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename PtrVisitor >
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::VisitPointers ( const Raw raw,
const PtrVisitor &  ptrVisitor 
) const
inline

◆ VisitPointers() [2/2]

template<typename TStruct , typename TColumnInfo = DataColumnInfo<TStruct>, typename TMemManager = MemManagerDefault, typename TSettings = DataSettings<>>
template<typename PtrVisitor >
void momo::DataColumnListStatic< TStruct, TColumnInfo, TMemManager, TSettings >::VisitPointers ( Raw raw,
const PtrVisitor &  ptrVisitor 
) const
inline

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