BloombergLP::baljsn::EncodeImplUtil_ValueDispatcher::operator()

Function call operators

Synopses

Declared in <baljsn_encodeimplutil.h>

Encode the JSON representation of value to this object's formatter.

int
operator()(
    bsl::vector<char> const& value,
    bdlat_TypeCategory::Array category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::Array category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::Choice category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::CustomizedType category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::DynamicType category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::Enumeration category);
» more...

The behavior of this function is undefined.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bslmf::Nil category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::NullableValue category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::Sequence category);
» more...

Same as the primary operator() overload for the specified category.

template<class TYPE>
int
operator()(
    TYPE const& value,
    bdlat_TypeCategory::Simple category);
» more...

Return Value

  • 0 on success, and a non-zero value otherwise
  • an unspecified value

Parameters

NameDescription
valuevalue to encode
categorybdlat Array type-category tag