ML Version of the Day
MLAPI::MATLABStream Class Reference

Basic stream to save in a MATLAB-compatible file MLAPI objects. More...

#include <MLAPI_MATLABStream.h>

List of all members.

Public Member Functions

 MATLABStream (const std::string &FileName, bool UseSparse=true)
 Opens the specified file for writing.
 ~MATLABStream ()
 Finally closes the output file.
MATLABStreamoperator<< (const int obj)
 Writes on file the specified integer (on process 0 only).
MATLABStreamoperator<< (const double obj)
 Writes on file the specified double (on process 0 only).
MATLABStreamoperator<< (const std::string obj)
 Writes on file the specified std::string on process 0 only.
MATLABStreamoperator<< (const Operator &obj)
 Writes on file input Operator, one process at-a-time, using global ordering.
MATLABStreamoperator<< (const MultiVector &obj)
 Writes on file the input MultiVector, one process at-a-time.
MATLABStreamoperator<< (const Space &obj)
 Writes on file input Space, one process at-a-time.
bool GetUseSparse () const
 Returns true if the stream uses sparse MATLAB format.
void SetUseSparse (const bool UseSparse)
 Toggles the use of sparse MATLAB formats.
std::string GetFileName () const
 Returns the name of the output file.

Detailed Description

Basic stream to save in a MATLAB-compatible file MLAPI objects.

For an example of usage, see BlackBoard.cpp

Author:
Marzio Sala, SNL 9214
Date:
Last updated on Feb-05.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends