SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
The abstract class implementing reading and writing snapshots; derived classes take the filename as the argument of the constructor. More...
#include <iosnapshot.h>
Public Member Functions | |
virtual bool | readSnapshot (CPointMassSet< float > *&points)=0 |
read a snapshot from the file; More... | |
virtual bool | readSnapshot (CPointMassSet< double > *&points)=0 |
virtual bool | writeSnapshot (const CPointMassSet< float > *points)=0 |
write a snapshot to the file; return success or failure. More... | |
virtual bool | writeSnapshot (const CPointMassSet< double > *points)=0 |
The abstract class implementing reading and writing snapshots; derived classes take the filename as the argument of the constructor.
|
pure virtual |
read a snapshot from the file;
[in,out] | points | is a pointer to the CPointMassSet class; if it is NULL then a new instance of this class is created, otherwise the content of this object is replaced by the new snapshot. |
Implemented in smile::CIOSnapshotGadget, smile::CIOSnapshotNemo, and smile::CIOSnapshotText.
|
pure virtual |
write a snapshot to the file; return success or failure.
Implemented in smile::CIOSnapshotGadget, smile::CIOSnapshotNemo, and smile::CIOSnapshotText.