AddressLib/vopio.c
int typesize(MomImageType type)

{
  switch (type) {
  case UCHAR_TYPE: return sizeof(char);
  case SHORT_TYPE: return sizeof(short);
  case FLOAT_TYPE: return sizeof(float);
  case NONE_TYPE: return 0;
  }
  return 0;
}
/**********************************************************************/
/*  typesize  returns datasize of selected dataformat                 */
/**********************************************************************/
typesize  returns datasize of selected dataformat
typesize returns datasize of selected dataformat
int typesize(MomImageType type)
{
  switch (type) {
  case UCHAR_TYPE: return sizeof(char);
  case SHORT_TYPE: return sizeof(short);
  case FLOAT_TYPE: return sizeof(float);
  case NONE_TYPE: return 0;
  }
  return 0;
}
int typesize ( MomImageType type ) { switch ( type ) { case UCHAR_TYPE : return sizeof ( char ) ; case SHORT_TYPE : return sizeof ( short ) ; case FLOAT_TYPE : return sizeof ( float ) ; case NONE_TYPE : return 0 ; } return 0 ; }
typesize  returns datasize of selected dataformat
typesize returns datasize of selected dataformat