souffle  2.0.2-371-g6315b36
Public Types | Public Member Functions | Private Attributes
souffle::t_nullaries::iterator Class Reference

#include <CompiledSouffle.h>

Collaboration diagram for souffle::t_nullaries::iterator:
Collaboration graph

Public Types

using difference_type = ptrdiff_t
 
typedef std::forward_iterator_tag iterator_category
 
using pointer = value_type *
 
using reference = value_type &
 
using value_type = RamDomain *
 

Public Member Functions

 iterator (bool v=false)
 
bool operator!= (const iterator &other) const
 
const RamDomainoperator* ()
 
iteratoroperator++ ()
 
bool operator== (const iterator &other) const
 

Private Attributes

bool value
 

Detailed Description

Definition at line 199 of file CompiledSouffle.h.

Member Typedef Documentation

◆ difference_type

Definition at line 205 of file CompiledSouffle.h.

◆ iterator_category

typedef std::forward_iterator_tag souffle::t_nullaries::iterator::iterator_category

Definition at line 203 of file CompiledSouffle.h.

◆ pointer

Definition at line 206 of file CompiledSouffle.h.

◆ reference

Definition at line 207 of file CompiledSouffle.h.

◆ value_type

Definition at line 204 of file CompiledSouffle.h.

Constructor & Destructor Documentation

◆ iterator()

souffle::t_nullaries::iterator::iterator ( bool  v = false)
inline

Definition at line 209 of file CompiledSouffle.h.

209 {

References value.

Member Function Documentation

◆ operator!=()

bool souffle::t_nullaries::iterator::operator!= ( const iterator other) const
inline

Definition at line 219 of file CompiledSouffle.h.

224  {

◆ operator*()

const RamDomain* souffle::t_nullaries::iterator::operator* ( )
inline

Definition at line 211 of file CompiledSouffle.h.

213  {

◆ operator++()

iterator& souffle::t_nullaries::iterator::operator++ ( )
inline

Definition at line 223 of file CompiledSouffle.h.

224  {
225  return iterator(data);
226  }
227  iterator end() const {
228  return iterator();

◆ operator==()

bool souffle::t_nullaries::iterator::operator== ( const iterator other) const
inline

Definition at line 215 of file CompiledSouffle.h.

217  {

Field Documentation

◆ value

bool souffle::t_nullaries::iterator::value
private

Definition at line 200 of file CompiledSouffle.h.

Referenced by iterator().


The documentation for this class was generated from the following file:
souffle::t_nullaries::iterator::iterator
iterator(bool v=false)
Definition: CompiledSouffle.h:209
souffle::t_nullaries::data
std::atomic< bool > data
Definition: CompiledSouffle.h:188
souffle::t_nullaries::end
iterator end() const
Definition: CompiledSouffle.h:233