BDE 4.14.0 Production release
Loading...
Searching...
No Matches
baljsn::Decoder_DecodeImpProxy Struct Reference

#include <baljsn_decoder.h>

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.

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

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

◆ d_decoder_p

Decoder* baljsn::Decoder_DecodeImpProxy::d_decoder_p

◆ d_mode

int baljsn::Decoder_DecodeImpProxy::d_mode

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