cpp_redis  4.0.0
cpp_redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.
Public Member Functions | List of all members
cpp_redis::builders::integer_builder Class Reference

#include <integer_builder.hpp>

Inheritance diagram for cpp_redis::builders::integer_builder:
cpp_redis::builders::builder_iface

Public Member Functions

 integer_builder (void)
 ctor
 
 ~integer_builder (void)=default
 dtor
 
 integer_builder (const integer_builder &)=delete
 copy ctor
 
integer_builderoperator= (const integer_builder &)=delete
 assignment operator
 
builder_ifaceoperator<< (std::string &data)
 
bool reply_ready (void) const
 
reply get_reply (void) const
 
int64_t get_integer (void) const
 

Detailed Description

builder to build redis integer replies

Member Function Documentation

◆ get_integer()

int64_t cpp_redis::builders::integer_builder::get_integer ( void  ) const
Returns
the parsed integer

◆ get_reply()

reply cpp_redis::builders::integer_builder::get_reply ( void  ) const
virtual
Returns
reply object

Implements cpp_redis::builders::builder_iface.

◆ operator<<()

builder_iface& cpp_redis::builders::integer_builder::operator<< ( std::string &  data)
virtual

take data as parameter which is consumed to build the reply every bytes used to build the reply must be removed from the buffer passed as parameter

Parameters
datadata to be consumed
Returns
current instance

Implements cpp_redis::builders::builder_iface.

◆ reply_ready()

bool cpp_redis::builders::integer_builder::reply_ready ( void  ) const
virtual
Returns
whether the reply could be built

Implements cpp_redis::builders::builder_iface.


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