24#ifndef RPL_INFO_DUMMY_H
25#define RPL_INFO_DUMMY_H
59 bool do_set_info(
const int pos,
const char *value)
override;
61 const size_t size)
override;
62 bool do_set_info(
const int pos,
const int value)
override;
63 bool do_set_info(
const int pos,
const ulong value)
override;
64 bool do_set_info(
const int pos,
const float value)
override;
66 bool do_set_info(
const int pos,
const std::nullptr_t value)
override;
67 bool do_set_info(
const int pos,
const std::nullptr_t value,
68 const size_t size)
override;
70 const int pos,
char *value,
const size_t size,
71 const char *default_value)
override;
73 const int pos,
uchar *value,
const size_t size,
74 const uchar *default_value)
override;
76 const int pos,
int *value,
const int default_value)
override;
78 const int pos, ulong *value,
const ulong default_value)
override;
80 const int pos,
float *value,
const float default_value)
override;
89 static const bool abort =
false;
Defines a dummy handler that should only be internally accessed.
Definition: rpl_info_dummy.h:42
int do_flush_info(const bool force) override
Definition: rpl_info_dummy.cc:63
~Rpl_info_dummy() override=default
char * do_get_description_info() override
Definition: rpl_info_dummy.cc:188
uint do_get_rpl_info_type() override
Definition: rpl_info_dummy.cc:80
int do_prepare_info_for_write() override
Definition: rpl_info_dummy.cc:46
Rpl_info_dummy(const int nparam)
Definition: rpl_info_dummy.cc:33
Rpl_info_dummy & operator=(const Rpl_info_dummy &info)
int do_init_info() override
Definition: rpl_info_dummy.cc:38
static const bool abort
Definition: rpl_info_dummy.h:89
Rpl_info_handler::enum_field_get_status do_get_info(const int pos, char *value, const size_t size, const char *default_value) override
Definition: rpl_info_dummy.cc:138
int do_remove_info() override
Definition: rpl_info_dummy.cc:70
Rpl_info_dummy(const Rpl_info_dummy &info)
bool do_update_is_transactional() override
Definition: rpl_info_dummy.cc:200
enum_return_check do_check_info() override
Definition: rpl_info_dummy.cc:52
bool do_is_transactional() override
Definition: rpl_info_dummy.cc:194
bool do_set_info(const int pos, const char *value) override
Definition: rpl_info_dummy.cc:82
int do_clean_info() override
Definition: rpl_info_dummy.cc:75
int do_prepare_info_for_read() override
Definition: rpl_info_dummy.cc:40
void do_end_info() override
Definition: rpl_info_dummy.cc:68
Definition: rpl_info_handler.h:58
enum_field_get_status
Definition: rpl_info_handler.h:66
Definition: dynamic_ids.h:33
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:52
size_t size(const char *const c)
Definition: base64.h:46
enum_return_check
Definition: rpl_info_handler.h:51