FACT++  1.0
virtual void fits::MoveColumnDataToUserSpace ( char *  dest,
const char *  src,
const Table::Column c 
)
inlinevirtual

Definition at line 814 of file fits.h.

References fits::Table::Column::bytes, fits::Table::Column::num, and fits::Table::Column::size.

Referenced by zfits::MoveColumnDataToUserSpace().

815  {
816  // Let the compiler do some optimization by
817  // knowing that we only have 1, 2, 4 and 8
818  switch (c.size)
819  {
820  case 1: memcpy (dest, src, c.bytes); break;
821  case 2: revcpy<2>(dest, src, c.num); break;
822  case 4: revcpy<4>(dest, src, c.num); break;
823  case 8: revcpy<8>(dest, src, c.num); break;
824  }
825  }

+ Here is the caller graph for this function: