Changes in src/Views/StreamStringView.cpp [24a5e0:9d8609]
- File:
- 
      - 1 edited
 
 - 
          
  src/Views/StreamStringView.cpp (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      src/Views/StreamStringView.cppr24a5e0 r9d8609 7 7 8 8 #include <sstream> 9 #include <iostream>10 9 11 10 #include "StreamStringView.hpp" 12 11 13 using namespace std; 14 15 StreamStringView::StreamStringView(boost::function<void(ostream *)> _displayMethod) : 12 StreamStringView::StreamStringView(boost::function<void(ofstream *)> _displayMethod) : 16 13 StringView(), 17 14 displayMethod(_displayMethod) 18 {} 15 { 16 // TODO Auto-generated constructor stub 17 18 } 19 19 20 20 StreamStringView::~StreamStringView() 21 {} 21 { 22 // TODO Auto-generated destructor stub 23 } 22 24 23 25 const string StreamStringView::toString() { 24 26 stringstream s; 25 displayMethod( dynamic_cast<ostream *>(&s));27 displayMethod((ofstream *)&s); 26 28 return s.str(); 27 29 } 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
