BloombergLP::balxml::Encoder_EncodeObject_executeImpProxy::operator()

Function call operators

Synopses

Declared in <balxml_encoder.h>

Return -1; this overload is not valid and should not be called.

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

Encode the specified object using the bound encoder state and the specified category.

template<
    class TYPE,
    class ANY_CATEGORY>
int
operator()(
    TYPE const& object,
    ANY_CATEGORY category);
» more...

Return Value

  • -1 always; this overload is not valid
  • 0 on success, and a non-zero value otherwise

Parameters

NameDescription
objectunused object argument
nilinvalid category tag
categorytype-category tag used for overload selection