function name = getConstantNames(self, xtype)
% $Id$

switch xtype
  case  1   % NC_BYTE 1
    name = 'byte';
  case  2   % NC_CHAR 2
    name = 'char';
  case  3   % NC_SHORT 3
    name = 'short';
  case  4   % NC_INT, NC_LONG 4
    name = 'int';
  case  5   %NC_FLOAT 5
    name = 'float';
  case  6   % NC_DOUBLE 6
    name = 'double';
  otherwise
    error( 'unhandled data type %d\n', xtype );
end
