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 |
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(); |
76 |
|
|
77 |
< |
void writeDumpAndEor(); |
78 |
< |
void writeDump(); |
79 |
< |
void writeEor(); |
77 |
> |
void writeDumpAndEor(); |
78 |
> |
void writeDump(); |
79 |
> |
void writeEor(); |
80 |
|
|
81 |
< |
private: |
81 |
> |
private: |
82 |
|
|
83 |
< |
void writeFrame(std::ostream& os); |
84 |
< |
void writeCommentLine(std::ostream& os, Snapshot* s); |
85 |
< |
SimInfo* info_; |
86 |
< |
std::string filename_; |
87 |
< |
std::ofstream dumpFile_; |
88 |
< |
std::string eorFilename_; |
89 |
< |
}; |
83 |
> |
void writeFrame(std::ostream& os); |
84 |
> |
void writeCommentLine(std::ostream& os, Snapshot* s); |
85 |
> |
std::ostream* createOStream(const std::string& filename); |
86 |
> |
|
87 |
> |
SimInfo* info_; |
88 |
> |
std::string filename_; |
89 |
> |
std::ostream* dumpFile_; |
90 |
> |
std::string eorFilename_; |
91 |
> |
bool needCompression_; |
92 |
> |
}; |
93 |
|
|
94 |
|
} |
95 |
|
#endif //#define IO_DUMPWRITER_HPP |