ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/visitors/OtherVisitor.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/visitors/OtherVisitor.cpp (file contents):
Revision 1829 by tim, Wed Dec 1 20:05:49 2004 UTC vs.
Revision 1830 by tim, Thu Dec 2 05:17:10 2004 UTC

# Line 326 | Line 326 | void XYZVisitor::writeFrame(ostream &outStream) {
326      char buffer[1024];
327  
328      if (frame.size() == 0)
329 <        cerr << "Current Frame does not contain any atoms" << endl;
329 >        std::cerr << "Current Frame does not contain any atoms" << std::endl;
330  
331      //total number of atoms  
332 <    outStream << frame.size() << endl;
332 >    outStream << frame.size() << std::endl;
333  
334      //write comment line
335      Snapshot* currSnapshot = info->getSnapshotManager()->getCurrentSnapshot();
# Line 342 | Line 342 | void XYZVisitor::writeFrame(ostream &outStream) {
342              box(1, 0), box(1, 1), box(1, 2),
343              box(2, 0), box(2, 1), box(2, 2));
344  
345 <    outStream << buffer << endl;
345 >    outStream << buffer << std::endl;
346  
347      for( i = frame.begin(); i != frame.end(); ++i )
348 <        outStream << *i << endl;
348 >        outStream << *i << std::endl;
349   }
350  
351   const std::string XYZVisitor::toString() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines