tesseract-doxygen/ccutil/scanutils.cpp File Reference

#include <ctype.h>
#include <stdarg.h>
#include <stddef.h>
#include <inttypes.h>
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "scanutils.h"
#include "tprintf.h"

Enumerations

enum  Flags { FL_SPLAT = 0x01, FL_INV = 0x02, FL_WIDTH = 0x04, FL_MINUS = 0x08 }
enum  Ranks {
  RANK_CHAR = -2, RANK_SHORT = -1, RANK_INT = 0, RANK_LONG = 1,
  RANK_LONGLONG = 2, RANK_PTR
}
enum  Bail { BAIL_NONE = 0, BAIL_EOF, BAIL_ERR }

Functions

size_t LongBit ()
uintmax_t streamtoumax (FILE *s, int base)
double streamtofloat (FILE *s)
double strtofloat (const char *s)
int fscanf (FILE *stream, const char *format,...)
int vfscanf (FILE *stream, const char *format, va_list ap)
int creat (const char *pathname, mode_t mode)

Variables

enum Ranks kMinRank = RANK_CHAR
enum Ranks kMaxRank = RANK_LONGLONG
enum Ranks kIntMaxRank = RANK_LONGLONG
enum Ranks kSizeTRank = RANK_LONG
enum Ranks kPtrDiffRank = RANK_LONG

Enumeration Type Documentation

enum Bail
Enumerator:
BAIL_NONE 
BAIL_EOF 
BAIL_ERR 
enum Flags
Enumerator:
FL_SPLAT 
FL_INV 
FL_WIDTH 
FL_MINUS 
enum Ranks
Enumerator:
RANK_CHAR 
RANK_SHORT 
RANK_INT 
RANK_LONG 
RANK_LONGLONG 
RANK_PTR 

Function Documentation

int creat ( const char *  pathname,
mode_t  mode 
)
int fscanf ( FILE *  stream,
const char *  format,
  ... 
)
size_t LongBit (  )  [inline]
double streamtofloat ( FILE *  s  ) 
uintmax_t streamtoumax ( FILE *  s,
int  base 
)
double strtofloat ( const char *  s  ) 
int vfscanf ( FILE *  stream,
const char *  format,
va_list  ap 
)

Variable Documentation

enum Ranks kIntMaxRank = RANK_LONGLONG
enum Ranks kMaxRank = RANK_LONGLONG
enum Ranks kMinRank = RANK_CHAR
enum Ranks kPtrDiffRank = RANK_LONG
enum Ranks kSizeTRank = RANK_LONG
Generated on Sun Jul 18 17:10:50 2010 for Tesseract by  doxygen 1.6.3