![]() |
00001 // Copyright (C) 2002 Johan Hoffman and Anders Logg. 00002 // Licensed under the GNU GPL Version 2. 00003 00004 #ifndef __M_FILE_H 00005 #define __M_FILE_H 00006 00007 #include <dolfin/constants.h> 00008 #include "GenericFile.h" 00009 00010 namespace dolfin { 00011 00012 class Vector; 00013 class Matrix; 00014 class Mesh; 00015 class Function; 00016 class Sample; 00017 00018 class MFile : public GenericFile { 00019 public: 00020 00021 MFile(const std::string filename); 00022 virtual ~MFile(); 00023 00024 // Input 00025 00026 // Output 00027 00028 void operator<< (Vector& x); 00029 virtual void operator<< (Matrix& A) = 0; 00030 void operator<< (Mesh& mesh); 00031 void operator<< (Function& u); 00032 void operator<< (Function::Vector& u); 00033 void operator<< (Sample& sample); 00034 00035 }; 00036 00037 } 00038 00039 #endif
Documentation automatically generated with Doxygen on 10 Sep 2004.