19 return _entry.lock()->key() ;
56 return Selection( *
this, cond, strategy ) ;
Data selection to identify and manage an Entry.
typename std::vector< WeakEntry >::const_iterator const_iterator
random access const_iterator for Selections.
std::vector< WeakEntry > _entries
entries which included in selection.
bool valid() const
check if WeakEntry is usable.
const EntryKey & key() const
get key from Entry.
std::weak_ptr< const details::Entry > _entry
wake reference to Entry
const_iterator begin() const
begin iterator to iterate through entries.
void remove(std::size_t i)
remove entry at position.
#define MARLIN_BOOK_THROW(message)
Selection()=default
default constructor. Construct empty selection.
static Selection find(T begin, T end, const Condition &cond)
Construct Selection from range of Entries.
const_iterator end() const
end iterator for entries. First not valid iterator.
template Selection Selection::find< Selection::const_iterator >(Selection::const_iterator begin, Selection::const_iterator end, const Condition &cond)
const Condition & condition() const
getter for Condition which every Entry full fill.
Contains references to entries.
Condition _condition
condition which every entry fulfill.
ComposeStrategy
Possibilities to compose Conditions when creating sub selections.
wrapper class for an Entry filter function.