src/GamIO/ML4Tag.cc
// ____________________________________________________________________________
// B                    MATLAB MAT 4 Tag Access Functions
// ____________________________________________________________________________
B                    MATLAB MAT 4 Tag Access Functions
B MATLAB MAT 4 Tag Access Functions
std::string MatLab4Tag::MType() const
  {
  switch(MLM)
    {
    case -1: return std::string("none"); break;
    case  0: return std::string("IEEE Little Endian"); break;
    case  1: return std::string("IEEE Big Endian");    break;
    case  2: return std::string("VAX D-float");        break;
    case  3: return std::string("VAX G-float");        break;
    case  4: return std::string("Cray");               break;
    }
  return std::string("Unknown");
  }
std :: string MatLab4Tag :: MType ( ) const { switch ( MLM ) { case -1 : return std :: string ( " " ) ; break ; case 0 : return std :: string ( " " ) ; break ; case 1 : return std :: string ( " " ) ; break ; case 2 : return std :: string ( " " ) ; break ; case 3 : return std :: string ( " " ) ; break ; case 4 : return std :: string ( " " ) ; break ; } return std :: string ( " " ) ; }
____________________________________________________________________________
B                    MATLAB MAT 4 Tag Access Functions
____________________________________________________________________________
____________________________________________________________________________ B MATLAB MAT 4 Tag Access Functions ____________________________________________________________________________
// Input 		ML4T    : MAT version 4 tag (this) // Output               string  : String labeling the byte //                                ordering of stored data