|
const T & | operator() () const |
| Access the value.
|
|
template<typename... Ts> |
decltype(auto) | operator() (Ts &&...ts) |
|
template<typename... P> |
| Serializable (const char *name, P &&...def) |
| Creates a serializable with default value. More...
|
|
bool | isDefault () const |
| Check if the value is default or not.
|
|
YAML::Node | serialize (YAML::Node &node, const bool &onlyNonDefault=false) const |
| Returns a YAML node after serializing to it.
|
|
YAML::Node | serialize (const bool &onlyNonDefault=false) const |
| Returns a YAML node. More...
|
|
bool | deSerialize (const YAML::Node &node) |
| Convert from a YAML node. More...
|
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator+= (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator-= (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator*= (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator/= (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator+ (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator- (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator* (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator/ (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator== (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator!= (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator< (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator<= (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator> (const O &oth) |
|
template<typename O , TypeIf<(not isSame< O, Serializable >), void * > = nullptr> |
decltype(auto) | operator>= (const O &oth) |
|
template<typename O > |
decltype(auto) friend | operator+= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator-= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator*= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator/= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator+ (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator- (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator* (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator/ (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator== (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator!= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator< (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator<= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator> (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) friend | operator>= (O &first, const Serializable &second) |
|
template<typename O > |
decltype(auto) | operator= (const O &oth) |
|
Serializable & | operator= (const Serializable &oth) |
| Copy assignment operator.
|
|
| operator T & () |
| Cast to base value.
|
|
| operator const T & () const |
| Cast to base value, const version.
|
|
Binarizer & | binarize (B &&out={}) const |
| Binarize a Serializable. More...
|
|
Binarizer & | deBinarize (B &&rhs) |
| DeBinarize a Serializable. More...
|
|
template<typename T>
class SUNphi::Serializable< T >
Forward definition of serializable.
Provides a class with serializability features via CRTP
The type can be only trivial, or a serializable class (map). A dedicated wrapper is in place for a sequence
Definition at line 25 of file Base.hpp.