BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlar::EnumVtable Struct Reference

#include <bdlar_enumvtable.h>

Detailed Description

This struct stores a series of function pointers to wrappers that invoke the underlying methods of the supplied type erased object that implement the "enum" type category.

See bdlar_enumvtable

Public Types

typedef int FromInt(void *result, int number)
 
typedef int FromString(void *result, const char *string, int stringLength)
 
typedef int MakeFallback(void *result)
 
typedef void Reset(void *object)
 

Public Attributes

EnumConstVtable d_const
 
FromIntd_fromInt_fp
 
FromStringd_fromString_fp
 
MakeFallbackd_makeFallback_fp
 
Resetd_reset_fp
 

Member Typedef Documentation

◆ FromInt

typedef int bdlar::EnumVtable::FromInt(void *result, int number)

◆ FromString

typedef int bdlar::EnumVtable::FromString(void *result, const char *string, int stringLength)

◆ MakeFallback

typedef int bdlar::EnumVtable::MakeFallback(void *result)

◆ Reset

typedef void bdlar::EnumVtable::Reset(void *object)

Member Data Documentation

◆ d_const

EnumConstVtable bdlar::EnumVtable::d_const

◆ d_fromInt_fp

FromInt* bdlar::EnumVtable::d_fromInt_fp

◆ d_fromString_fp

FromString* bdlar::EnumVtable::d_fromString_fp

◆ d_makeFallback_fp

MakeFallback* bdlar::EnumVtable::d_makeFallback_fp

◆ d_reset_fp

Reset* bdlar::EnumVtable::d_reset_fp

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