CppSerdes  1.0
A serialization/deserialization library designed with embedded systems in mind
serdes_validator.h File Reference

defines the serdes::validator class for recording arbitrary validation procedures More...

#include "bitcpy_common.h"

Go to the source code of this file.

Classes

struct  serdes::validator< FieldType, FuncType >
 a field and its attached functional validation callable object, note that validation will occur after deserialization and before serialization More...
 

Namespaces

 serdes
 CppSerdes library namespace.
 

Functions

template<typename FieldType , typename FuncType >
validator< FieldType, FuncType > serdes::validate (FieldType &&field_arg, FuncType &&validation_arg)
 wraps a field and validation function together into a validator class object More...
 

Detailed Description

defines the serdes::validator class for recording arbitrary validation procedures

Author
Darren V Levine (Darre.nosp@m.nVLe.nosp@m.vine@.nosp@m.gmai.nosp@m.l.com)