#include <expandlib-results.h>
Collaboration diagram for expander::expandresults:

Public Methods | |
| expandresults () | |
| The default constructor. | |
| void | Reset () |
| Resets all the vars to their default values (same values as with the default constructor). | |
| int | TotalVars () const |
| Returns the total number of vars processed (missed+found). | |
Public Attributes | |
| expander::expandresults::FMVarsType | FoundVars |
| A local class for foundvars and missedvars. | |
| expander::expandresults::FMVarsType | MissedVars |
| A local class for foundvars and missedvars. | |
This class is used for counting how many vars were expanded/not found while trying to expand the string.
Definition at line 42 of file expandlib-results.h.
|
|
The default constructor.
Definition at line 46 of file expandlib-results.h. |
|
|
Resets all the vars to their default values (same values as with the default constructor).
Definition at line 49 of file expandlib-results.h. References FoundVars, and MissedVars. |
|
|
Returns the total number of vars processed (missed+found).
Definition at line 52 of file expandlib-results.h. References FoundVars, MissedVars, and expander::expandresults::FMVarsType::val. Referenced by expander::expcmd_numvars< StringType >::operator()(). |
|
|
A local class for foundvars and missedvars.
Referenced by expander::expandable< StringType >::expand(), expander::expcmd_knownvars< StringType >::operator()(), Reset(), and TotalVars(). |
|
|
A local class for foundvars and missedvars.
Referenced by expander::expandable< StringType >::expand(), expander::expcmd_unknownvars< StringType >::operator()(), expander::expcmd_if< StringType >::operator()(), Reset(), and TotalVars(). |
1.3-rc2