SnapshotDesc Class Reference

#include <snapshot.hpp>

Inheritance diagram for SnapshotDesc:

Inheritance graph
[legend]
Collaboration diagram for SnapshotDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void read_from (char *name)
void write_on (char *name)
bool has_error ()
symbolOop error_symbol ()
void error (char *msg)

Private Member Functions

void read_header ()
void write_header ()
void read_sizes ()
void write_sizes ()
void read_revision ()
void write_revision ()
void read_roots ()
void write_roots ()
void read_spaces ()
void write_spaces ()
void read_zone ()
void write_zone ()

Private Attributes

FILE * file
bool _has_error

Friends

class WriteClosure
class ReadClosure

Detailed Description

Definition at line 27 of file snapshot.hpp.


Member Function Documentation

void SnapshotDesc::error ( char *  msg  ) 

Definition at line 121 of file snapshot.cpp.

References fatal.

Referenced by write_revision().

symbolOop SnapshotDesc::error_symbol (  ) 

Definition at line 125 of file snapshot.cpp.

Referenced by PRIM_DECL_1().

bool SnapshotDesc::has_error (  )  [inline]

Definition at line 58 of file snapshot.hpp.

References _has_error.

Referenced by PRIM_DECL_1().

void SnapshotDesc::read_from ( char *  name  ) 

Definition at line 107 of file snapshot.cpp.

References read_header(), read_roots(), read_spaces(), and read_zone().

Here is the call graph for this function:

void SnapshotDesc::read_header (  )  [private]

Definition at line 28 of file snapshot.cpp.

References read_revision(), and read_sizes().

Referenced by read_from().

Here is the call graph for this function:

void SnapshotDesc::read_revision (  )  [private]

Definition at line 48 of file snapshot.cpp.

References file, Universe::major_version(), revision_format, and Universe::snapshot_version().

Referenced by read_header().

Here is the call graph for this function:

void SnapshotDesc::read_roots (  )  [private]

Definition at line 81 of file snapshot.cpp.

References Universe::root_iterate().

Referenced by read_from().

Here is the call graph for this function:

void SnapshotDesc::read_sizes (  )  [private]

Definition at line 38 of file snapshot.cpp.

Referenced by read_header().

void SnapshotDesc::read_spaces (  )  [private]

Definition at line 91 of file snapshot.cpp.

Referenced by read_from().

void SnapshotDesc::read_zone (  )  [private]

Definition at line 99 of file snapshot.cpp.

Referenced by read_from().

void SnapshotDesc::write_header (  )  [private]

Definition at line 33 of file snapshot.cpp.

References write_revision(), and write_sizes().

Referenced by write_on().

Here is the call graph for this function:

void SnapshotDesc::write_on ( char *  name  ) 

Definition at line 114 of file snapshot.cpp.

References write_header(), write_roots(), write_spaces(), and write_zone().

Referenced by PRIM_DECL_1().

Here is the call graph for this function:

void SnapshotDesc::write_revision (  )  [private]

Definition at line 53 of file snapshot.cpp.

References error(), file, Universe::major_version(), revision_format, and Universe::snapshot_version().

Referenced by write_header().

Here is the call graph for this function:

void SnapshotDesc::write_roots (  )  [private]

Definition at line 86 of file snapshot.cpp.

References Universe::root_iterate().

Referenced by write_on().

Here is the call graph for this function:

void SnapshotDesc::write_sizes (  )  [private]

Definition at line 42 of file snapshot.cpp.

Referenced by write_header().

void SnapshotDesc::write_spaces (  )  [private]

Definition at line 95 of file snapshot.cpp.

Referenced by write_on().

void SnapshotDesc::write_zone (  )  [private]

Definition at line 103 of file snapshot.cpp.

Referenced by write_on().


Friends And Related Function Documentation

friend class ReadClosure [friend]

Definition at line 64 of file snapshot.hpp.

friend class WriteClosure [friend]

Definition at line 63 of file snapshot.hpp.


Member Data Documentation

bool SnapshotDesc::_has_error [private]

Definition at line 30 of file snapshot.hpp.

Referenced by has_error().

FILE* SnapshotDesc::file [private]

Definition at line 29 of file snapshot.hpp.

Referenced by WriteClosure::do_oop(), read_revision(), and write_revision().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:16:27 2006 for Strongtalk VM by  doxygen 1.4.7