µSer
Attributes

Classes

struct  uSer::ByteOrder::LE
 Attribute: Store an integer as Little Endian. More...
 
struct  uSer::ByteOrder::BE
 Attribute: Store an integer as Big Endian. More...
 
struct  uSer::ByteOrder::PDP
 Attribute: Store an integer as PDP-Endian. More...
 
struct  uSer::SignFormat::TwosComplement
 Attribute: Store a signed integer in Two's Complement format. More...
 
struct  uSer::SignFormat::SignedMagnitude
 Attribute: Store a signed integer in Signed-Magnitude format. More...
 
struct  uSer::SignFormat::OnesComplement
 Attribute: Store a signed integer in One's Complement format. More...
 
struct  uSer::Padding::None
 Attribute: Store no padding bits after the actual bits of an integer. This is the default. Can only be applied to integers. More...
 
struct  uSer::Padding::Fixed< Count >
 Attribute: Store a fixed number of padding bits after the actual bits of an integer. Can only be applied to integers. More...
 
struct  uSer::Dyn::Size< Ref >
 An attribute that defines the size of a container that is a member of a struct to depend on external data, typically previously deserialized. More...
 
struct  uSer::Dyn::Optional< Ref >
 An attribute that decides whether a member of a struct is (de)serialized at all depending on external data, typically previously deserialized. More...
 
struct  uSer::Hook::SerPre< Ref >
 Attribute: Define a function to be called before the object (which can but need not be a struct member) is serialized. More...
 
struct  uSer::Hook::DeSerPre< Ref >
 Attribute: Define a function to be called before the object (which can but need not be a struct member) is deserialized. More...
 
struct  uSer::Hook::SerPost< Ref >
 Attribute: Define a function to be called after the object (which can but need not be a struct member) is serialized. More...
 
struct  uSer::Hook::DeSerPost< Ref >
 Attribute: Define a function to be called after the object (which can but need not be a struct member) is deserialized. More...
 
struct  uSer::Width< W >
 Attribute: Define the serialized size of an integer type. May not be larger than the C(++) data type used. More...
 
struct  uSer::RawInfo< SWord_, wSize_ >
 Attribute: Declares the serialization word explicitly. More...
 

Typedefs

using uSer::AttrNone = Attributes<>
 
using uSer::ByteOrder::Native = LE
 This alias only exists if the compiler provides a BYTE_ORDER macro. It is an alias for LE, BE or PDP depending on the host byte order.
 

Detailed Description

Typedef Documentation

using uSer::AttrNone = typedef Attributes<>

Dummy declaration for empty attribute list, to be used when macro variadic parameters can't be empty (e.g. with -pedantic on GCC)