BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf::MoveState Struct Reference

#include <bsltf_movestate.h>

Public Types

enum  Enum { e_NOT_MOVED , e_MOVED , e_UNKNOWN }
 Enumeration of move state. More...
 

Static Public Member Functions

static const char * toAscii (MoveState::Enum value)
 

Member Enumeration Documentation

◆ Enum

Enumerator
e_NOT_MOVED 
e_MOVED 
e_UNKNOWN 

Member Function Documentation

◆ toAscii()

static const char * bsltf::MoveState::toAscii ( MoveState::Enum  value)
static

Return the non-modifiable string representation corresponding to the specified enumeration value, if it exists, and a unique (error) string otherwise. The string representation of value matches its corresponding enumerator name with the "e_" prefix elided. For example:

static const char * toAscii(MoveState::Enum value)
@ e_MOVED
Definition bsltf_movestate.h:122

will print the following on standard output:

MOVED

Note that specifying a value that does not match any of the enumerators will result in a string representation that is distinct from any of those corresponding to the enumerators, but is otherwise unspecified.


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