28 #include<pni/core/types.hpp>
76 static result_type
convert(
const read_type &v)
113 return pni::core::convert<result_type>(v);
129 static result_type
convert(
const read_type &v)
131 return pni::core::convert<result_type>(v);
166 return pni::core::convert<result_type>(v);
182 static result_type
convert(
const read_type &v)
184 return pni::core::convert<result_type>(v);
default conversion trait
Definition: conversion_trait.hpp:46
static result_type convert(const read_type &v)
convert uint16 to uint8
Definition: conversion_trait.hpp:129
static result_type convert(read_type &&v)
conversion function
Definition: conversion_trait.hpp:61
pni::core::uint16 read_type
the type to read
Definition: conversion_trait.hpp:96
pni::core::uint8 result_type
the type requested by the user
Definition: conversion_trait.hpp:94
static result_type convert(read_type &&v)
convert uint16 to uint8
Definition: conversion_trait.hpp:111
T result_type
the type requested by the user
Definition: conversion_trait.hpp:49
Definition: cbf_reader.hpp:41
pni::core::int16 read_type
the type used for reading
Definition: conversion_trait.hpp:149
T read_type
the type to read
Definition: conversion_trait.hpp:51
static result_type convert(read_type &&v)
convert int16 to int8
Definition: conversion_trait.hpp:164
pni::core::int8 result_type
the type requested by the user
Definition: conversion_trait.hpp:147
static result_type convert(const read_type &v)
conversion function
Definition: conversion_trait.hpp:76
static result_type convert(const read_type &v)
convert int16 to int8
Definition: conversion_trait.hpp:182