Arduino-Redis
A Redis library for Arduino.
Public Member Functions | List of all members
RedisInteger Class Reference

Detailed Description

An Integer: https://redis.io/topics/protocol#resp-integers

Definition at line 114 of file RedisInternal.h.

Public Member Functions

 RedisInteger (Client &c)
 
 ~RedisInteger () override
 
 operator int ()
 
 operator bool ()
 
- Public Member Functions inherited from RedisSimpleString
 RedisSimpleString (Client &c)
 
 ~RedisSimpleString () override
 
virtual String RESP () override
 
- Public Member Functions inherited from RedisObject
 RedisObject ()
 
 RedisObject (Type tc)
 
 RedisObject (Type tc, Client &c)
 
virtual ~RedisObject ()
 
virtual void init (Client &client)
 
virtual operator String ()
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from RedisObject
enum  Type {
  NoType = '\0', SimpleString = '+', Error = '-', Integer = ':',
  BulkString = '$', Array = '*', InternalError = '!'
}
 
- Static Public Member Functions inherited from RedisObject
static std::shared_ptr< RedisObjectparseTypeNonBlocking (Client &)
 
static std::shared_ptr< RedisObjectparseType (Client &)
 
- Protected Attributes inherited from RedisObject
String data
 
Type _type = Type::NoType
 

#include <RedisInternal.h>

Inheritance diagram for RedisInteger:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ RedisInteger()

RedisInteger::RedisInteger ( Client &  c)
inline

Definition at line 117 of file RedisInternal.h.

◆ ~RedisInteger()

RedisInteger::~RedisInteger ( )
inlineoverride

Definition at line 118 of file RedisInternal.h.

Member Function Documentation

◆ operator bool()

RedisInteger::operator bool ( )
inline

Definition at line 121 of file RedisInternal.h.

◆ operator int()

RedisInteger::operator int ( )
inline

Definition at line 120 of file RedisInternal.h.