• Home
  • Raw
  • Download

Lines Matching refs:Accessor

146 template<typename Accessor, size_t... Columns>
148 static const char* names[] = { Accessor::template ColumnName<Columns, 0>::Value... }; in GetBitTableColumnNamesImpl()
153 template<typename Accessor>
154 class BitTable : public BitTableBase<Accessor::kNumColumns> {
157 /* value_type */ Accessor,
180 Accessor operator*() {
182 return Accessor(table_, row_);
184 Accessor operator->() {
186 return Accessor(table_, row_);
188 Accessor operator[](size_t index) {
190 return Accessor(table_, row_ + index);
197 using BitTableBase<Accessor::kNumColumns>::BitTableBase; // Constructors.
202 ALWAYS_INLINE Accessor GetRow(uint32_t row) const { in GetRow()
203 return Accessor(this, row); in GetRow()
206 ALWAYS_INLINE Accessor GetInvalidRow() const { in GetInvalidRow()
207 return Accessor(this, static_cast<uint32_t>(-1)); in GetInvalidRow()
211 return Accessor::kTableName; in GetName()
215 return GetBitTableColumnNamesImpl<Accessor>(std::make_index_sequence<Accessor::kNumColumns>()); in GetColumnNames()
219 template<typename Accessor>
220 typename BitTable<Accessor>::const_iterator operator+(
221 typename BitTable<Accessor>::const_iterator::difference_type n,
222 typename BitTable<Accessor>::const_iterator a) {
226 template<typename Accessor>
227 class BitTableRange : public IterationRange<typename BitTable<Accessor>::const_iterator> {
229 typedef typename BitTable<Accessor>::const_iterator const_iterator;
237 Accessor operator[](size_t index) const {
243 Accessor back() const { in back()
392 template<typename Accessor>
393 class BitTableBuilder : public BitTableBuilderBase<Accessor::kNumColumns> {
395 using BitTableBuilderBase<Accessor::kNumColumns>::BitTableBuilderBase; // Constructors.