Definition at line 19 of file reply.hpp.
|
enum class | Type {
kNoReply
,
kString
,
kArray
,
kInteger
,
kNil
,
kStatus
,
kError
} |
|
using | Array = std::vector<ReplyData> |
|
|
MovableKeyValues | GetMovableKeyValues () |
|
| ReplyData (const redisReply *reply) |
|
| ReplyData (Array &&array) |
|
| ReplyData (std::string s) |
|
| ReplyData (int value) |
|
| operator bool () const |
|
Type | GetType () const |
|
std::string | GetTypeString () const |
|
bool | IsString () const |
|
bool | IsArray () const |
|
bool | IsInt () const |
|
bool | IsNil () const |
|
bool | IsStatus () const |
|
bool | IsError () const |
|
bool | IsUnusableInstanceError () const |
|
bool | IsReadonlyError () const |
|
bool | IsUnknownCommandError () const |
|
bool | IsErrorMoved () const |
|
bool | IsErrorAsk () const |
|
const std::string & | GetString () const |
|
std::string & | GetString () |
|
const Array & | GetArray () const |
|
Array & | GetArray () |
|
int64_t | GetInt () const |
|
const std::string & | GetStatus () const |
|
std::string & | GetStatus () |
|
const std::string & | GetError () const |
|
std::string & | GetError () |
|
const ReplyData & | operator[] (size_t idx) const |
|
ReplyData & | operator[] (size_t idx) |
|
size_t | GetSize () const |
|
std::string | ToDebugString () const |
|
KeyValues | GetKeyValues () const |
|
void | ExpectType (ReplyData::Type type, const std::string &request_description={}) const |
|
void | ExpectString (const std::string &request_description={}) const |
|
void | ExpectArray (const std::string &request_description={}) const |
|
void | ExpectInt (const std::string &request_description={}) const |
|
void | ExpectNil (const std::string &request_description={}) const |
|
void | ExpectStatus (const std::string &request_description={}) const |
|
void | ExpectStatusEqualTo (const std::string &expected_status_str, const std::string &request_description={}) const |
|
void | ExpectError (const std::string &request_description={}) const |
|
|
static ReplyData | CreateError (std::string &&error_msg) |
|
static ReplyData | CreateStatus (std::string &&status_msg) |
|
static ReplyData | CreateNil () |
|
static std::string | TypeToString (Type type) |
|
◆ Array
using redis::ReplyData::Array = std::vector<ReplyData> |
◆ Type
enum class redis::ReplyData::Type |
|
strong |
◆ GetArray() [1/2]
Array & redis::ReplyData::GetArray |
( |
| ) |
|
|
inline |
◆ GetArray() [2/2]
const Array & redis::ReplyData::GetArray |
( |
| ) |
const |
|
inline |
◆ GetError() [1/2]
std::string & redis::ReplyData::GetError |
( |
| ) |
|
|
inline |
◆ GetError() [2/2]
const std::string & redis::ReplyData::GetError |
( |
| ) |
const |
|
inline |
◆ GetInt()
int64_t redis::ReplyData::GetInt |
( |
| ) |
const |
|
inline |
◆ GetStatus() [1/2]
std::string & redis::ReplyData::GetStatus |
( |
| ) |
|
|
inline |
◆ GetStatus() [2/2]
const std::string & redis::ReplyData::GetStatus |
( |
| ) |
const |
|
inline |
◆ GetString() [1/2]
std::string & redis::ReplyData::GetString |
( |
| ) |
|
|
inline |
◆ GetString() [2/2]
const std::string & redis::ReplyData::GetString |
( |
| ) |
const |
|
inline |
◆ GetType()
Type redis::ReplyData::GetType |
( |
| ) |
const |
|
inline |
◆ IsArray()
bool redis::ReplyData::IsArray |
( |
| ) |
const |
|
inline |
◆ IsError()
bool redis::ReplyData::IsError |
( |
| ) |
const |
|
inline |
◆ IsErrorAsk()
bool redis::ReplyData::IsErrorAsk |
( |
| ) |
const |
|
inline |
◆ IsErrorMoved()
bool redis::ReplyData::IsErrorMoved |
( |
| ) |
const |
|
inline |
◆ IsInt()
bool redis::ReplyData::IsInt |
( |
| ) |
const |
|
inline |
◆ IsNil()
bool redis::ReplyData::IsNil |
( |
| ) |
const |
|
inline |
◆ IsStatus()
bool redis::ReplyData::IsStatus |
( |
| ) |
const |
|
inline |
◆ IsString()
bool redis::ReplyData::IsString |
( |
| ) |
const |
|
inline |
◆ operator bool()
redis::ReplyData::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator[]() [1/2]
ReplyData & redis::ReplyData::operator[] |
( |
size_t | idx | ) |
|
|
inline |
◆ operator[]() [2/2]
const ReplyData & redis::ReplyData::operator[] |
( |
size_t | idx | ) |
const |
|
inline |
The documentation for this class was generated from the following file: