Lumiera  0.pre.03
gen-node.cpp File Reference

Go to the source code of this file.


Generic node element (implementation parts).

Some of the more technical details regarding value access and comparisons has been moved down within this compilation unit, to cut down compilation time.

comparison and match

The DataCap element provides a set of functions to check for equivalence or match. These are used to build a recursive containment check. To implement such predicates, we need to build a one-way off visitor for use with lib::Variant. These specifically tailored functors only define handle(TY) functions for the cases actually of interest. All other cases invoke the default handling, which returns false.

See also

Definition in file gen-node.cpp.

#include "lib/error.hpp"
#include "lib/diff/diff-language.hpp"
#include "lib/diff/gen-node.hpp"
#include "lib/util-quant.hpp"
#include "lib/variant.hpp"
#include <boost/lexical_cast.hpp>


#define MATCH_DOUBLE(_TY_)
#define MATCH_NUMBER(_TY_)
#define MATCH_STRING(_TY_)
#define MATCH_TIME(_TY_)


 Implementation namespace for support and library code.

Macro Definition Documentation


#define DERIVE_EQUALITY (   _TY_)

Referenced by DataCap::matchData().


#define MATCH_NUMBER (   _TY_)

Referenced by DataCap::matchNum().


#define MATCH_DOUBLE (   _TY_)

Referenced by DataCap::matchDbl().


#define MATCH_STRING (   _TY_)

Referenced by DataCap::matchTxt().


#define MATCH_TIME (   _TY_)

Referenced by DataCap::matchTime().