FACT++  1.0
static std::string FITS::CommentFromType ( char  type)
inlinestatic

Definition at line 50 of file FITS.h.

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

51  {
52  std::string comment;
53 
54  switch (type)
55  {
56  case 'L': comment = "[1-byte BOOL]"; break;
57  case 'A': comment = "[1-byte CHAR]"; break;
58  case 'B': comment = "[1-byte BOOL]"; break;
59  case 'I': comment = "[2-byte INT]"; break;
60  case 'J': comment = "[4-byte INT]"; break;
61  case 'K': comment = "[8-byte INT]"; break;
62  case 'E': comment = "[4-byte FLOAT]"; break;
63  case 'D': comment = "[8-byte FLOAT]"; break;
64  case 'Q': comment = "[var. Length]"; break;
65  }
66 
67  return comment;
68  }
int type

+ Here is the caller graph for this function: