zookeeper-cpp
ZooKeeper Client for C++
zk::op Class Referencefinal

Classes

struct  check_data
 
struct  create_data
 
struct  erase_data
 
struct  set_data
 

Public Member Functions

 op (const op &)
 
 op (op &&) noexcept
 
opoperator= (const op &)=delete
 
opoperator= (op &&)=delete
 
op_type type () const
 
const check_dataas_check () const
 
const create_dataas_create () const
 
const erase_dataas_erase () const
 
const set_dataas_set () const
 

Static Public Member Functions

static op check (std::string path, version check=version::any())
 Check that the given path exists with the provided version check (which can be version::any). More...
 
static op create (std::string path, buffer data, acl rules, create_mode mode=create_mode::normal)
 
static op create (std::string path, buffer data, create_mode mode=create_mode::normal)
 
static op erase (std::string path, version check=version::any())
 
static op set (std::string path, buffer data, version check=version::any())
 

Detailed Description

Definition at line 35 of file multi.hpp.

Member Function Documentation

op zk::op::check ( std::string  path,
version  check = version::any() 
)
static

Check that the given path exists with the provided version check (which can be version::any).

Definition at line 58 of file multi.cpp.

op zk::op::create ( std::string  path,
buffer  data,
acl  rules,
create_mode  mode = create_mode::normal 
)
static
See also
client::create

Definition at line 97 of file multi.cpp.

op zk::op::erase ( std::string  path,
version  check = version::any() 
)
static
See also
client::erase

Definition at line 138 of file multi.cpp.

op zk::op::set ( std::string  path,
buffer  data,
version  check = version::any() 
)
static
See also
client::set

Definition at line 175 of file multi.cpp.


The documentation for this class was generated from the following files: