|
zookeeper-cpp
ZooKeeper Client for C++
|
A part of a result. The behavior depends on the type of op provided to the original transaction. More...
#include <zk/multi.hpp>
Public Member Functions | |
| part (op_type, std::nullptr_t) noexcept | |
| part (create_result) noexcept | |
| part (set_result) noexcept | |
| part (const part &) | |
| part (part &&) noexcept | |
| part & | operator= (const part &)=delete |
| part & | operator= (part &&)=delete |
| op_type | type () const |
| The op_type of the op that caused this result. More... | |
| const create_result & | as_create () const |
| Get the create-specific result data. More... | |
| const set_result & | as_set () const |
| Get the set-specific result data. More... | |
A part of a result. The behavior depends on the type of op provided to the original transaction.
| const create_result & zk::multi_result::part::as_create | ( | ) | const |
Get the create-specific result data.
| std::logic_error | if the type is not op_type::set. |
| const set_result & zk::multi_result::part::as_set | ( | ) | const |
Get the set-specific result data.
| std::logic_error | if the type is not op_type::set. |
|
inline |