lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Static Public Member Functions | Static Public Attributes
lean::io::generic_serialization< Type, Delimiter > Class Template Reference

Generic value serialization. More...

#include <generic.h>

Inheritance diagram for lean::io::generic_serialization< Type, Delimiter >:
lean::io::float_serialization< Type, Delimiter > lean::io::int_serialization< Type, Delimiter >

List of all members.

Public Types

typedef Type value_type
 Value type.

Static Public Member Functions

static size_t max_length (size_t count)
 Gets the maximum length of the given number of values when serialized. Zero if unpredictable.
static bool write (std::basic_ostream< utf8_t > &stream, const std::type_info &type, const void *values, size_t count)
static utf8_t * write (utf8_t *begin, const std::type_info &type, const void *values, size_t count)
static bool read (std::basic_istream< utf8_t > &stream, const std::type_info &type, void *values, size_t count)
static const utf8_t * read (const utf8_t *begin, const utf8_t *end, const std::type_info &type, void *values, size_t count)

Static Public Attributes

static const utf8_t delimiter = Delimiter
 Delimiter character.

Detailed Description

template<class Type, utf8_t Delimiter = ';'>
class lean::io::generic_serialization< Type, Delimiter >

Generic value serialization.


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