|
JSON Voorhees
Killer JSON for C++
|
An extractor which calls a function to perform extraction.
More...
#include <jsonv/serialization/function_extractor.hpp>
Inheritance diagram for jsonv::function_extractor< T, FExtract >:
Collaboration diagram for jsonv::function_extractor< T, FExtract >:Public Member Functions | |
| template<typename FUExtract > | |
| function_extractor (FUExtract &&func) | |
Public Member Functions inherited from jsonv::extractor_for< T > | |
| virtual const std::type_info & | get_type () const override |
Get the run-time type this extractor knows how to extract. | |
| virtual void | extract (const extraction_context &context, const value &from, void *into) const override |
Extract a the type from a value into a region of memory. | |
Protected Member Functions | |
| virtual T | create (const extraction_context &context, const value &from) const override |
An extractor which calls a function to perform extraction.
Definition at line 25 of file function_extractor.hpp.
|
inlineexplicit |
Definition at line 30 of file function_extractor.hpp.
|
inlineoverrideprotectedvirtual |
Implements jsonv::extractor_for< T >.
Definition at line 35 of file function_extractor.hpp.