Namespaces | Functions
gft_common.cpp File Reference
#include "gft_common.h"

Namespaces

 gft
 Base namespace for common definitions and prototypes.
 

Functions

char * gft::AllocCharArray (int n)
 
uchar * gft::AllocUCharArray (int n)
 It allocates 1D array of n characters. More...
 
ushort * gft::AllocUShortArray (int n)
 It allocates 1D array of n ushorts. More...
 
uint * gft::AllocUIntArray (int n)
 
int * gft::AllocIntArray (int n)
 It allocates 1D array of n integers. More...
 
float * gft::AllocFloatArray (int n)
 It allocates 1D array of n floats. More...
 
double * gft::AllocDoubleArray (int n)
 
void gft::FreeIntArray (int **a)
 
void gft::FreeFloatArray (float **a)
 
void gft::FreeUCharArray (uchar **a)
 
void gft::FreeUShortArray (ushort **a)
 
void gft::Error (char *msg, char *func)
 It prints error message and exits the program. More...
 
void gft::Warning (char *msg, char *func)
 It prints warning message and leaves the routine. More...
 
int gft::NCFgets (char *s, int m, FILE *f)
 
int gft::RandomInteger (int low, int high)
 
void gft::RandomSeed ()