momo  3.9
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings > Class Template Reference

#include <DataColumn.h>

Classes

class  ColumnRecord
 

Public Types

typedef TColumnTraits ColumnTraits
 
typedef TMemManager MemManager
 
typedef TItemTraits ItemTraits
 
typedef TSettings Settings
 
typedef ColumnTraits::ColumnInfo ColumnInfo
 
template<typename Item >
using Column = typename ColumnTraits::template Column< Item >
 
template<typename Item >
using QualifiedColumn = typename ColumnTraits::template QualifiedColumn< Item >
 
typedef void Raw
 
typedef Columns::ConstIterator ConstIterator
 
typedef ConstIterator Iterator
 

Public Member Functions

 DataColumnList ()
 
 DataColumnList (MemManager memManager)
 
template<typename Item , typename... Items>
 DataColumnList (const QualifiedColumn< Item > &column, const QualifiedColumn< Items > &... columns)
 
 DataColumnList (DataColumnList &&columnList) noexcept
 
 DataColumnList (const DataColumnList &columnList)
 
 ~DataColumnList ()=default
 
DataColumnListoperator= (const DataColumnList &)=delete
 
ConstIterator GetBegin () const noexcept
 
ConstIterator GetEnd () const noexcept
 
const MemManagerGetMemManager () const noexcept
 
MemManagerGetMemManager () noexcept
 
size_t GetCount () const noexcept
 
template<typename Item , typename... Items>
void Add (const QualifiedColumn< Item > &column, const QualifiedColumn< Items > &... columns)
 
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 DestroyRaw (MemManager *memManager, Raw *raw) const noexcept
 
void ImportRaw (MemManager &memManager, const DataColumnList &srcColumnList, const Raw *srcRaw, Raw *raw) const
 
template<bool extraCheck = true, typename Item >
MOMO_FORCEINLINE size_t GetOffset (const Column< Item > &column) const
 
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 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 auto GetBaseColumn (const QualifiedColumn< Item > &column) noexcept -> decltype(ColumnTraits::GetBaseColumn(column))
 
template<typename Item >
static Item & GetByOffset (Raw *raw, size_t offset) noexcept
 

Member Typedef Documentation

◆ Column

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item >
using momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Column = typename ColumnTraits::template Column<Item>

◆ ColumnInfo

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef ColumnTraits::ColumnInfo momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::ColumnInfo

◆ ColumnTraits

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef TColumnTraits momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::ColumnTraits

◆ ConstIterator

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef Columns::ConstIterator momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::ConstIterator

◆ ItemTraits

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef TItemTraits momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::ItemTraits

◆ Iterator

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef ConstIterator momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Iterator

◆ MemManager

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef TMemManager momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::MemManager

◆ QualifiedColumn

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item >
using momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::QualifiedColumn = typename ColumnTraits::template QualifiedColumn<Item>

◆ Raw

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Raw

◆ Settings

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
typedef TSettings momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Settings

Constructor & Destructor Documentation

◆ DataColumnList() [1/5]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::DataColumnList ( )
inline

◆ DataColumnList() [2/5]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::DataColumnList ( MemManager  memManager)
inlineexplicit

◆ DataColumnList() [3/5]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item , typename... Items>
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::DataColumnList ( const QualifiedColumn< Item > &  column,
const QualifiedColumn< Items > &...  columns 
)
inline

◆ DataColumnList() [4/5]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::DataColumnList ( DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings > &&  columnList)
inlinenoexcept

◆ DataColumnList() [5/5]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::DataColumnList ( const DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings > &  columnList)
inline

◆ ~DataColumnList()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::~DataColumnList ( )
default

Member Function Documentation

◆ Add()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item , typename... Items>
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Add ( const QualifiedColumn< Item > &  column,
const QualifiedColumn< Items > &...  columns 
)
inline

◆ Assign()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item , typename ItemArg >
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Assign ( Raw raw,
size_t  offset,
ItemArg &&  itemArg 
) const
inline

◆ Contains()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
bool momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::Contains ( const ColumnInfo columnInfo,
size_t *  resOffset = nullptr 
) const
inlinenoexcept

◆ CreateRaw()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::CreateRaw ( MemManager memManager,
Raw raw 
) const
inline

◆ DestroyRaw()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::DestroyRaw ( MemManager memManager,
Raw raw 
) const
inlinenoexcept

◆ GetAlignment()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
size_t momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetAlignment ( ) const
inlinenoexcept

◆ GetBaseColumn()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item >
static auto momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetBaseColumn ( const QualifiedColumn< Item > &  column) -> decltype(ColumnTraits::GetBaseColumn(column))
inlinestaticnoexcept

◆ GetBegin()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
ConstIterator momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetBegin ( ) const
inlinenoexcept

◆ GetByOffset()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename Item >
static Item& momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetByOffset ( Raw raw,
size_t  offset 
)
inlinestaticnoexcept

◆ GetCount()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
size_t momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetCount ( ) const
inlinenoexcept

◆ GetEnd()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
ConstIterator momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetEnd ( ) const
inlinenoexcept

◆ GetMemManager() [1/2]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
const MemManager& momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetMemManager ( ) const
inlinenoexcept

◆ GetMemManager() [2/2]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
MemManager& momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetMemManager ( )
inlinenoexcept

◆ GetNumber()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
size_t momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetNumber ( const Raw raw) const
inlinenoexcept

◆ GetOffset()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<bool extraCheck = true, typename Item >
MOMO_FORCEINLINE size_t momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetOffset ( const Column< Item > &  column) const
inline

◆ GetTotalSize()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
size_t momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::GetTotalSize ( ) const
inlinenoexcept

◆ ImportRaw()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::ImportRaw ( MemManager memManager,
const DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings > &  srcColumnList,
const Raw srcRaw,
Raw raw 
) const
inline

◆ IsMutable()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
bool momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::IsMutable ( size_t  offset) const
inlinenoexcept

◆ operator=()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
DataColumnList& momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::operator= ( const DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings > &  )
delete

◆ SetNumber()

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::SetNumber ( Raw raw,
size_t  number 
) const
inlinenoexcept

◆ VisitPointers() [1/2]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename PtrVisitor >
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::VisitPointers ( const Raw raw,
const PtrVisitor &  ptrVisitor 
) const
inline

◆ VisitPointers() [2/2]

template<typename TColumnTraits = DataColumnTraits<>, typename TMemManager = MemManagerDefault, typename TItemTraits = DataItemTraits<TMemManager>, typename TSettings = DataSettings<>>
template<typename PtrVisitor >
void momo::DataColumnList< TColumnTraits, TMemManager, TItemTraits, TSettings >::VisitPointers ( Raw raw,
const PtrVisitor &  ptrVisitor 
) const
inline

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