|
template<class T > |
bool | tesseract::contains (const std::vector< T > &data, const T &value) |
|
const std::vector< std::string > | tesseract::split (const std::string &s, char c) |
|
void | tesseract::chomp_string (char *str) |
|
int | tesseract::RoundUp (int n, int block_size) |
|
template<typename T > |
T | tesseract::ClipToRange (const T &x, const T &lower_bound, const T &upper_bound) |
|
template<typename T1 , typename T2 > |
void | tesseract::UpdateRange (const T1 &x, T2 *lower_bound, T2 *upper_bound) |
|
template<typename T1 , typename T2 > |
void | tesseract::UpdateRange (const T1 &x_lo, const T1 &x_hi, T2 *lower_bound, T2 *upper_bound) |
|
template<typename T > |
void | tesseract::IntersectRange (const T &lower1, const T &upper1, T *lower2, T *upper2) |
|
int | tesseract::Modulo (int a, int b) |
|
int | tesseract::DivRounded (int a, int b) |
|
int | tesseract::IntCastRounded (double x) |
|
int | tesseract::IntCastRounded (float x) |
|
void | tesseract::ReverseN (void *ptr, int num_bytes) |
|
void | tesseract::Reverse32 (void *ptr) |
|
template<typename T > |
bool | tesseract::DeSerialize (bool swap, FILE *fp, std::vector< T > &data) |
|
template<typename T > |
bool | tesseract::Serialize (FILE *fp, const std::vector< T > &data) |
|