Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bdlat_SymbolicConverter Struct Reference
[Component bdlat_symbolicconverter]

symbolic converter utility More...

#include <bdlat_symbolicconverter.h>

List of all members.

Static Public Member Functions

template<class LHS_TYPE , class RHS_TYPE >
static int convert (LHS_TYPE *lhs, const RHS_TYPE &rhs)
template<class LHS_TYPE , class RHS_TYPE >
static int convert (LHS_TYPE *lhs, const RHS_TYPE &rhs, bsl::ostream &errorStream)

Detailed Description

This utility contains a single convert function that converts a value from one type to another compatible type.

See Component bdlat_symbolicconverter


Member Function Documentation

template<class LHS_TYPE , class RHS_TYPE >
static int bdlat_SymbolicConverter::convert ( LHS_TYPE *  lhs,
const RHS_TYPE &  rhs 
) [static]
template<class LHS_TYPE , class RHS_TYPE >
static int bdlat_SymbolicConverter::convert ( LHS_TYPE *  lhs,
const RHS_TYPE &  rhs,
bsl::ostream &  errorStream 
) [static]

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: