source: molecuilder/src/Parser/TremoloParser.cpp@ f2efcf

Last change on this file since f2efcf was f2efcf, checked in by Saskia Metzler <metzler@…>, 16 years ago

the XYZ parser

  • Property mode set to 100644
File size: 400 bytes
Line 
1/*
2 * TremoloParser.cpp
3 *
4 * Created on: Mar 2, 2010
5 * Author: metzler
6 */
7
8void TremoloParser::load(char* fileName) {
9MatrixContainer* data = readData(fileName, getHeaderSize('#'), 0);
10store additional data
11for (each line in matrix) {
12 add atom to the world
13}
14}
15
16void TremoloParser::save(char* fileName) {
17write header
18for (each atom in world) {
19 write coordinates and additional data
20}
21}
Note: See TracBrowser for help on using the repository browser.