#include <iostream>
#include <sstream>
#include <string>
#include <iomanip>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | Mimotera |
The namespace containing all Mimotera related things. | |
Functions | |
template<typename T > | |
std::string | Mimotera::to_string (const T &x, int digits=0) |
Converts any type to a string. | |
template<typename T > | |
std::string | Mimotera::to_string (const std::vector< T > &x, int digits=0) |
Converts a vector to a string. | |
std::string | Mimotera::to_string (const std::string &x, int=0) |
Template specialization in case T = string. | |
std::string | Mimotera::to_string (const char *x, int=0) |
Template specialization in case T = const char *. | |
template<typename T > | |
T | Mimotera::getbigendian (const unsigned char *ptr) |
Convert to and from big endian. | |
template<typename T > | |
T | Mimotera::getlittleendian (const unsigned char *ptr) |
Convert to and from little endian. |