coan
6.0.1
A C/C++ Configuration Analyzer
|
Encapsulates an entry in the reference cache. More...
#include <reference_cache.h>
Public Member Functions | |
entry (std::string const &expansion, evaluation const &eval, bool reported=false, bool complete=true) | |
std::string const & | expansion () const |
Get the expansion of the cached reference. | |
bool | reported () const |
Has the cached reference been reported. | |
void | set_reported (bool value=true) |
Mark the entry as reported, or not. | |
bool | complete () const |
Is the cached reference fully expanded? | |
void | set_complete (bool value=true) |
Mark the entry as fully expanded, or not. | |
evaluation const & | eval () const |
Get a [const] reference to the evaluation of the cached reference. | |
evaluation & | eval () |
Private Attributes | |
std::string | _expansion |
The expansion of the cached reference. | |
evaluation | _eval |
The evaluation of the cached reference. | |
bool | _reported |
Has the reference been reported. | |
bool | _complete |
Is the cached expansion complete? | |
Encapsulates an entry in the reference cache.
Definition at line 54 of file reference_cache.h.
|
inline |
Constructor
expansion | The expansion of the reference |
eval | The evaluation of the reference |
reported | Has the reference been reported? |
complete | Is the expansion complete (or imcomplete because too big) |
Definition at line 63 of file reference_cache.h.