src/GamIO/ML4DElem.cc
/* These are the functions which will output a data element in MATLAB ".mat"
   binary format, version 4. This is done with a pair {tag,data}.  
 
                Input           ML4DE	: MAT version 4 data element (this)
                                fp      : Output file stream
                Output          void    : Output file stream is modified
                                          by having the ML4DE written to it
                Note                    : No care is taken to insure the
                                          data element is written &
					  written at data element start.      */
These are the functions which will output a data element in MATLAB ".mat"
binary format, version 4. This is done with a pair {tag,data}.

Input           ML4DE   : MAT version 4 data element (this)
fp      : Output file stream
Output          void    : Output file stream is modified
by having the ML4DE written to it
Note                    : No care is taken to insure the
data element is written &
written at data element start.
These are the functions which will output a data element in MATLAB " . mat " binary format version 4 . This is done with a pair { tag data } . Input ML4DE : MAT version 4 data element ( this ) fp : Output file stream Output void : Output file stream is modified by having the ML4DE written to it Note : No care is taken to insure the data element is written & written at data element start .
int MatLab4DE::write(std::fstream& fp) const
  {
  int TF = Tag.write(fp);		
  TF *= WriteName(fp);			
  TF *= WriteMx(fp);			
  return TF;
  }
int MatLab4DE :: write ( std :: fstream & fp ) const { int TF = Tag . write ( fp ) ; TF *= WriteName ( fp ) ; TF *= WriteMx ( fp ) ; return TF ; }
These are the functions which will output a data element in MATLAB ".mat"
binary format, version 4.
These are the functions which will output a data element in MATLAB " . mat " binary format version 4 .
// Write main data element tag // Write the data element name // Write the data