momo  3.9
momo::DataColumnInfo< TStruct, TCode > Class Template Reference

#include <DataColumn.h>

Inheritance diagram for momo::DataColumnInfo< TStruct, TCode >:
momo::internal::DataColumnInfoBase< DataStructDefault<>, typename internal::DataColumnCodeSelector< DataStructDefault<> >::Code >

Public Types

template<typename Item >
using Column = DataColumn< Item, Struct, Code >
 
typedef TStruct Struct
 
typedef TCode Code
 
- Public Types inherited from momo::internal::DataColumnInfoBase< DataStructDefault<>, typename internal::DataColumnCodeSelector< DataStructDefault<> >::Code >
typedef DataStructDefault<> Struct
 
typedef typename internal::DataColumnCodeSelector< DataStructDefault<> >::Code Code
 
typedef VisitableItemsSelector< Struct >::VisitableItems VisitableItems
 

Public Member Functions

template<typename Item >
 DataColumnInfo (const Column< Item > &column) noexcept
 
const char * GetName () const noexcept
 
template<typename PtrVisitor >
void Visit (const void *item, const PtrVisitor &ptrVisitor) const
 
template<typename PtrVisitor >
void Visit (void *item, const PtrVisitor &ptrVisitor) const
 
Code GetCode () const noexcept
 
- Public Member Functions inherited from momo::internal::DataColumnInfoBase< DataStructDefault<>, typename internal::DataColumnCodeSelector< DataStructDefault<> >::Code >
Code GetCode () const noexcept
 
const std::type_info & GetTypeInfo () const noexcept
 

Static Public Member Functions

template<typename Item >
static Code GetCode (const Column< Item > &column) noexcept
 
template<typename Item >
static DataEquality< Column< Item > > MakeEquality (const Column< Item > &column, const internal::Identity< Item > &item) noexcept
 
template<typename Item , typename ItemArg >
static DataAssignment< Column< Item >, ItemArg > MakeAssignment (const Column< Item > &column, ItemArg &&itemArg) noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from momo::internal::DataColumnInfoBase< DataStructDefault<>, typename internal::DataColumnCodeSelector< DataStructDefault<> >::Code >
 DataColumnInfoBase (Code code, Item *) noexcept
 
void ptVisit (Void *item, const PtrVisitor &ptrVisitor) const
 

Member Typedef Documentation

◆ Code

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
typedef TCode momo::internal::DataColumnInfoBase< TStruct, TCode >::Code

◆ Column

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename Item >
using momo::DataColumnInfo< TStruct, TCode >::Column = DataColumn<Item, Struct, Code>

◆ Struct

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
typedef TStruct momo::internal::DataColumnInfoBase< TStruct, TCode >::Struct

Constructor & Destructor Documentation

◆ DataColumnInfo()

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename Item >
momo::DataColumnInfo< TStruct, TCode >::DataColumnInfo ( const Column< Item > &  column)
inlinenoexcept

Member Function Documentation

◆ GetCode() [1/2]

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
Code momo::internal::DataColumnInfoBase< TStruct, TCode >::GetCode
inlinenoexcept

◆ GetCode() [2/2]

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename Item >
static Code momo::DataColumnInfo< TStruct, TCode >::GetCode ( const Column< Item > &  column)
inlinestaticnoexcept

◆ GetName()

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
const char* momo::DataColumnInfo< TStruct, TCode >::GetName ( ) const
inlinenoexcept

◆ MakeAssignment()

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename Item , typename ItemArg >
static DataAssignment<Column<Item>, ItemArg> momo::DataColumnInfo< TStruct, TCode >::MakeAssignment ( const Column< Item > &  column,
ItemArg &&  itemArg 
)
inlinestaticnoexcept

◆ MakeEquality()

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename Item >
static DataEquality<Column<Item> > momo::DataColumnInfo< TStruct, TCode >::MakeEquality ( const Column< Item > &  column,
const internal::Identity< Item > &  item 
)
inlinestaticnoexcept

◆ Visit() [1/2]

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename PtrVisitor >
void momo::DataColumnInfo< TStruct, TCode >::Visit ( const void *  item,
const PtrVisitor &  ptrVisitor 
) const
inline

◆ Visit() [2/2]

template<typename TStruct = DataStructDefault<>, typename TCode = typename internal::DataColumnCodeSelector<TStruct>::Code>
template<typename PtrVisitor >
void momo::DataColumnInfo< TStruct, TCode >::Visit ( void *  item,
const PtrVisitor &  ptrVisitor 
) const
inline

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