Classes | Namespaces | Functions
ByteOrderConversion.h File Reference
#include <icl_core/BaseTypes.h>
#include <icl_core/Vector.h>
#include "icl_comm/ImportExport.h"
#include <boost/detail/endian.hpp>
#include <iostream>
#include <iomanip>
#include <assert.h>
#include <boost/type_traits/is_arithmetic.hpp>
Include dependency graph for ByteOrderConversion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  icl_comm::ArrayBuilder

Namespaces

namespace  icl_comm

Functions

template<typename T >
size_t icl_comm::fromLittleEndian (T &data, std::vector< uint8_t > &array, size_t &read_pos)
 template function for reating data out of an array while converting everything into correct endianess
template<>
size_t icl_comm::fromLittleEndian< double > (double &data, std::vector< uint8_t > &array, size_t &read_pos)
 Template specialization for float as these have to be handled seperately.
template<>
size_t icl_comm::fromLittleEndian< float > (float &data, std::vector< uint8_t > &array, size_t &read_pos)
 Template specialization for float as these have to be handled seperately.
std::ostream & icl_comm::operator<< (std::ostream &o, const ArrayBuilder &ab)
 debug output of array as hex values
template<typename T >
size_t icl_comm::toLittleEndian (const T &data, std::vector< uint8_t > &array, size_t &write_pos)
 template function for adding data to an array while converting everything into correct endianess
template<>
size_t icl_comm::toLittleEndian< double > (const double &data, std::vector< uint8_t > &array, size_t &write_pos)
 Template specialization for float as these have to be handled seperately.
template<>
size_t icl_comm::toLittleEndian< float > (const float &data, std::vector< uint8_t > &array, size_t &write_pos)
 Template specialization for float as these have to be handled seperately.

Detailed Description

Author:
Lars Pfotzer
Georg Heppner
Date:
2014-02-03

Definition in file ByteOrderConversion.h.



fzi_icl_comm
Author(s):
autogenerated on Thu Jun 6 2019 21:31:31