BloombergLP::bdlat_SymbolicConverter::convert

convert overloads

Synopses

Declared in <bdlat_symbolicconverter.h>

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.

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 object to the specified (modifiable) lhs object, writing diagnostics to the specified errorStream. Return 0 on success and a non-zero value otherwise.

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