Ignore:
Timestamp:
Apr 1, 2010, 12:16:29 PM (15 years ago)
Author:
Saskia Metzler <metzler@…>
Children:
d3513b
Parents:
2704e2 (diff), 770138 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge Till's structure refactoring

Merge commit 'till/StructureRefactoring' into StateAndFormatParser

Conflicts:

molecuilder/src/Makefile.am
molecuilder/src/unittests/Makefile.am

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Parser/TremoloParser.hpp

    r2704e2 r0f7883  
    1212#include "FormatParser.hpp"
    1313
     14/**
     15 * Holds tremolo-specific information which is not store in the atom class.
     16 */
     17class TremoloAtomInfoContainer {
     18public:
     19  TremoloAtomInfoContainer();
     20  std::string F;
     21  std::string stress;
     22  std::string imprData;
     23  std::string GroupMeasureTypeNo;
     24  std::string extType;
     25  std::string name;
     26  std::string resName;
     27  std::string chainID;
     28  std::string resSeq;
     29  std::string occupancy;
     30  std::string tempFactor;
     31  std::string segID;
     32  std::string Charge;
     33  std::string charge;
     34  std::string GrpTypeNo;
     35};
     36
     37/**
     38 * Loads a tremolo file into the World and saves the World as a tremolo file.
     39 */
    1440class TremoloParser:public FormatParser
    1541{
     
    2753   * Known keys for the ATOMDATA line.
    2854   */
    29   enum StringValue {
     55  enum atomDataKey {
     56    noKey,
    3057    x,
    3158    u,
     
    5380   * Map to associate the known keys with numbers.
    5481   */
    55   std::map<std::string, StringValue> knownKeys;
     82  std::map<std::string, atomDataKey> knownKeys;
    5683
    5784  /**
     
    6491   * file.
    6592   */
    66   std::map<std::string, std::string> moreData;
     93  std::map<int, TremoloAtomInfoContainer> moreData;
    6794};
    6895
Note: See TracChangeset for help on using the changeset viewer.