helper.h File Reference

#include <string>
#include <sstream>
#include <iomanip>
#include <iostream>

Include dependency graph for helper.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#define HELPER_H   HELPER_H


Function Documentation

template<typename T >
bool checkchar ( const T &  i,
int  length,
unsigned char  tocheck 
) [inline]

Referenced by checkSpaces(), and checkZeros().

template<typename T >
bool checkSpaces ( const T &  i,
int  length 
) [inline]

template<typename T >
bool checkZeros ( const T &  i,
int  length 
) [inline]

template<typename T1 , typename T2 >
bool compare ( const T1 &  from,
const T2 &  to,
int  number 
) [inline]

Referenced by CheckSignature().

template<typename T1 , typename T2 >
void copy ( T1  from,
T2  to,
int  number 
) [inline]

Referenced by verifiedcert::verify().

template<typename T >
string hex ( toHex,
int  w = 0 
) [inline]

template<typename T >
void hexout ( std::ostream &  o,
ray,
int  len 
) [inline]

template<typename T >
void hexout ( ray,
int  len 
) [inline]

template<typename T >
string stringify ( toStr  )  [inline]


Generated on Tue May 19 19:41:48 2009 by  doxygen 1.5.8