src/GamIO/ML4Tag.cc
// ____________________________________________________________________________
// E                  MATLAB MAT 4 Tag ASCII Output Functions
// ____________________________________________________________________________
E                  MATLAB MAT 4 Tag ASCII Output Functions
E MATLAB MAT 4 Tag ASCII Output Functions
void MatLab4Tag::print(std::ostream& ostr, int hf) const
  {
  if(hf) ostr << "\n\t\tHeader";
  ostr << "\n\t\t  Rows:          " << mrows;	
  ostr << "\n\t\t  Columns:       " << ncols;	
  ostr << "\n\t\t  R/C Flag:      "; 		
  if(cmplxf) ostr << "Complex";
  else       ostr << "Real";
  ostr << "\n\t\t  Binary Format: " << PType();	
  ostr << "\n\t\t  Byte Ordering: " << MType();	
  ostr << "\n\t\t  Data Type:     " << TType();	
  ostr << "\n\t\t  Name Len:      " << nlen;	
  ostr.flush();
  }
void MatLab4Tag :: print ( std :: ostream & ostr , int hf ) const { if ( hf ) ostr << " \n \t \t " ; ostr << " \n \t \t " << mrows ; ostr << " \n \t \t " << ncols ; ostr << " \n \t \t " ; if ( cmplxf ) ostr << " " ; else ostr << " " ; ostr << " \n \t \t " << PType ( ) ; ostr << " \n \t \t " << MType ( ) ; ostr << " \n \t \t " << TType ( ) ; ostr << " \n \t \t " << nlen ; ostr . flush ( ) ; }
____________________________________________________________________________
E                  MATLAB MAT 4 Tag ASCII Output Functions
____________________________________________________________________________
____________________________________________________________________________ E MATLAB MAT 4 Tag ASCII Output Functions ____________________________________________________________________________
// Input 		ML4T    : MAT version 4 tag (this) // 			ostr	: An output stream //			hf 	: Flag to print header    //                      bf      : Flag to print tag chars // Output		ostr	: Output stream with MATLAB MAT file //				  tag version 4 info placed into it // Note				: This information exists at the //				  beginning of each data element // Number of data rows // Number of data columns // Real/Complex flag // The binary format type // The number byte order // The data array type // Variable name length