src/GamIO/ML5Tag.cc
// ____________________________________________________________________________
// E                  MATLAB MAT 5 Tag ASCII Output Functions
// ____________________________________________________________________________
E                  MATLAB MAT 5 Tag ASCII Output Functions
E MATLAB MAT 5 Tag ASCII Output Functions
void MatLab5Tag::print(std::ostream& ostr, int hf, int bf) const
  {
  if(hf) ostr << "\n\t\tTag             ";		
  if(bf)						
    for(int i=0; i<8; i++) ostr << EightBytes[i]; 	
  if(Compressed)     ostr << "(Compressed)";
  ostr << "\n\t\t  Data Type:    " << DType 		
       << " - " << DataSymbol() << " " << DataType();
  ostr << "\n\t\t  No. Bytes:    " << NBytes;		
  ostr.flush();
  }
void MatLab5Tag :: print ( std :: ostream & ostr , int hf , int bf ) const { if ( hf ) ostr << " \n \t \t " ; if ( bf ) for ( int i = 0 ; i < 8 ; i ++ ) ostr << EightBytes [ i ] ; if ( Compressed ) ostr << " " ; ostr << " \n \t \t " << DType << " " << DataSymbol ( ) << " " << DataType ( ) ; ostr << " \n \t \t " << NBytes ; ostr . flush ( ) ; }
____________________________________________________________________________
E                  MATLAB MAT 5 Tag ASCII Output Functions
____________________________________________________________________________
____________________________________________________________________________ E MATLAB MAT 5 Tag ASCII Output Functions ____________________________________________________________________________
// Input 		ML5T    : MAT version 5 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 5 info placed into it // Note				: This information exists at the //				  beginning of each data element // 8 byte field // If desired then // output all bytes // The Data type // # of Bytes