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(); |
81 |
< |
|
81 |
> |
|
82 |
|
private: |
83 |
|
|
84 |
|
void writeFrame(std::ostream& os); |
85 |
< |
void writeCommentLine(std::ostream& os, Snapshot* s); |
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_; |
93 |
|
std::string eorFilename_; |
94 |
|
bool needCompression_; |
95 |
|
bool needForceVector_; |
96 |
+ |
bool createDumpFile_; |
97 |
|
}; |
98 |
|
|
99 |
|
} |