Last change
on this file since eb94c1 was eb94c1, checked in by Saskia Metzler <metzler@…>, 16 years ago |
Work-in-progress commit of change tracker and 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 |
|
---|
8 | void TremoloParser::load(char* fileName) {
|
---|
9 | MatrixContainer* data = readData(fileName, getHeaderSize('#'), 0);
|
---|
10 | store additional data
|
---|
11 | for (each line in matrix) {
|
---|
12 | add atom to the world
|
---|
13 | }
|
---|
14 | }
|
---|
15 |
|
---|
16 | void TremoloParser::save(char* fileName) {
|
---|
17 | write header
|
---|
18 | for (each atom in world) {
|
---|
19 | write coordinates and additional data
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.