![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/diff/gen-node.hpp"
Constructor for a specially crafted 'ref GenNode'.
The identity record of the generated object will be prepared such as to be identical to a regular GenNode with Record payload.
Definition at line 841 of file gen-node.hpp.
Static Public Attributes | |
| static const Ref | I |
| symbolic ID ref "_I_" | |
| static const Ref | NO |
| symbolic ID ref "_NO_" | |
| static const Ref | END |
| symbolic ID ref "_END_" | |
| static const Ref | THIS |
| symbolic ID ref "_THIS_" | |
| static const Ref | CHILD |
| symbolic ID ref "_CHILD_" | |
| static const Ref | ATTRIBS |
| symbolic ID ref "_ATTRIBS_" | |
Public Member Functions | |
| Ref (string const &symbolicID) | |
| create an empty ID stand-in. | |
| Ref (GenNode &oNode) | |
| build reference to a Record, using the original ID | |
Public Member Functions inherited from GenNode | |
| template<typename X > | |
| GenNode (X &&val) | |
| template<typename X > | |
| GenNode (string const &symbolicID, X &&val) | |
| GenNode (string const &symbolicID, CStr text) | |
| GenNode (CStr text) | |
| GenNode (GenNode const &)=default | |
| GenNode (GenNode &&)=default | |
| GenNode (GenNode &o) | |
| GenNode (Ref const &r) | |
| GenNode (Ref &r) | |
| GenNode (Ref &&r) | |
| GenNode & | operator= (GenNode const &o) |
| copy assignment | |
| GenNode & | operator= (GenNode &&o) |
| operator string () const | |
| bool | isNamed () const |
| bool | isTypeID () const |
| template<typename X > | |
| bool | contains (X const &elm) const |
| bool | matches (GenNode const &o) const |
| bool | matches (ID const &id) const |
| bool | matches (int number) const |
| bool | matches (int64_t number) const |
| bool | matches (short number) const |
| bool | matches (char number) const |
| bool | matches (double number) const |
| bool | matches (string text) const |
| bool | matches (const char *text) const |
| bool | matches (time::TimeValue t) const |
| bool | matches (bool b) const |
| bool | matches (hash::LuidH h) const |
| bool | matches (RecRef const &ref) const |
| bool | matches (Rec const &rec) const |
| iterator | begin () |
| iterator | begin () const |
| iterator | end () |
| iterator | end () const |
| template<typename X > | |
| std::optional< X > | retrieveAttribute (string key) const |
| mismatch tolerant convenience shortcut to peek into the attributes of a nested Record | |
| bool | hasAttribute (string key) const |
| bool | isNested () const |
| bool | hasChildren () const |
| Rec::scopeIter | getChildren () const |
Additional Inherited Members | |
Public Types inherited from GenNode | |
| using | iterator = ScopeExplorerIterator |
| using | ChildDataIter = TransformIter< Rec::scopeIter, DataCap const & > |
Public Attributes inherited from GenNode | |
| ID | idi |
| DataCap | data |
Static Public Member Functions inherited from GenNode | |
| template<typename X > | |
| static GenNode | asAttribute (idi::BareEntryID &&rawID, X &&payload) |
| fabricate a GenNode with the literally given ID | |
Protected Member Functions inherited from GenNode | |
| GenNode (ID &&id, DataCap &&d) | |
Static Protected Member Functions inherited from GenNode | |
| template<typename X > | |
| static GenNode::ID | fabricateRefID (string const &symbolicID) |
|
inlineexplicit |
create an empty ID stand-in.
Definition at line 848 of file gen-node.hpp.
build reference to a Record, using the original ID
| error::Logic | when oNode does not hold a Record<GenNode> |
Definition at line 856 of file gen-node.hpp.
|
static |
symbolic ID ref "_I_"
Definition at line 861 of file gen-node.hpp.
|
static |
symbolic ID ref "_NO_"
Definition at line 862 of file gen-node.hpp.
Referenced by BusTerm_test::captureStateMark(), BusTerm_test::clearStates(), StateMapGroupingStorage::getState(), StateRecorder::replayAllState(), StateRecorder::replayState(), StateMapGroupingStorage::retrieve(), and StateMapGroupingStorage_test::run().
|
static |
symbolic ID ref "_END_"
Definition at line 863 of file gen-node.hpp.
Referenced by TreeMutator::accept_until(), TreeMutatorBinding_test::mutateAttribute(), TreeMutatorBinding_test::mutateCollection(), TreeMutatorBinding_test::mutateDummy(), TreeMutatorBinding_test::mutateGenNode(), DiffComplexApplication_test::mutationDiff(), DiffIgnoreChanges_test::mutationDiff(), DiffTreeApplication_test::mutationDiff(), MutationMessage_test::mutationDiff(), DiffTreeMutationListener_test::run(), and GenNode_test::symbolReference().
|
static |
symbolic ID ref "_THIS_"
Definition at line 864 of file gen-node.hpp.
Referenced by GenNode_test::symbolReference().
|
static |
symbolic ID ref "_CHILD_"
Definition at line 865 of file gen-node.hpp.
Referenced by GenNode_test::symbolReference().
|
static |
symbolic ID ref "_ATTRIBS_"
Definition at line 866 of file gen-node.hpp.
Referenced by TreeMutator::accept_until(), AbstractTangible_test::mutate(), TreeMutatorBinding_test::mutateAttribute(), TreeMutatorBinding_test::mutateCollection(), TreeMutatorBinding_test::mutateDummy(), TreeMutatorBinding_test::mutateGenNode(), DiffTreeApplication_test::mutationDiff(), MutationMessage_test::mutationDiff(), DiffComplexApplication_test::reorderingDiff(), DiffIgnoreChanges_test::reorderingDiff(), and GenNode_test::symbolReference().
Inheritance diagram for Ref:
Collaboration diagram for Ref: