BloombergLP::bdlat_BasicEnumerationWrapper<balb::Enumerated::Value>

Synopsis

Declared in <balb_testmessages.h>

template<>
struct bdlat_BasicEnumerationWrapper<balb::Enumerated::Value>
    : balb::Enumerated

Base Classes

NameDescription
balb::EnumeratedThis struct provides a test enumeration type used by test messages.

Type Aliases

Name
Wrapper

Enums

NameDescription
Unnamed enum Enumerator count constant.
Value Test enumeration values.

Static Member Functions

NameDescription
bdexStreamIn Assign to the specified value the value read from the specified input stream using the specified version format and return a reference to the modifiable stream. If stream is initially invalid, this operation has no effect. If stream becomes invalid during this operation, the value is valid, but its value is undefined. If the specified version is not supported, stream is marked invalid, but value is unaltered. Note that no version is read from stream. (See the package-group-level documentation for more information on bdex streaming of container types.)
bdexStreamOut Write the specified value to the specified output stream and return a reference to the modifiable stream. Optionally specify an explicit version format; by default, the maximum supported version is written to stream and used as the format. If version is specified, that format is used but not written to stream. If version is not supported, stream is left unmodified. (See the package-group-level documentation for more information on bdex streaming of container types).
fromInt Load into the specified result the enumerator matching the specified number. Return 0 on success, and a non-zero value with no effect on result otherwise (i.e., number does not match any enumerator).
fromString fromString overloads
maxSupportedBdexVersion Return the most current bdex streaming version number supported by this class. See the bslx package-level documentation for more information on bdex streaming of value-semantic types and containers.
print Write to the specified stream the string representation of the specified enumeration value. Return a reference to the modifiable stream.
toString Return the string representation exactly matching the enumerator name corresponding to the specified enumeration value.

Static Data Members

NameDescription
CLASS_NAME Name of this class.
ENUMERATOR_INFO_ARRAY Enumerator information array for this enumeration.