Evo C++ Library v0.5.1
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Memcached::StoreResultEnum Struct Reference

#include <evo/async/memcached_common.h>

Detailed Description

StoreResult enum conversion helper.

Public Types

typedef EnumMapIterator< StoreResultEnumIter
 
typedef StoreResult Type
 

Static Public Member Functions

static StoreResult get_enum (const evo::SubString &key)
 
static StoreResult get_enum (int val)
 
static int get_int (StoreResult val)
 
static SubString get_string (StoreResult val)
 
static const evo::SubStringMapListmap ()
 

Static Public Attributes

static const StoreResult FIRST = ( StoreResult )((int)( srUNKNOWN) + 1)
 
static const StoreResult LAST = ( StoreResult )((int)( srENUM_END) - 1)
 
static const StoreResult UNKNOWN = srUNKNOWN
 

Member Typedef Documentation

◆ Iter

◆ Type

typedef StoreResult Type

Member Function Documentation

◆ get_enum() [1/2]

static StoreResult get_enum ( const evo::SubString key)
inlinestatic

◆ get_enum() [2/2]

static StoreResult get_enum ( int  val)
inlinestatic

◆ get_int()

static int get_int ( StoreResult  val)
inlinestatic

◆ get_string()

static SubString get_string ( StoreResult  val)
inlinestatic

◆ map()

static const evo::SubStringMapList& map ( )
inlinestatic

Member Data Documentation

◆ FIRST

const StoreResult FIRST = ( StoreResult )((int)( srUNKNOWN) + 1)
static

◆ LAST

const StoreResult LAST = ( StoreResult )((int)( srENUM_END) - 1)
static

◆ UNKNOWN

const StoreResult UNKNOWN = srUNKNOWN
static

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