BloombergLP::bdlat_SymbolicConverter::convert

Convert the value of the specified rhs to the specified lhs.

Synopses

Declared in <bdlat_symbolicconverter.h>

Convert the value of the specified rhs to the specified lhs.

template<
    class LHS_TYPE,
    class RHS_TYPE>
static
int
convert(
    LHS_TYPE* lhs,
    RHS_TYPE const& rhs);
» more...

Convert the value of the specified rhs to the specified lhs.

template<
    class LHS_TYPE,
    class RHS_TYPE>
static
int
convert(
    LHS_TYPE* lhs,
    RHS_TYPE const& rhs,
    std::ostream& errorStream);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
lhsdestination object to receive the converted value
rhssource object to convert from
errorStreamstream for diagnostic messages