Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# gnDefs.h File Reference

`#include <limits.h>`
`#include <float.h>`
`#include "gn/gnSetup.h"`

Go to the source code of this file.

## Defines
#define | TRUE 1
#define | FALSE 0
#define | PI 3.1415926535897932384626433832795028
#define | BOOLEAN_MIN 0
#define | BOOLEAN_MAX 1
#define | INT0_MIN 0
#define | INT1_MAX 1
#define | INT8_BYTE_SIZE 1
#define | INT16_BYTE_SIZE 2
#define | INT32_BYTE_SIZE 4
#define | INT64_BYTE_SIZE 8
#define | INT8_BIT_SIZE 8
#define | INT16_BIT_SIZE 16
#define | INT32_BIT_SIZE 32
#define | INT64_BIT_SIZE 64
#define | UINT8_BYTE_SIZE 1
#define | UINT16_BYTE_SIZE 2
#define | UINT32_BYTE_SIZE 4
#define | UINT64_BYTE_SIZE 8
#define | UINT8_BIT_SIZE 8
#define | UINT16_BIT_SIZE 16
#define | UINT32_BIT_SIZE 32
#define | UINT64_BIT_SIZE 64
#define | INT8_MIN SCHAR_MIN
#define | INT8_MAX SCHAR_MAX
#define | INT16_MIN SHRT_MIN
#define | INT16_MAX SHRT_MAX
#define | INT32_MIN INT_MIN
#define | INT32_MAX INT_MAX
#define | INT64_MIN LONG_MIN
#define | INT64_MAX LONG_MAX
#define | UINT8_MIN 0
#define | UINT8_MAX UCHAR_MAX
#define | UINT16_MIN 0
#define | UINT16_MAX USHRT_MAX
#define | UINT32_MIN 0
#define | UINT32_MAX UINT_MAX
#define | UINT64_MIN 0
#define | UINT64_MAX ULONG_MAX
#define | FLOAT32_MIN FLT_MIN
#define | FLOAT32_MAX FLT_MAX
#define | FLOAT32_MIN_EXP FLT_MIN_EXP
#define | FLOAT32_MAX_EXP FLT_MAX_EXP
#define | FLOAT32_MIN_10_EXP FLT_MIN_10_EXP
#define | FLOAT32_MAX_10_EXP FLT_MAX_10_EXP
#define | FLOAT32_DIGIT FLT_DIG
#define | FLOAT32_RADIX FLT_RADIX
#define | FLOAT32_MIN_FRACTION FLT_EPSILON
#define | FLOAT64_MIN DBL_MIN
#define | FLOAT64_MAX DBL_MAX
#define | FLOAT64_MIN_EXP DBL_MIN_EXP
#define | FLOAT64_MAX_EXP DBL_MAX_EXP
#define | FLOAT64_MIN_10_EXP DBL_MIN_10_EXP
#define | FLOAT64_MAX_10_EXP DBL_MAX_10_EXP
#define | FLOAT64_DIGIT DBL_DIG
#define | FLOAT64_RADIX DBL_RADIX
#define | FLOAT64_MIN_FRACTION DBL_EPSILON
#define | GNSEQI_ERROR UINT32_MAX
#define | GNSEQI_END UINT32_MAX
#define | GNSEQI_BEGIN UINT32_MIN
#define | GNSEQC_NULL 0
#define | GNSEQC_MIN INT8_MIN
#define | GNSEQC_MAX INT8_MAX
#define | CONTIG_SECTION_SIZE 3
## Typedefs
typedef unsigned char | boolean
typedef unsigned char | int1
typedef signed char | int8
typedef signed short int | int16
typedef signed int | int32
typedef signed long long | int64
typedef signed char | sint8
typedef signed short int | sint16
typedef signed int | sint32
typedef signed long int | sint64
typedef unsigned char | uint8
typedef unsigned short int | uint16
typedef unsigned int | uint32
typedef unsigned long long | uint64
typedef float | float32
typedef double | float64
typedef char | gnSeqC
typedef uint32 | gnSeqI
## Enumerations
enum | gnContigSection { gnContigHeader = 0, gnContigAnnotation = 1, gnContigSequence = 2 }
enum | gnNewlineType { gnNewlineUnix = 0, gnNewlineWindows = 1, gnNewlineMac = 2 }
## Variables
const uint32 | ALL_CONTIGS = UINT32_MAX
const uint32 | BUFFER_SIZE = 100000

