#include <baljsn_decoder.h>
This class implements a visitor for decoding elements within a sequence, choice, or array type. This is a component-private class and should not be used outside of this component.
- Note
- Note that the operators provided in this
class match the function signatures required of visitors decoding into elements of compatible types.
See baljsn_decoder
|
| template<class TYPE > |
| int | operator() (TYPE *value) |
| |
| template<class TYPE , class INFO > |
| int | operator() (TYPE *value, const INFO &info) |
| |
◆ operator()() [1/2]
template<class TYPE >
| int baljsn::Decoder_ElementVisitor::operator() |
( |
TYPE * |
value | ) |
|
|
inline |
Decode into the specified value the data in the JSON format. Return 0 on success and a non-zero value otherwise.
◆ operator()() [2/2]
template<class TYPE , class INFO >
| int baljsn::Decoder_ElementVisitor::operator() |
( |
TYPE * |
value, |
|
|
const INFO & |
info |
|
) |
| |
|
inline |
Decode into the specified value using the specified info the data in the JSON format. Return 0 on success and a non-zero value otherwise.
◆ d_decoder_p
| Decoder* baljsn::Decoder_ElementVisitor::d_decoder_p |
◆ d_mode
| int baljsn::Decoder_ElementVisitor::d_mode |
The documentation for this struct was generated from the following file: