souffle  2.0.2-371-g6315b36
Public Types | Public Member Functions | Private Attributes | Friends
souffle::detail::brie::TrieTypes< 1u >::iterator_core Struct Reference

The iterator core of this level contributing to the construction of a composed trie iterator. More...

#include <Brie.h>

Collaboration diagram for souffle::detail::brie::TrieTypes< 1u >::iterator_core:
Collaboration graph

Public Types

using store_iter = typename store_type::iterator
 

Public Member Functions

store_itergetIterator ()
 
bool inc (entry_span_type entry)
 
 iterator_core ()=default
 
 iterator_core (store_iter store_iter, entry_span_type entry)
 
bool operator!= (const iterator_core &other) const
 
bool operator== (const iterator_core &other) const
 
void print (std::ostream &out) const
 
void setIterator (store_iter store_iter)
 

Private Attributes

store_iter iter
 

Friends

std::ostream & operator<< (std::ostream &out, const iterator_core &iter)
 

Detailed Description

The iterator core of this level contributing to the construction of a composed trie iterator.

Definition at line 2592 of file Brie.h.

Member Typedef Documentation

◆ store_iter

Definition at line 2593 of file Brie.h.

Constructor & Destructor Documentation

◆ iterator_core() [1/2]

souffle::detail::brie::TrieTypes< 1u >::iterator_core::iterator_core ( )
default

◆ iterator_core() [2/2]

souffle::detail::brie::TrieTypes< 1u >::iterator_core::iterator_core ( store_iter  store_iter,
entry_span_type  entry 
)
inline

Definition at line 2601 of file Brie.h.

2611  {

Member Function Documentation

◆ getIterator()

store_iter& souffle::detail::brie::TrieTypes< 1u >::iterator_core::getIterator ( )
inline

Definition at line 2611 of file Brie.h.

2611  {
2612  return iter == other.iter;
2613  }

◆ inc()

bool souffle::detail::brie::TrieTypes< 1u >::iterator_core::inc ( entry_span_type  entry)
inline

Definition at line 2615 of file Brie.h.

2615  {
2616  return !(*this == other);
2617  }
2618 
2619  // enables this iterator core to be printed (for debugging)
2620  void print(std::ostream& out) const {
2621  out << iter;
2622  }
2623 
2624  friend std::ostream& operator<<(std::ostream& out, const iterator_core& iter) {
2625  iter.print(out);

◆ operator!=()

bool souffle::detail::brie::TrieTypes< 1u >::iterator_core::operator!= ( const iterator_core other) const
inline

Definition at line 2631 of file Brie.h.

2638  : public TrieBase<Dim, Trie<Dim>> {

◆ operator==()

bool souffle::detail::brie::TrieTypes< 1u >::iterator_core::operator== ( const iterator_core other) const
inline

Definition at line 2627 of file Brie.h.

2638  : public TrieBase<Dim, Trie<Dim>> {

◆ print()

void souffle::detail::brie::TrieTypes< 1u >::iterator_core::print ( std::ostream &  out) const
inline

Definition at line 2636 of file Brie.h.

2638  : public TrieBase<Dim, Trie<Dim>> {

◆ setIterator()

void souffle::detail::brie::TrieTypes< 1u >::iterator_core::setIterator ( store_iter  store_iter)
inline

Definition at line 2607 of file Brie.h.

2611  {

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const iterator_core iter 
)
friend

Definition at line 2640 of file Brie.h.

Field Documentation

◆ iter

store_iter souffle::detail::brie::TrieTypes< 1u >::iterator_core::iter
private

Definition at line 2596 of file Brie.h.


The documentation for this struct was generated from the following file:
souffle::detail::brie::TrieTypes< 1u >::iterator_core::iterator_core
iterator_core()=default
souffle::detail::brie::TrieTypes< 1u >::iterator_core::operator<<
friend std::ostream & operator<<(std::ostream &out, const iterator_core &iter)
Definition: Brie.h:2640
souffle::detail::brie::TrieTypes< 1u >::iterator_core::iter
store_iter iter
Definition: Brie.h:2596
souffle::detail::brie::TrieTypes< 1u >::iterator_core::print
void print(std::ostream &out) const
Definition: Brie.h:2636