Namespaces | Functions
string.cpp File Reference
#include <socketcan_interface/string.h>
Include dependency graph for string.cpp:

Go to the source code of this file.


namespace  can


std::string can::buffer2hex (const std::string &in, bool lc)
std::string can::byte2hex (const uint8_t &d, bool pad, bool lc)
bool can::dec2hex (char &h, const uint8_t &d, bool lc)
bool can::hex2buffer (std::string &out, const std::string &in_raw, bool pad)
bool can::hex2dec (uint8_t &d, const char &h)
std::ostream & operator<< (std::ostream &stream, const can::Header &h)
std::ostream & operator<< (std::ostream &stream, const can::Frame &f)
Frame can::toframe (const std::string &s)
Header can::toheader (const std::string &s)
std::string can::tostring (const Header &h, bool lc)
std::string can::tostring (const Frame &f, bool lc)

Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const can::Header h 

Definition at line 134 of file string.cpp.

std::ostream& operator<< ( std::ostream &  stream,
const can::Frame f 

Definition at line 138 of file string.cpp.

Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:53