coan  6.0.1
A C/C++ Configuration Analyzer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
reference_cache::entry Struct Reference

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.
 
evaluationeval ()
 

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?
 

Detailed Description

Encapsulates an entry in the reference cache.

Definition at line 54 of file reference_cache.h.

Constructor & Destructor Documentation

reference_cache::entry::entry ( std::string const &  expansion,
evaluation const &  eval,
bool  reported = false,
bool  complete = true 
)
inline

Constructor

Parameters
expansionThe expansion of the reference
evalThe evaluation of the reference
reportedHas the reference been reported?
completeIs the expansion complete (or imcomplete because too big)

Definition at line 63 of file reference_cache.h.


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