|
OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
|
In-memory evaluation context for unit tests and offline formula checks. More...
#include <XLEvaluationContext.hpp>
Public Member Functions | |
| XLMapEvaluationContext ()=default | |
| XLMapEvaluationContext (std::unordered_map< std::string, XLCellValue > cells) | |
| void | set (std::string_view ref, XLCellValue value) |
| XLCellValue | cellValue (std::string_view ref) const override |
| Resolve a single-cell reference to its live (or mapped) value. | |
| Public Member Functions inherited from OpenXLSX::XLEvaluationContext | |
| virtual | ~XLEvaluationContext ()=default |
In-memory evaluation context for unit tests and offline formula checks.
|
default |
|
explicit |
|
nodiscardoverridevirtual |
Resolve a single-cell reference to its live (or mapped) value.
| ref | Raw reference text as seen by the formula engine. |
Implements OpenXLSX::XLEvaluationContext.
| void OpenXLSX::XLMapEvaluationContext::set | ( | std::string_view | ref, |
| XLCellValue | value ) |