src/GamIO/ML5AF.cc
// ____________________________________________________________________________
// B           MATLAB MAT 5 Array Flags Sub-Element Access Functions
// ____________________________________________________________________________
B           MATLAB MAT 5 Array Flags Sub-Element Access Functions
B MATLAB MAT 5 Array Flags Sub - Element Access Functions
std::string MatLab5AF::SClass() const
  {
  switch(Class)
    {
    case 0: return std::string("None"); break;
    case 1: return std::string("Cell Array"); break;
    case 2: return std::string("Structure"); break;
    case 3: return std::string("Object"); break;
    case 4: return std::string("Character Array"); break;
    case 5: return std::string("Sparse Array"); break;
    case 6: return std::string("Double Precision Array"); break;
    case 7: return std::string("Single Precision Array"); break;
    case 8: return std::string("8 Bit, Signed Integer"); break;
    case 9: return std::string("8 Bit, Unsigned Integer"); break;
    case 10: return std::string("16 Bit, Signed Integer"); break;
    case 11: return std::string("16 Bit, Unsigned Integer"); break;
    case 12: return std::string("32 Bit, Signed Integer"); break;
    case 13: return std::string("32 Bit, Unsigned Integer"); break;
    }
  return std::string("Unknown");
  }
std :: string MatLab5AF :: SClass ( ) const { switch ( Class ) { 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 ; case 5 : return std :: string ( " " ) ; break ; case 6 : return std :: string ( " " ) ; break ; case 7 : return std :: string ( " " ) ; break ; case 8 : return std :: string ( " " ) ; break ; case 9 : return std :: string ( " " ) ; break ; case 10 : return std :: string ( " " ) ; break ; case 11 : return std :: string ( " " ) ; break ; case 12 : return std :: string ( " " ) ; break ; case 13 : return std :: string ( " " ) ; break ; } return std :: string ( " " ) ; }
____________________________________________________________________________
B           MATLAB MAT 5 Array Flags Sub-Element Access Functions
____________________________________________________________________________
____________________________________________________________________________ B MATLAB MAT 5 Array Flags Sub - Element Access Functions ____________________________________________________________________________
// Input                ML5AF	: MAT version 5 array flags SE (this) // Output               string  : String labeling the type