Quick Links:

bal | bbl | bdl | bsl

Public Types | Static Public Member Functions

bsltf::MoveState Struct Reference

#include <bsltf_movestate.h>

List of all members.

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

Enumerator:
e_NOT_MOVED 

The type was not involved in a move operation.

e_MOVED 

The type was involved in a move operation.

e_UNKNOWN 

The type does not expose move-state information.


Member Function Documentation

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:

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.

Referenced by bsltf::debugprint().


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