#include <bdlar_symbolicconverter.h>
This utility contains a single convert function that converts a value from one type to another compatible type.
See bdlar_symbolicconverter
|
| template<class LHS_TYPE , class RHS_TYPE > |
| static int | convert (LHS_TYPE *lhs, const RHS_TYPE &rhs, bsl::ostream &errorStream) |
| |
| template<class LHS_TYPE , class RHS_TYPE > |
| static int | convert (LHS_TYPE *lhs, const RHS_TYPE &rhs) |
| |
| static int | convert (AnyRef lhs, AnyConstRef rhs, bsl::ostream &errorStream) |
| |
| static int | convert (AnyRef lhs, AnyConstRef rhs) |
| |
◆ convert() [1/4]
◆ convert() [2/4]
| static int bdlar::SymbolicConverter::convert |
( |
AnyRef |
lhs, |
|
|
AnyConstRef |
rhs, |
|
|
bsl::ostream & |
errorStream |
|
) |
| |
|
static |
◆ convert() [3/4]
template<class LHS_TYPE , class RHS_TYPE >
| int bdlar::SymbolicConverter::convert |
( |
LHS_TYPE * |
lhs, |
|
|
const RHS_TYPE & |
rhs |
|
) |
| |
|
inlinestatic |
◆ convert() [4/4]
template<class LHS_TYPE , class RHS_TYPE >
| int bdlar::SymbolicConverter::convert |
( |
LHS_TYPE * |
lhs, |
|
|
const RHS_TYPE & |
rhs, |
|
|
bsl::ostream & |
errorStream |
|
) |
| |
|
inlinestatic |
Convert the value of the specified rhs object to the specified (modifiable) lhs object. Optionally specify an errorStream to print error messages. Return 0 on success and a non-zero value otherwise. The supported conversions are described in the bdlat_symbolicconverter component-level documentation.
The documentation for this struct was generated from the following file: