SerialType Struct Reference

#include <Serializable.hxx>

List of all members.

Static Public Member Functions

static const SerialTypefind (SerTypeConst tyConst)

Public Attributes

const SerTypeConst tyConst
const Serializableser
const char * tyName
void(* serialize )(sdr::OStream &os, GCPtr< const Serializable > s)
GCPtr< Serializable >(* deserialize )(sdr::IStream &, const Serializable &meta)
void(* mark )(GCPtr< Repository >, GCPtr< const Serializable > container, GCPtr< const Serializable > ob, MarkState &memObs)
bool(* check )(GCPtr< const Serializable > ob)


Detailed Description

The SerialType record holds the object type/version and the per-type functions associated with the object. When deserialize() is called, the type has already been read.

serialize() and show() take non-const objects because they may canonicalize the internal representation before displaying the object.

Definition at line 159 of file Serializable.hxx.


Member Function Documentation

const SerialType * SerialType::find SerTypeConst  tyConst  )  [static]
 

Definition at line 68 of file Serializable.cxx.

References serTypes, TY_ntypes, and tyConst.

Referenced by Serializable::deserialize_meta(), and SerMeta::fromSerializable().


Member Data Documentation

bool(* SerialType::check)(GCPtr< const Serializable > ob)
 

GCPtr<Serializable>(* SerialType::deserialize)(sdr::IStream &, const Serializable &meta)
 

Referenced by sdr::bin_read().

void(* SerialType::mark)(GCPtr< Repository >, GCPtr< const Serializable > container, GCPtr< const Serializable > ob, MarkState &memObs)
 

const Serializable& SerialType::ser
 

Definition at line 166 of file Serializable.hxx.

Referenced by sdr::bin_read(), and SerMeta::fromSerializable().

void(* SerialType::serialize)(sdr::OStream &os, GCPtr< const Serializable > s)
 

const SerTypeConst SerialType::tyConst
 

Definition at line 160 of file Serializable.hxx.

Referenced by find(), Serializable::getType(), and Serializable::serialize_meta().

const char* SerialType::tyName
 

Definition at line 168 of file Serializable.hxx.


The documentation for this struct was generated from the following files:
Generated on Sun Apr 23 22:42:41 2006 for OpenCM by  doxygen 1.4.6