Wiselib
Public Types | Static Public Member Functions
wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P > Struct Template Reference

Following implementation assumes "Little Endian". More...

#include <serialization.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef BlockData_P BlockData
typedef Type_P Type
typedef OsModel::size_t size_t

Static Public Member Functions

static size_t write (BlockData *target, Type &value)
static Type read (BlockData *target)

Detailed Description

template<typename OsModel_P, Endianness, typename BlockData_P, typename Type_P>
struct wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >

Following implementation assumes "Little Endian".

A specialization for "Big Endian" is also available.


Member Typedef Documentation

template<typename OsModel_P , Endianness , typename BlockData_P , typename Type_P >
typedef BlockData_P wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >::BlockData
template<typename OsModel_P , Endianness , typename BlockData_P , typename Type_P >
typedef OsModel_P wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >::OsModel
template<typename OsModel_P , Endianness , typename BlockData_P , typename Type_P >
typedef OsModel::size_t wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >::size_t
template<typename OsModel_P , Endianness , typename BlockData_P , typename Type_P >
typedef Type_P wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >::Type

Member Function Documentation

template<typename OsModel_P , Endianness , typename BlockData_P , typename Type_P >
static Type wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >::read ( BlockData target) [inline, static]
template<typename OsModel_P , Endianness , typename BlockData_P , typename Type_P >
static size_t wiselib::Serialization< OsModel_P, Endianness, BlockData_P, Type_P >::write ( BlockData target,
Type value 
) [inline, static]

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines