#include <string>
#include <sstream>
#include <iomanip>
#include <iostream>
Go to the source code of this file.
Defines | |
#define | HELPER_H HELPER_H |
Functions | |
template<typename T1 , typename T2 > | |
void | copy (T1 from, T2 to, int number) |
template<typename T1 , typename T2 > | |
bool | compare (const T1 &from, const T2 &to, int number) |
template<typename T > | |
string | hex (T toHex, int w=0) |
template<typename T > | |
void | hexout (T ray, int len) |
template<typename T > | |
void | hexout (std::ostream &o, T ray, int len) |
template<typename T > | |
string | stringify (T toStr) |
template<typename T > | |
bool | checkchar (const T &i, int length, unsigned char tocheck) |
template<typename T > | |
bool | checkZeros (const T &i, int length) |
template<typename T > | |
bool | checkSpaces (const T &i, int length) |
#define HELPER_H HELPER_H |
bool checkchar | ( | const T & | i, | |
int | length, | |||
unsigned char | tocheck | |||
) | [inline] |
Referenced by checkSpaces(), and checkZeros().
bool checkSpaces | ( | const T & | i, | |
int | length | |||
) | [inline] |
bool checkZeros | ( | const T & | i, | |
int | length | |||
) | [inline] |
bool compare | ( | const T1 & | from, | |
const T2 & | to, | |||
int | number | |||
) | [inline] |
Referenced by CheckSignature().
void copy | ( | T1 | from, | |
T2 | to, | |||
int | number | |||
) | [inline] |
Referenced by verifiedcert::verify().
string hex | ( | T | toHex, | |
int | w = 0 | |||
) | [inline] |
Referenced by block::name(), and Application_Identification::printOn().
void hexout | ( | std::ostream & | o, | |
T | ray, | |||
int | len | |||
) | [inline] |
void hexout | ( | T | ray, | |
int | len | |||
) | [inline] |
string stringify | ( | T | toStr | ) | [inline] |