src/GamIO/ML5DA.cc
// ____________________________________________________________________________
// E      MATLAB MAT 5 Dimensions Array Sub-Element ASCII Output Functions
// ____________________________________________________________________________
E      MATLAB MAT 5 Dimensions Array Sub-Element ASCII Output Functions
E MATLAB MAT 5 Dimensions Array Sub - Element ASCII Output Functions
void MatLab5DA::print(std::ostream& ostr) const
 {
 ostr << "\n\t\tSE Dimen. Array ";		
 MLTag.print(ostr, 0);				
 ostr << "\n\t\t  Dimensions:   " << ND; 	
 if(ND)
   {
   ostr << "   ("; 
   for(int i=0; i<ND; i++)
     { 						
     ostr << Sizes[i];
     if(i<ND-1) ostr << " x ";
     }
   ostr << ")"; 
   }
 ostr.flush();
 }
void MatLab5DA :: print ( std :: ostream & ostr ) const { ostr << " \n \t \t " ; MLTag . print ( ostr , 0 ) ; ostr << " \n \t \t " << ND ; if ( ND ) { ostr << " " ; for ( int i = 0 ; i < ND ; i ++ ) { ostr << Sizes [ i ] ; if ( i < ND - 1 ) ostr << " " ; } ostr << " " ; } ostr . flush ( ) ; }
____________________________________________________________________________
E      MATLAB MAT 5 Dimensions Array Sub-Element ASCII Output Functions
____________________________________________________________________________
____________________________________________________________________________ E MATLAB MAT 5 Dimensions Array Sub - Element ASCII Output Functions ____________________________________________________________________________
// Input                ML5DA	: MAT version 5 sub-element (this) //                      ostr    : An output stream // Output               ostr    : Output stream with MATLAB MAT file //                                sub-element version 5 info placed //				  into it // Note                         : This information exists at the //                                beginning of each sub-element // Output a header // Print sub-element tag // # of Dimensions //   longchars LC; // We clip out the dimensions /*
     LC.chars[0] = MLData[0+4*i];		// from the data.
     LC.chars[1] = MLData[1+4*i];
     LC.chars[2] = MLData[2+4*i];	
     LC.chars[3] = MLData[3+4*i];
     ostr << LC.longval;
*/