## Define Documentation

#define BOOLEAN_MAX 1

| Definition at line 50 of file gnDefs.h.

#define BOOLEAN_MIN 0

| Definition at line 49 of file gnDefs.h.

#define CONTIG_SECTION_SIZE 3

| Definition at line 126 of file gnDefs.h.

#define FALSE 0

| Definition at line 46 of file gnDefs.h.

#define FLOAT32_DIGIT FLT_DIG

| Definition at line 100 of file gnDefs.h.

#define FLOAT32_MAX FLT_MAX

| Definition at line 95 of file gnDefs.h.

#define FLOAT32_MAX_10_EXP FLT_MAX_10_EXP

| Definition at line 99 of file gnDefs.h.

#define FLOAT32_MAX_EXP FLT_MAX_EXP

| Definition at line 97 of file gnDefs.h.

#define FLOAT32_MIN FLT_MIN

| Definition at line 94 of file gnDefs.h.

#define FLOAT32_MIN_10_EXP FLT_MIN_10_EXP

| Definition at line 98 of file gnDefs.h.

#define FLOAT32_MIN_EXP FLT_MIN_EXP

| Definition at line 96 of file gnDefs.h.

#define FLOAT32_MIN_FRACTION FLT_EPSILON

| Definition at line 102 of file gnDefs.h.

#define FLOAT32_RADIX FLT_RADIX

| Definition at line 101 of file gnDefs.h.

#define FLOAT64_DIGIT DBL_DIG

| Definition at line 110 of file gnDefs.h.

#define FLOAT64_MAX DBL_MAX

| Definition at line 105 of file gnDefs.h.

#define FLOAT64_MAX_10_EXP DBL_MAX_10_EXP

| Definition at line 109 of file gnDefs.h.

#define FLOAT64_MAX_EXP DBL_MAX_EXP

| Definition at line 107 of file gnDefs.h.

#define FLOAT64_MIN DBL_MIN

| Definition at line 104 of file gnDefs.h.

#define FLOAT64_MIN_10_EXP DBL_MIN_10_EXP

| Definition at line 108 of file gnDefs.h.

#define FLOAT64_MIN_EXP DBL_MIN_EXP

| Definition at line 106 of file gnDefs.h.

#define FLOAT64_MIN_FRACTION DBL_EPSILON

| Definition at line 112 of file gnDefs.h.

#define FLOAT64_RADIX DBL_RADIX

| Definition at line 111 of file gnDefs.h.

#define GNSEQC_MAX INT8_MAX

| Definition at line 123 of file gnDefs.h.

#define GNSEQC_MIN INT8_MIN

| Definition at line 122 of file gnDefs.h.

#define GNSEQC_NULL 0

| Definition at line 121 of file gnDefs.h.

#define GNSEQI_BEGIN UINT32_MIN

| Definition at line 120 of file gnDefs.h.

#define GNSEQI_END UINT32_MAX

| Definition at line 119 of file gnDefs.h.

#define GNSEQI_ERROR UINT32_MAX

| Definition at line 118 of file gnDefs.h.

#define INT0_MIN 0

| Definition at line 51 of file gnDefs.h.

#define INT16_BIT_SIZE 16

| Definition at line 60 of file gnDefs.h.

#define INT16_BYTE_SIZE 2

| Definition at line 55 of file gnDefs.h.

#define INT16_MAX SHRT_MAX

| Definition at line 78 of file gnDefs.h.

#define INT16_MIN SHRT_MIN

| Definition at line 77 of file gnDefs.h.

#define INT1_MAX 1

| Definition at line 52 of file gnDefs.h.

#define INT32_BIT_SIZE 32

| Definition at line 61 of file gnDefs.h.

#define INT32_BYTE_SIZE 4

| Definition at line 56 of file gnDefs.h.

#define INT32_MAX INT_MAX

| Definition at line 80 of file gnDefs.h.

#define INT32_MIN INT_MIN

| Definition at line 79 of file gnDefs.h.

#define INT64_BIT_SIZE 64

| Definition at line 62 of file gnDefs.h.

#define INT64_BYTE_SIZE 8

| Definition at line 57 of file gnDefs.h.

