ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/io/DumpWriter.hpp
(Generate patch)

Comparing trunk/src/io/DumpWriter.hpp (file contents):
Revision 376 by tim, Thu Feb 24 20:55:07 2005 UTC vs.
Revision 1024 by tim, Wed Aug 30 18:42:29 2006 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 63 | Line 63 | namespace oopse {
63  
64   namespace oopse {
65  
66 < /**
67 < * @class DumpWriter DumpWriter.hpp "io/DumpWriter.hpp"
68 < * @todo
69 < */
70 < class DumpWriter{
66 >  /**
67 >   * @class DumpWriter DumpWriter.hpp "io/DumpWriter.hpp"
68 >   * @todo
69 >   */
70 >  class DumpWriter{
71  
72 <    public:
73 <        DumpWriter(SimInfo* info);
74 <        DumpWriter(SimInfo* info, const std::string& filename);
75 <        ~DumpWriter();
72 >  public:
73 >    DumpWriter(SimInfo* info);
74 >    DumpWriter(SimInfo* info, const std::string& filename);
75 >    DumpWriter(SimInfo* info, const std::string& filename,  bool writeDumpFile);
76 >    ~DumpWriter();
77  
78 <        void writeDumpAndEor();
79 <        void writeDump();
80 <        void writeEor();
78 >    void writeDumpAndEor();
79 >    void writeDump();
80 >    void writeEor();
81 >    
82 >  private:  
83          
84 <    private:  
85 <        
86 <        void writeFrame(std::ostream& os);
87 <        void writeCommentLine(std::ostream& os, Snapshot* s);
88 <        SimInfo* info_;
89 <        std::string filename_;
90 <        std::ofstream dumpFile_;
91 <        std::string eorFilename_;
92 < };
84 >    void writeFrame(std::ostream& os);
85 >    void writeFrameProperties(std::ostream& os, Snapshot* s);
86 >    std::string prepareDumpLine(StuntDouble* integrableObject);
87 >    std::ostream* createOStream(const std::string& filename);
88 >    void writeClosing(std::ostream& os);
89 >    
90 >    SimInfo* info_;
91 >    std::string filename_;
92 >    std::ostream* dumpFile_;
93 >    std::string eorFilename_;
94 >    bool needCompression_;
95 >    bool needForceVector_;
96 >    bool createDumpFile_;
97 >  };
98  
99   }
100   #endif //#define IO_DUMPWRITER_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines