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(); |
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() { |