Jpp  18.0.1-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JDATABASE::JSonIO_t< T > Struct Template Reference

Assigment implementation. More...

#include <JSonSupportkit.hh>

Inheritance diagram for JDATABASE::JSonIO_t< T >:
JDATABASE::JSonIO

Public Member Functions

virtual void to_json (json &js, const void *p) const override
 
virtual void from_json (const json &js, void *p) const override
 

Detailed Description

template<class T>
struct JDATABASE::JSonIO_t< T >

Assigment implementation.

Definition at line 81 of file JSonSupportkit.hh.

Member Function Documentation

template<class T >
virtual void JDATABASE::JSonIO_t< T >::to_json ( json js,
const void *  p 
) const
inlineoverridevirtual

Implements JDATABASE::JSonIO.

Definition at line 84 of file JSonSupportkit.hh.

85  {
86  js = * (const T*) p;
87  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class T >
virtual void JDATABASE::JSonIO_t< T >::from_json ( const json js,
void *  p 
) const
inlineoverridevirtual

Implements JDATABASE::JSonIO.

Definition at line 89 of file JSonSupportkit.hh.

90  {
91  * (T*) p = js;
92  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T

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