NEST main@f146f75
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[].

References accessed, and item.

Referenced by operator==().

Here is the caller graph for this function:

◆ DictEntry_() [2/2]

DictEntry_::DictEntry_ ( const any_type & item)
inline

References accessed, and item.

Member Function Documentation

◆ operator==()

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

References DictEntry_(), and item.

Here is the call graph for this function:

Member Data Documentation

◆ accessed

bool DictEntry_::accessed
mutable

initially false, set to true once entry is accessed

Referenced by DictEntry_(), DictEntry_(), and dictionary_::register_access_().

◆ item

any_type DictEntry_::item

actual item stored

Referenced by DictEntry_(), DictEntry_(), and operator==().


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