error = __CPP_REDIS_REPLY_ERR,
51bulk_string = __CPP_REDIS_REPLY_BULK,
52simple_string = __CPP_REDIS_REPLY_SIMPLE,
53null = __CPP_REDIS_REPLY_NULL,
54integer = __CPP_REDIS_REPLY_INT,
55array = __CPP_REDIS_REPLY_ARRAY
62error = __CPP_REDIS_REPLY_ERR,
63bulk_string = __CPP_REDIS_REPLY_BULK,
64simple_string = __CPP_REDIS_REPLY_SIMPLE
86 reply(int64_t value);
94 reply(
conststd::vector<reply>& rows);
97 ~reply(
void) =
default;
143 bool ok(
void)
const;
148 bool ko(
void)
const;
153 operatorbool(
void)
const;
159 conststd::string& error(
void)
const;
164 conststd::vector<reply>&
as_array(
void)
const;
169 conststd::string&
as_string(
void)
const;
188 void set(
conststd::string& value,
string_typereply_type);
195 void set(int64_t value);
202 void set(
conststd::vector<reply>& rows);
220std::vector<cpp_redis::reply> m_rows;
221std::string m_strval;
reply & operator<<(const reply &reply)
int64_t as_integer(void) const
const std::vector< reply > & as_array(void) const
const std::string & as_string(void) const
bool is_simple_string(void) const
bool is_bulk_string(void) const
bool is_integer(void) const
bool is_array(void) const
bool is_string(void) const
bool is_error(void) const
type
Definition: reply.hpp:49
string_type
Definition: reply.hpp:61
reply & operator=(const reply &)=default
assignment operator
~reply(void)=default
dtor
Definition: array_builder.hpp:29
type get_type(void) const
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4