MySQL 9.0.0
Source Code Documentation

Defines function templates for writing a "bare" (without the key) json value. More...

Collaboration diagram for Value Function Overloads:

Functions

template<typename W >
void write_value (W *w, bool a)
 
template<typename GV >
bool read_value (bool *ap, const GV &gv)
 
template<typename W >
void write_value (W *w, int a)
 
template<typename GV >
bool read_value (int *ap, const GV &gv)
 
template<typename W >
void write_value (W *w, uint a)
 
template<typename GV >
bool read_value (uint *ap, const GV &gv)
 
template<typename W >
void write_value (W *w, ulong a)
 
template<typename GV >
bool read_value (ulong *ap, const GV &gv)
 
template<typename W >
void write_value (W *w, ulonglong a)
 
template<typename GV >
bool read_value (ulonglong *ap, const GV &gv)
 
template<typename W >
void write_value (W *w, const dd::String_type &a)
 
template<typename GV >
bool read_value (dd::String_type *ap, const GV &gv)
 

Detailed Description

Defines function templates for writing a "bare" (without the key) json value.

Each definition is overloaded on the second argument (which isn't a template argument) to handle each builtin type that has a corresponding rapidjson type.

Function Documentation

◆ read_value() [1/6]

template<typename GV >
bool read_value ( bool *  ap,
const GV &  gv 
)

◆ read_value() [2/6]

template<typename GV >
bool read_value ( dd::String_type ap,
const GV &  gv 
)

◆ read_value() [3/6]

template<typename GV >
bool read_value ( int *  ap,
const GV &  gv 
)

◆ read_value() [4/6]

template<typename GV >
bool read_value ( uint *  ap,
const GV &  gv 
)

◆ read_value() [5/6]

template<typename GV >
bool read_value ( ulong *  ap,
const GV &  gv 
)

◆ read_value() [6/6]

template<typename GV >
bool read_value ( ulonglong ap,
const GV &  gv 
)

◆ write_value() [1/6]

template<typename W >
void write_value ( W *  w,
bool  a 
)

◆ write_value() [2/6]

template<typename W >
void write_value ( W *  w,
const dd::String_type a 
)

◆ write_value() [3/6]

template<typename W >
void write_value ( W *  w,
int  a 
)

◆ write_value() [4/6]

template<typename W >
void write_value ( W *  w,
uint  a 
)

◆ write_value() [5/6]

template<typename W >
void write_value ( W *  w,
ulong  a 
)

◆ write_value() [6/6]

template<typename W >
void write_value ( W *  w,
ulonglong  a 
)