35 #define __CPP_REDIS_REPLY_ERR 0 36 #define __CPP_REDIS_REPLY_BULK 1 37 #define __CPP_REDIS_REPLY_SIMPLE 2 38 #define __CPP_REDIS_REPLY_NULL 3 39 #define __CPP_REDIS_REPLY_INT 4 40 #define __CPP_REDIS_REPLY_ARRAY 5 90 reply(
const std::vector<reply>& rows);
149 operator bool(
void)
const;
155 const std::string&
error(
void)
const;
160 const std::vector<reply>&
as_array(
void)
const;
165 const std::string&
as_string(
void)
const;
184 void set(
const std::string& value,
string_type reply_type);
191 void set(int64_t value);
198 void set(
const std::vector<reply>& rows);
std::string m_strval
Definition: reply.hpp:217
int64_t m_intval
Definition: reply.hpp:218
reply & operator<<(const reply &reply)
#define __CPP_REDIS_REPLY_ARRAY
Definition: reply.hpp:40
#define __CPP_REDIS_REPLY_INT
Definition: reply.hpp:39
int64_t as_integer(void) const
#define __CPP_REDIS_REPLY_SIMPLE
Definition: reply.hpp:37
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
#define __CPP_REDIS_REPLY_NULL
Definition: reply.hpp:38
type m_type
Definition: reply.hpp:215
bool is_integer(void) const
bool is_array(void) const
bool is_string(void) const
bool is_error(void) const
type
Definition: reply.hpp:45
string_type
Definition: reply.hpp:57
reply & operator=(const reply &)=default
assignment operator
#define __CPP_REDIS_REPLY_ERR
Definition: reply.hpp:35
std::vector< cpp_redis::reply > m_rows
Definition: reply.hpp:216
#define __CPP_REDIS_REPLY_BULK
Definition: reply.hpp:36
Definition: array_builder.hpp:29
type get_type(void) const