#define INT64_MAX LONG_MAX

| Definition at line 82 of file gnDefs.h.

#define INT64_MIN LONG_MIN

| Definition at line 81 of file gnDefs.h.

#define INT8_BIT_SIZE 8

| Definition at line 59 of file gnDefs.h.

#define INT8_BYTE_SIZE 1

| Definition at line 54 of file gnDefs.h.

#define INT8_MAX SCHAR_MAX

| Definition at line 76 of file gnDefs.h.

#define INT8_MIN SCHAR_MIN

| Definition at line 75 of file gnDefs.h.

#define PI 3.1415926535897932384626433832795028

| Definition at line 47 of file gnDefs.h.

#define TRUE 1

| Definition at line 45 of file gnDefs.h.

#define UINT16_BIT_SIZE 16

| Definition at line 70 of file gnDefs.h.

#define UINT16_BYTE_SIZE 2

| Definition at line 65 of file gnDefs.h.

#define UINT16_MAX USHRT_MAX

| Definition at line 87 of file gnDefs.h.

#define UINT16_MIN 0

| Definition at line 86 of file gnDefs.h.

#define UINT32_BIT_SIZE 32

| Definition at line 71 of file gnDefs.h.

#define UINT32_BYTE_SIZE 4

| Definition at line 66 of file gnDefs.h.

#define UINT32_MAX UINT_MAX

| Definition at line 89 of file gnDefs.h.

#define UINT32_MIN 0

| Definition at line 88 of file gnDefs.h.

#define UINT64_BIT_SIZE 64

| Definition at line 72 of file gnDefs.h.

#define UINT64_BYTE_SIZE 8

| Definition at line 67 of file gnDefs.h.

#define UINT64_MAX ULONG_MAX

| Definition at line 91 of file gnDefs.h.

#define UINT64_MIN 0

| Definition at line 90 of file gnDefs.h.

#define UINT8_BIT_SIZE 8

| Definition at line 69 of file gnDefs.h.

#define UINT8_BYTE_SIZE 1

| Definition at line 64 of file gnDefs.h.

#define UINT8_MAX UCHAR_MAX

| Definition at line 85 of file gnDefs.h.

#define UINT8_MIN 0

| Definition at line 84 of file gnDefs.h.

## Typedef Documentation

typedef unsigned char boolean

| Definition at line 24 of file gnDefs.h.

typedef float float32

| Definition at line 41 of file gnDefs.h.

typedef double float64

| Definition at line 42 of file gnDefs.h.

typedef char gnSeqC

| Definition at line 115 of file gnDefs.h.

typedef uint32 gnSeqI

| Definition at line 116 of file gnDefs.h.

typedef unsigned char int1

| Definition at line 25 of file gnDefs.h.

typedef signed short int int16

| Definition at line 28 of file gnDefs.h.

typedef signed int int32

| Definition at line 29 of file gnDefs.h.

typedef signed long long int64

| Definition at line 30 of file gnDefs.h.

typedef signed char int8

| Definition at line 27 of file gnDefs.h.

typedef signed short int sint16

| Definition at line 32 of file gnDefs.h.

typedef signed int sint32

| Definition at line 33 of file gnDefs.h.

typedef signed long int sint64

| Definition at line 34 of file gnDefs.h.

typedef signed char sint8

| Definition at line 31 of file gnDefs.h.

typedef unsigned short int uint16

| Definition at line 37 of file gnDefs.h.

typedef unsigned int uint32

| Definition at line 38 of file gnDefs.h.

typedef unsigned long long uint64

| Definition at line 39 of file gnDefs.h.

typedef unsigned char uint8

| Definition at line 36 of file gnDefs.h.

## Enumeration Type Documentation

enum gnContigSection

  | Enumeration values:
  gnContigHeader |
  gnContigAnnotation |
  gnContigSequence |
Definition at line 127 of file gnDefs.h.

enum gnNewlineType

  | Enumeration values:
  gnNewlineUnix |
  gnNewlineWindows |
  gnNewlineMac |
Definition at line 133 of file gnDefs.h.

## Variable Documentation

const uint32 ALL_CONTIGS = UINT32_MAX`[static]`

| Definition at line 139 of file gnDefs.h.

const uint32 BUFFER_SIZE = 100000`[static]`

| Definition at line 140 of file gnDefs.h.