MeshKit
1.0
|
00001 #include "meshkit/mstream.hpp" 00002 mstream::mstream () 00003 // --------------------------------------------------------------------------- 00004 // Function: default constructor 00005 // Input: none 00006 // Output: none 00007 // --------------------------------------------------------------------------- 00008 { 00009 } 00010 00011 mstream::~mstream () 00012 // --------------------------------------------------------------------------- 00013 // Function: destructor 00014 // Input: none 00015 // Output: none 00016 // --------------------------------------------------------------------------- 00017 { 00018 } 00019 00020 mstream& mstream::operator<< (std::ostream& (*pfun)(std::ostream&)) 00021 // --------------------------------------------------------------------------- 00022 // Function: helps enable endline - std::endl 00023 // Input: none 00024 // Output: none 00025 // --------------------------------------------------------------------------- 00026 { 00027 pfun(coss); 00028 pfun(std::cout); 00029 return *this; 00030 }