Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Public Attributes

baljsn::Decoder_DecodeImpProxy Struct Reference

#include <baljsn_decoder.h>

List of all members.

Public Member Functions

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

Public Attributes

Decoderd_decoder_p
int d_mode

Detailed Description

This class provides a functor that dispatches the appropriate decodeImp method for a bdeat Dynamic type. Note that the operators provided in this class match the function signatures required of visitors decoding into compatible types.

See Component baljsn_decoder


Member Function Documentation

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

Dencode into the specified value of the specified bdeat category from the data in the JSON format. Return 0 on success and a non-zero value otherwise.


Member Data Documentation

decoder (held, not owned)

formatting mode


The documentation for this struct was generated from the following file: