25#ifndef SQL_VISIBLE_FIELDS_H
26#define SQL_VISIBLE_FIELDS_H
50template <
class Iterator>
54 while (
m_it !=
m_end && (*m_it)->hidden) {
63 }
while (
m_it !=
m_end && (*m_it)->hidden);
72 }
while (
m_it !=
m_end && (*m_it)->hidden);
89 using pointer =
typename Iterator::pointer;
97template <
class Container,
class Iterator>
Definition: visible_fields.h:51
VisibleFieldsAdapter & operator++()
Definition: visible_fields.h:60
typename Iterator::difference_type difference_type
Definition: visible_fields.h:87
Iterator m_it
Definition: visible_fields.h:94
VisibleFieldsAdapter operator++(int)
Definition: visible_fields.h:68
typename Iterator::reference reference
Definition: visible_fields.h:90
bool operator==(const VisibleFieldsAdapter &other) const
Definition: visible_fields.h:78
bool operator!=(const VisibleFieldsAdapter &other) const
Definition: visible_fields.h:81
Iterator m_end
Definition: visible_fields.h:94
typename Iterator::pointer pointer
Definition: visible_fields.h:89
VisibleFieldsAdapter(Iterator base, Iterator end)
Definition: visible_fields.h:53
std::forward_iterator_tag iterator_category
Definition: visible_fields.h:91
typename Iterator::value_type value_type
Definition: visible_fields.h:88
auto & operator*() const
Definition: visible_fields.h:76
Definition: visible_fields.h:98
VisibleFieldsContainer(Container &fields)
Definition: visible_fields.h:100
VisibleFieldsAdapter< Iterator > begin()
Definition: visible_fields.h:101
Container & m_fields
Definition: visible_fields.h:109
VisibleFieldsAdapter< Iterator > end()
Definition: visible_fields.h:104
Definition: mem_root_deque.h:288
A (partial) implementation of std::deque allocating its blocks on a MEM_ROOT.
Definition: mem_root_deque.h:111
uint16_t value_type
Definition: vt100.h:184
Cursor end()
A past-the-end Cursor.
Definition: rules_table_service.cc:192
VisibleFieldsContainer< mem_root_deque< Item * >, mem_root_deque< Item * >::iterator > VisibleFieldsIterator
Definition: visible_fields.h:114
VisibleFieldsContainer< const mem_root_deque< Item * >, mem_root_deque< Item * >::const_iterator > VisibleFieldsConstIterator
Definition: visible_fields.h:117
VisibleFieldsIterator VisibleFields(mem_root_deque< Item * > &fields)
Definition: visible_fields.h:119