Function call operators

Synopses

Declared in <balxml_decoder.h>

Stub dispatch for an invalid category; always asserts and returns ‐1.

template<class TYPE>
int
operator()(
    TYPE* object,
    bslmf::Nil category);

Dispatch parsing for the specified object and category.

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

Return Value

  • always ‐1 after asserting

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

Parameters

Name

Description

object

object being decoded

category

bdlat type‐category tag selecting this overload

Created with MrDocs