NEST main@caf0ae8
 
Loading...
Searching...
No Matches
DictEntry_ Struct Reference

Represent value in dictionary entry with access information. More...

#include <dictionary.h>

Public Member Functions

 DictEntry_ ()
 Constructor without arguments needed by std::map::operator[].
 
 DictEntry_ (const any_type &item)
 
bool operator== (const DictEntry_ &other) const
 

Public Attributes

any_type item
 actual item stored
 
bool accessed
 initially false, set to true once entry is accessed
 

Detailed Description

Represent value in dictionary entry with access information.

accessed flag is mutable so access (error) checking does not interfere with logcial const-ness.

Constructor & Destructor Documentation

◆ DictEntry_() [1/2]

DictEntry_::DictEntry_ ( )
inline

Constructor without arguments needed by std::map::operator[].

◆ DictEntry_() [2/2]

DictEntry_::DictEntry_ ( const any_type &  item)
inline

Member Function Documentation

◆ operator==()

bool DictEntry_::operator== ( const DictEntry_ &  other) const
inline

References item.

Member Data Documentation

◆ accessed

bool DictEntry_::accessed
mutable

initially false, set to true once entry is accessed

Referenced by dictionary_::register_access_().

◆ item

any_type DictEntry_::item

actual item stored

Referenced by operator==().


The documentation for this struct was generated from the following file: