momo
3.9
|
#include <DataSelection.h>
Public Types | |
typedef TRowReference | RowReference |
typedef TDataTraits | DataTraits |
typedef RowReference::ColumnList | ColumnList |
typedef ColumnList::MemManager | MemManager |
typedef ColumnList::Settings | Settings |
typedef ColumnList::Raw | Raw |
template<typename Item > | |
using | Column = typename ColumnList::template Column< Item > |
template<typename Item > | |
using | Equality = DataEquality< Column< Item > > |
typedef DataSelection< ConstRowReference, DataTraits > | ConstSelection |
typedef DataRowIterator< RawIterator, RowReference > | ConstIterator |
typedef ConstIterator | Iterator |
template<typename Item > | |
using | ConstItemBounds = DataConstItemBounds< ConstRowBounds, Item > |
Public Member Functions | |
DataSelection ()=delete | |
DataSelection (DataSelection &&selection) noexcept | |
DataSelection (const DataSelection &selection) | |
template<typename RowFilter > | |
DataSelection (const DataSelection &selection, const RowFilter &rowFilter) | |
~DataSelection ()=default | |
DataSelection & | operator= (DataSelection &&selection) noexcept |
DataSelection & | operator= (const DataSelection &selection) |
operator ConstSelection () &&noexcept | |
operator ConstSelection () const & | |
void | Swap (DataSelection &selection) noexcept |
ConstIterator | GetBegin () const noexcept |
ConstIterator | GetEnd () const noexcept |
const ColumnList & | GetColumnList () const noexcept |
const MemManager & | GetMemManager () const noexcept |
MemManager & | GetMemManager () noexcept |
size_t | GetCount () const noexcept |
bool | IsEmpty () const noexcept |
void | Clear () noexcept |
void | Reserve (size_t capacity) |
const RowReference | operator[] (size_t index) const |
void | Set (size_t index, RowReference rowRef) |
template<typename Item > | |
ConstItemBounds< Item > | GetColumnItems (const Column< Item > &column) const |
template<typename RowIterator > | |
void | Assign (RowIterator begin, RowIterator end) |
void | Add (RowReference rowRef) |
template<typename RowIterator > | |
void | Add (RowIterator begin, RowIterator end) |
void | Insert (size_t index, RowReference rowRef) |
template<typename RowIterator > | |
void | Insert (size_t index, RowIterator begin, RowIterator end) |
void | Remove (size_t index, size_t count=1) |
template<typename RowFilter > | |
EnableIf< IsInvocable< const RowFilter &, bool, ConstRowReference >::value, size_t > | Remove (const RowFilter &rowFilter) |
DataSelection && | Reverse () &&noexcept |
DataSelection & | Reverse () &noexcept |
template<typename Item , typename... Items> | |
DataSelection && | Sort (const Column< Item > &column, const Column< Items > &... columns) && |
template<typename Item , typename... Items> | |
DataSelection & | Sort (const Column< Item > &column, const Column< Items > &... columns) & |
template<typename RowLessFunc > | |
EnableIf< IsInvocable< const RowLessFunc &, bool, ConstRowReference, ConstRowReference >::value, DataSelection && > | Sort (const RowLessFunc &rowLessFunc) && |
template<typename RowLessFunc > | |
EnableIf< IsInvocable< const RowLessFunc &, bool, ConstRowReference, ConstRowReference >::value, DataSelection & > | Sort (const RowLessFunc &rowLessFunc) & |
template<typename Item , typename... Items> | |
DataSelection && | Group (const Column< Item > &column, const Column< Items > &... columns) && |
template<typename Item , typename... Items> | |
DataSelection & | Group (const Column< Item > &column, const Column< Items > &... columns) & |
template<typename Item , typename... Items> | |
size_t | GetLowerBound (Equality< Item > equal, Equality< Items >... equals) const |
template<typename Item , typename... Items> | |
size_t | GetUpperBound (Equality< Item > equal, Equality< Items >... equals) const |
template<typename RowPredicate > | |
size_t | BinarySearch (const RowPredicate &rowPred) const |
Protected Types | |
typedef internal::VersionKeeper< Settings > | VersionKeeper |
typedef Array< Raw *, MemManager, ArrayItemTraits< Raw *, MemManager >, NestedArraySettings< typename Settings::SelectionRawsSettings > > | Raws |
Protected Member Functions | |
DataSelection (const ColumnList *columnList, Raws &&raws, VersionKeeper version) noexcept | |
using momo::internal::DataSelection< TRowReference, TDataTraits >::Column = typename ColumnList::template Column<Item> |
typedef RowReference::ColumnList momo::internal::DataSelection< TRowReference, TDataTraits >::ColumnList |
using momo::internal::DataSelection< TRowReference, TDataTraits >::ConstItemBounds = DataConstItemBounds<ConstRowBounds, Item> |
typedef DataRowIterator<RawIterator, RowReference> momo::internal::DataSelection< TRowReference, TDataTraits >::ConstIterator |
typedef DataSelection<ConstRowReference, DataTraits> momo::internal::DataSelection< TRowReference, TDataTraits >::ConstSelection |
typedef TDataTraits momo::internal::DataSelection< TRowReference, TDataTraits >::DataTraits |
using momo::internal::DataSelection< TRowReference, TDataTraits >::Equality = DataEquality<Column<Item> > |
typedef ConstIterator momo::internal::DataSelection< TRowReference, TDataTraits >::Iterator |
typedef ColumnList::MemManager momo::internal::DataSelection< TRowReference, TDataTraits >::MemManager |
typedef ColumnList::Raw momo::internal::DataSelection< TRowReference, TDataTraits >::Raw |
|
protected |
typedef TRowReference momo::internal::DataSelection< TRowReference, TDataTraits >::RowReference |
typedef ColumnList::Settings momo::internal::DataSelection< TRowReference, TDataTraits >::Settings |
|
protected |
|
delete |
|
inlinenoexcept |
|
inline |
|
inlineexplicit |
|
default |
|
inlineexplicitprotectednoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |