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

Defines error and status types: status_e, status_t, mode_e, status2str(status_e) More...

Go to the source code of this file.

Classes

struct  serdes::status_t
 status returned after any serialization/deserialization process More...
 

Namespaces

 serdes
 CppSerdes library namespace.
 

Enumerations

enum  serdes::status_e {
  serdes::status_e::NO_ERROR = 0, serdes::status_e::EXCEEDED_SERIAL_SIZE = 1, serdes::status_e::ARRAY_SIZE_OVER_MAX = 2, serdes::status_e::INVALID_FIELD = 3,
  serdes::status_e::NO_LOAD_TO_RVALUE = 4, serdes::status_e::DELIMITER_NOT_FOUND = 5, serdes::status_e::FORMATTER_NOT_SET = 6
}
 error status of serialization/deserialization process More...
 
enum  serdes::mode_e { serdes::mode_e::LOADING, serdes::mode_e::STORING, serdes::mode_e::UNSPECIFIED }
 the serdes mode of operation More...
 

Functions

const char * serdes::status2str (status_e err_status) noexcept
 converts an error status enum to a c style string More...
 

Detailed Description

Defines error and status types: status_e, status_t, mode_e, status2str(status_e)

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