KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mstream.cpp
Go to the documentation of this file.
1 /*
2  * mstream.cpp
3  *
4  * Created on: 22.07.2013
5  * Author: CreaByte
6  */
7 
8 #include "mstream.h"
9 #include "mex.h"
10 
11 std.streamsize mstream.xsputn(const char *s, std.streamsize n) {
12  mexPrintf("%.*s", n, s);
13  return n;
14 }
15 
16 int mstream.overflow(int c) {
17  if (c != EOF) {
18  mexPrintf("%.1s", &c);
19  }
20  return 1;
21 }
22 
virtual int overflow(int c=EOF)
Definition: mstream.cpp:16
virtual std.streamsize xsputn(const char *s, std.streamsize n)
Definition: mstream.cpp:11