![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
opaque private data structure to apply the diff.
This class offers to build a binding for diff messages, which basically maps its internal structures onto the generic "object" scheme underlying the diff language.
Definition at line 77 of file diff-complex-application-test.cpp.
Public Member Functions | |
| Opaque () | |
| Opaque (string keyID) | |
| Opaque (idi::BareEntryID id) | |
| Opaque (Opaque const &o) | |
| Opaque & | operator= (Opaque const &o) |
| bool | verifyType (string x) const |
| bool | verifyAlpha (int x) const |
| bool | verifyBeta (int64_t x) const |
| bool | verifyGamma (double x) const |
| bool | verifyData (string desc) const |
| const Opaque * | nestedDelta () const |
| const Opaque * | nestedObj_1 () const |
| operator string () const | |
| string | identity () const |
| bool | isTyped () const |
| void | buildMutator (TreeMutator::Handle buff) |
| the only way this opaque object exposes itself for mutation through diff messages. | |
Friends | |
| constexpr size_t | treeMutatorSize (const Opaque *) |
| override default size traits to allow for sufficient buffer, able to hold the mutator defined above. | |
Private Attributes | |
| idi::BareEntryID | key_ |
| string | type_ = Rec::TYPE_NIL |
| int | alpha_ = -1 |
| int64_t | beta_ = -1 |
| double | gamma_ = -1 |
| unique_ptr< Opaque > | delta_ |
| vector< Opaque > | nestedObj_ |
| vector< string > | nestedData_ |
|
inline |
Definition at line 92 of file diff-complex-application-test.cpp.
|
inlineexplicit |
Definition at line 97 of file diff-complex-application-test.cpp.
|
inlineexplicit |
Definition at line 102 of file diff-complex-application-test.cpp.
Definition at line 106 of file diff-complex-application-test.cpp.
References Opaque::delta_.
Definition at line 121 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 131 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 132 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 133 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 134 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 135 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 136 of file diff-complex-application-test.cpp.
References NULL.
|
inline |
Definition at line 137 of file diff-complex-application-test.cpp.
References NULL.
|
inline |
Definition at line 140 of file diff-complex-application-test.cpp.
|
inline |
Definition at line 155 of file diff-complex-application-test.cpp.
References BareEntryID::getHash(), BareEntryID::getSym(), and lib::idi::format::instance_hex_format().
Here is the call graph for this function:
|
inline |
Definition at line 162 of file diff-complex-application-test.cpp.
|
inline |
the only way this opaque object exposes itself for mutation through diff messages.
This function builds a TreeMutator implementation into the given buffer space
collection(nestedData_)isApplicableIf) actually decides if a binding layer becomes responsible for a given diff verb. Here, this decision is based on the classification of the verb or spec to be handled, either being an attribute (named, key-value pair), a nested sub-scope ("object") and finally just any unnamed (non attribute) valueOpaque Definition at line 193 of file diff-complex-application-test.cpp.
References GenNode::data, PlantingHandle< BA, DEFAULT >::emplace(), GenNode::idi, GenNode::isNamed(), and DataCap::isNested().
Here is the call graph for this function:
|
private |
Definition at line 79 of file diff-complex-application-test.cpp.
|
private |
Definition at line 80 of file diff-complex-application-test.cpp.
|
private |
Definition at line 82 of file diff-complex-application-test.cpp.
|
private |
Definition at line 83 of file diff-complex-application-test.cpp.
|
private |
Definition at line 84 of file diff-complex-application-test.cpp.
|
private |
Definition at line 86 of file diff-complex-application-test.cpp.
Referenced by Opaque::Opaque().
|
private |
Definition at line 88 of file diff-complex-application-test.cpp.
|
private |
Definition at line 89 of file diff-complex-application-test.cpp.
|
friend |
override default size traits to allow for sufficient buffer, able to hold the mutator defined above.
Definition at line 264 of file diff-complex-application-test.cpp.
Collaboration diagram for Opaque: