![]() |
Project
|
#include <DataDescriptorMatcher.h>
Public Member Functions | |
ValueHolder (T const &s) | |
ValueHolder (ContextRef variableId) | |
bool | operator== (ValueHolder< T > const &other) const |
template<typename VISITOR > | |
decltype(auto) | visit (VISITOR visitor) const |
Protected Attributes | |
std::variant< T, ContextRef > | mValue |
Friends | |
template<typename V > | |
std::ostream & | operator<< (std::ostream &os, ValueHolder< V > const &holder) |
Can hold either an actual value of type T or a reference to a variable of the same type in the Context.
Definition at line 121 of file DataDescriptorMatcher.h.
|
inline |
|
inline |
This means that the matcher will fill a variable in the context if the ref points to none or use the dereferenced value, if not.
|
inline |
|
inline |
Definition at line 136 of file DataDescriptorMatcher.h.
|
friend |
|
protected |
Definition at line 147 of file DataDescriptorMatcher.h.