tesseract  4.0.0-1-g2a2b
genericvector.h File Reference
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include "tesscallback.h"
#include "helpers.h"
#include "serialis.h"
#include "strngs.h"

Go to the source code of this file.

Classes

class  GenericVector< T >
 
class  tesseract::PointerVector< T >
 
class  GenericVectorEqEq< T >
 

Namespaces

 tesseract
 

Macros

#define rand_r(seed)   rand()
 

Typedefs

typedef bool(* tesseract::FileReader) (const STRING &filename, GenericVector< char > *data)
 
typedef bool(* tesseract::FileWriter) (const GenericVector< char > &data, const STRING &filename)
 

Functions

bool tesseract::LoadDataFromFile (const char *filename, GenericVector< char > *data)
 
bool tesseract::LoadDataFromFile (const STRING &filename, GenericVector< char > *data)
 
bool tesseract::SaveDataToFile (const GenericVector< char > &data, const STRING &filename)
 
bool tesseract::LoadFileLinesToStrings (const STRING &filename, GenericVector< STRING > *lines)
 
template<typename T >
bool tesseract::cmp_eq (T const &t1, T const &t2)
 
template<typename T >
int tesseract::sort_cmp (const void *t1, const void *t2)
 
template<typename T >
int tesseract::sort_ptr_cmp (const void *t1, const void *t2)
 

Macro Definition Documentation

◆ rand_r

#define rand_r (   seed)    rand()