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);

Add the specified object as an attribute using the bound state and the specified category.

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

Return Value

  • ‐1 always; this overload is not valid

  • 0 on success, and a non‐zero value otherwise

Parameters

Name

Description

object

unused object argument

nil

invalid category tag

category

type‐category tag used for overload selection

Created with MrDocs