29 #ifndef STICHWORT_KEEPER_H_ 30 #define STICHWORT_KEEPER_H_ 37 namespace stichwort_internal
85 if (isTypeCorrect<T>())
88 v =
reinterpret_cast<T*
>(vv);
98 return getPolicy<T>() ==
policy;
103 return getPolicy<EmptyType>() !=
policy;
106 template <
template<
class>
class F,
class Q>
109 Q value = getValue<Q>();
113 inline std::string
repr()
const bool isInitialized() const
virtual void * getValue(void **) const =0
An exception type that is thrown in case of missed parameter, i.e. when some required parameter is no...
TypePolicyBase * getPolicy()
The namespace that contains implementations for the keywords.
ValueKeeper(const ValueKeeper &v)
virtual void copyFromValue(void const *, void **) const =0
ValueKeeper & operator=(const ValueKeeper &v)
virtual std::string repr(void **) const =0
ValueKeeper(const T &value)
An exception type that is thrown in case if wrong parameter value is passed.
virtual void free(void **) const =0
bool isTypeCorrect() const
bool isCondition(F< Q > cond) const
virtual void clone(void *const *, void **) const =0