1 #ifndef PROTON_CPP_CONDITION_H
2 #define PROTON_CPP_CONDITION_H
25 #include "proton/export.hpp"
26 #include "proton/value.hpp"
30 struct pn_condition_t;
38 condition(pn_condition_t* c) : condition_(c) {}
44 PN_CPP_EXPORT
bool operator!()
const;
48 PN_CPP_EXPORT std::string
name()
const;
57 PN_CPP_EXPORT std::string
str()
const;
60 pn_condition_t* condition_;
65 #endif // PROTON_CPP_CONDITION_H
PN_CPP_EXPORT std::string str() const
Simple printable string for condition.
PN_CPP_EXPORT std::string name() const
Condition name.
Describes an endpoint error state.
Definition: condition.hpp:35
PN_CPP_EXPORT value info() const
Extra information for condition n*/.
PN_CPP_EXPORT std::string description() const
Descriptive string for condition.
A holder for an AMQP value.
Definition: value.hpp:33