src/GamIO/ML5SubE.cc
/* These are the functions which will output a sub-element in MATLAB ".mat"
   binary format, version 5.  This is done with a pair {tag,data}.  The data
   MUST be output in a format which matches that specified in the tag. 
 
                Input           ML5SE	: MAT version 5 sub-element (this)
                                fp      : Output file stream
                Output          void    : Output file stream is modified
                                          by having the ML5SE written to it
                Note                    : No care is taken to insure the
                                          sub-element is written and written
					  at the beginning of an element.    */
These are the functions which will output a sub-element in MATLAB ".mat"
binary format, version 5.  This is done with a pair {tag,data}.  The data
MUST be output in a format which matches that specified in the tag.

Input           ML5SE   : MAT version 5 sub-element (this)
fp      : Output file stream
Output          void    : Output file stream is modified
by having the ML5SE written to it
Note                    : No care is taken to insure the
sub-element is written and written
at the beginning of an element.
These are the functions which will output a sub - element in MATLAB " . mat " binary format version 5 . This is done with a pair { tag data } . The data MUST be output in a format which matches that specified in the tag . Input ML5SE : MAT version 5 sub - element ( this ) fp : Output file stream Output void : Output file stream is modified by having the ML5SE written to it Note : No care is taken to insure the sub - element is written and written at the beginning of an element .
int MatLab5SE::write(std::fstream& fp) const
  {
  MLTag.write(fp);				
  return 1;
  }
int MatLab5SE :: write ( std :: fstream & fp ) const { MLTag . write ( fp ) ; return 1 ; }
These are the functions which will output a sub-element in MATLAB ".mat"
binary format, version 5.
These are the functions which will output a sub - element in MATLAB " . mat " binary format version 5 .
// First write the tag //  for(int i=0; i<124; i++)			// Now we output the data //    fp.write(&(TextField[i]), sizeof(char));	// as the header text field