FACT++  1.0
static uint32_t FITS::SizeFromType ( char  type)
inlinestatic

Definition at line 70 of file FITS.h.

Referenced by zofits::AddColumn(), and ofits::AddColumn().

71  {
72  size_t size = 0;
73 
74  switch (type)
75  {
76  case 'L':
77  case 'A':
78  case 'B': size = 1; break;
79  case 'I': size = 2; break;
80  case 'J':
81  case 'E': size = 4; break;
82  case 'K':
83  case 'D': size = 8; break;
84  case 'Q': size = 16; break;
85  }
86 
87  return size;
88  }
uint64_t size
Definition: FITS.h:73
int type

+ Here is the caller graph for this function: