Embedded Template Library 1.0
Loading...
Searching...
No Matches
unaligned_type.h File Reference
#include "platform.h"
#include "type_traits.h"
#include "endianness.h"
#include "iterator.h"
#include "algorithm.h"
#include "bit.h"
#include <string.h>

Go to the source code of this file.

Classes

class  etl::private_unaligned_type::unaligned_type_common< Size_ >
 
class  etl::unaligned_type< T, Endian_ >
 Allows an arithmetic type to be stored at an unaligned address. More...
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 1U, void >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 2U, typename etl::enable_if< etl::is_integral< U >::value >::type >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 4U, typename etl::enable_if< etl::is_integral< U >::value >::type >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 4U, typename etl::enable_if< etl::is_floating_point< U >::value >::type >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 8U, typename etl::enable_if< etl::is_integral< U >::value >::type >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 8U, typename etl::enable_if< etl::is_floating_point< U >::value >::type >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 12U, typename etl::enable_if< etl::is_floating_point< U >::value >::type >
 
struct  etl::unaligned_type< T, Endian_ >::unaligned_copy< U, 16U, typename etl::enable_if< etl::is_floating_point< U >::value >::type >
 

Namespaces

namespace  etl
 bitset_ext
 

Typedefs

typedef unaligned_type< char, etl::endian::little > etl::le_char_t
 
typedef unaligned_type< signed char, etl::endian::little > etl::le_schar_t
 
typedef unaligned_type< unsigned char, etl::endian::little > etl::le_uchar_t
 
typedef unaligned_type< short, etl::endian::little > etl::le_short_t
 
typedef unaligned_type< unsigned short, etl::endian::little > etl::le_ushort_t
 
typedef unaligned_type< int, etl::endian::little > etl::le_int_t
 
typedef unaligned_type< unsigned int, etl::endian::little > etl::le_uint_t
 
typedef unaligned_type< long, etl::endian::little > etl::le_long_t
 
typedef unaligned_type< unsigned long, etl::endian::little > etl::le_ulong_t
 
typedef unaligned_type< long long, etl::endian::little > etl::le_long_long_t
 
typedef unaligned_type< unsigned long long, etl::endian::little > etl::le_ulong_long_t
 
typedef unaligned_type< int16_t, etl::endian::little > etl::le_int16_t
 
typedef unaligned_type< uint16_t, etl::endian::little > etl::le_uint16_t
 
typedef unaligned_type< int32_t, etl::endian::little > etl::le_int32_t
 
typedef unaligned_type< uint32_t, etl::endian::little > etl::le_uint32_t
 
typedef unaligned_type< int64_t, etl::endian::little > etl::le_int64_t
 
typedef unaligned_type< uint64_t, etl::endian::little > etl::le_uint64_t
 
typedef unaligned_type< float, etl::endian::little > etl::le_float_t
 
typedef unaligned_type< double, etl::endian::little > etl::le_double_t
 
typedef unaligned_type< long double, etl::endian::little > etl::le_long_double_t
 
typedef unaligned_type< char, etl::endian::big > etl::be_char_t
 
typedef unaligned_type< signed char, etl::endian::big > etl::be_schar_t
 
typedef unaligned_type< unsigned char, etl::endian::big > etl::be_uchar_t
 
typedef unaligned_type< short, etl::endian::big > etl::be_short_t
 
typedef unaligned_type< unsigned short, etl::endian::big > etl::be_ushort_t
 
typedef unaligned_type< int, etl::endian::big > etl::be_int_t
 
typedef unaligned_type< unsigned int, etl::endian::big > etl::be_uint_t
 
typedef unaligned_type< long, etl::endian::big > etl::be_long_t
 
typedef unaligned_type< unsigned long, etl::endian::big > etl::be_ulong_t
 
typedef unaligned_type< long long, etl::endian::big > etl::be_long_long_t
 
typedef unaligned_type< unsigned long long, etl::endian::big > etl::be_ulong_long_t
 
typedef unaligned_type< int16_t, etl::endian::big > etl::be_int16_t
 
typedef unaligned_type< uint16_t, etl::endian::big > etl::be_uint16_t
 
typedef unaligned_type< int32_t, etl::endian::big > etl::be_int32_t
 
typedef unaligned_type< uint32_t, etl::endian::big > etl::be_uint32_t
 
typedef unaligned_type< int64_t, etl::endian::big > etl::be_int64_t
 
typedef unaligned_type< uint64_t, etl::endian::big > etl::be_uint64_t
 
typedef unaligned_type< float, etl::endian::big > etl::be_float_t
 
typedef unaligned_type< double, etl::endian::big > etl::be_double_t
 
typedef unaligned_type< long double, etl::endian::big > etl::be_long_double_t
 
typedef be_char_t etl::net_char_t
 
typedef be_schar_t etl::net_schar_t
 
typedef be_uchar_t etl::net_uchar_t
 
typedef be_short_t etl::net_short_t
 
typedef be_ushort_t etl::net_ushort_t
 
typedef be_int_t etl::net_int_t
 
typedef be_uint_t etl::net_uint_t
 
typedef be_long_t etl::net_long_t
 
typedef be_ulong_t etl::net_ulong_t
 
typedef be_long_long_t etl::net_long_long_t
 
typedef be_ulong_long_t etl::net_ulong_long_t
 
typedef be_int16_t etl::net_int16_t
 
typedef be_uint16_t etl::net_uint16_t
 
typedef be_int32_t etl::net_int32_t
 
typedef be_uint32_t etl::net_uint32_t
 
typedef be_int64_t etl::net_int64_t
 
typedef be_uint64_t etl::net_uint64_t
 
typedef be_float_t etl::net_float_t
 
typedef be_double_t etl::net_double_t
 
typedef be_long_double_t etl::net_long_double_t