|
MADARA
3.1.8
|
Builder object returned by build() More...
#include <Transaction.h>


Public Member Functions | |
| void | add () const |
| Finish configuring this Builder, and add the new mapping. More... | |
| init_type | init () const |
| If used, the mapping will push the current value of the variable into the knowledge base, immediately. More... | |
| template<class V > | |
| init_type | init (V &&val) const |
| As init(), but first set the variable to . More... | |
| prefix_type | prefix () const |
| If used, the name given in build() will be used as a prefix, as apropriate for the variable type. More... | |
| ro_type | readonly () const |
| The mapping will only read from the knowledge base, not write back Synonym for. More... | |
| ro_type | ro () const |
| The mapping will only read from the knowledge base, not write back. More... | |
| wo_type | wo () const |
| The mapping will only write to the knowledge base. More... | |
| wo_type | writeonly () const |
| The mapping will only write to the knowledge base. More... | |
Private Types | |
| typedef Builder< T, K, Const, RD, WR, Prefix, true > | init_type |
| typedef Builder< T, K, Const, RD, WR, true, Init > | prefix_type |
| typedef Builder< T, K, Const, true, false, Prefix, Init > | ro_type |
| typedef std::conditional< Const, const Transaction *, Transaction * >::type | trans_type |
| typedef Builder< T, K, Const, false, true, Prefix, Init > | wo_type |
Private Member Functions | |
| Builder (trans_ref_type trans, K key, T &val) | |
| template<bool R, bool W, bool P, bool I> | |
| Builder (const Builder< T, K, Const, R, W, P, I > &o) | |
Private Attributes | |
| const K | key_ |
| T *const | tracked_ |
| const trans_type | trans_ |
| decltype(*(trans_type) nullptr) typede | trans_ref_type ) |
Static Private Attributes | |
| static const bool | init_ = Init |
| static const bool | prefix_ = Prefix |
| static const bool | rd_ = RD |
| static const bool | wr_ = WR |
Friends | |
| class | InitHandler< Builder, init_type, T > |
| class | Transaction |
Builder object returned by build()
Builder type which will be returned from the build*() methods No need to construct directly; just use those methods.
Definition at line 52 of file Transaction.h.
|
private |
Definition at line 143 of file Transaction.h.
|
private |
Definition at line 144 of file Transaction.h.
|
private |
Definition at line 145 of file Transaction.h.
|
private |
Definition at line 126 of file Transaction.h.
|
private |
Definition at line 146 of file Transaction.h.
|
inlineprivate |
Definition at line 136 of file Transaction.h.
|
inlineprivate |
Definition at line 140 of file Transaction.h.
|
inline |
Finish configuring this Builder, and add the new mapping.
Definition at line 190 of file Transaction.h.
|
inline |
If used, the mapping will push the current value of the variable into the knowledge base, immediately.
Definition at line 151 of file Transaction.h.
|
inline |
As init(), but first set the variable to .
| val | the value to set |
Definition at line 180 of file Transaction.h.
|
inline |
If used, the name given in build() will be used as a prefix, as apropriate for the variable type.
Definition at line 159 of file Transaction.h.
|
inline |
The mapping will only read from the knowledge base, not write back Synonym for.
Definition at line 166 of file Transaction.h.
|
inline |
The mapping will only read from the knowledge base, not write back.
Definition at line 162 of file Transaction.h.
|
inline |
The mapping will only write to the knowledge base.
On pull(), the variable will be reset to its default value.
Definition at line 170 of file Transaction.h.
|
inline |
The mapping will only write to the knowledge base.
On pull(), the variable will be reset to its default value. Synonym for
Definition at line 175 of file Transaction.h.
|
friend |
Definition at line 187 of file Transaction.h.
|
friend |
Definition at line 195 of file Transaction.h.
|
staticprivate |
Definition at line 134 of file Transaction.h.
|
private |
Definition at line 129 of file Transaction.h.
|
staticprivate |
Definition at line 133 of file Transaction.h.
|
staticprivate |
Definition at line 131 of file Transaction.h.
|
private |
Definition at line 130 of file Transaction.h.
|
private |
Definition at line 128 of file Transaction.h.
|
private |
Definition at line 127 of file Transaction.h.
|
staticprivate |
Definition at line 132 of file Transaction.h.