Serializable.hxx File Reference

#include "OBTYPES.def"

Go to the source code of this file.

Namespaces

namespace  sdr

Classes

struct  Serializable
struct  SerialType
struct  SerMeta

Defines

#define OBTYPE(code, ver, schema, nm)   TY_##nm = code,
#define SERIALIZABLE_FIRST_METAVERSION   4
#define SERIALIZABLE_CURRENT_METAVERSION   4
#define SERIALIZABLE_CURRENT_SCHEMA_METAVERSION   4
#define SERIALIZABLE_DECLS(typename)
#define ser_mark(r, pv, v, ms)   v->serType->mark(r, pv, v, ms)

Typedefs

typedef SerMeta SerMeta

Enumerations

enum  SerTypeConst { TY_ntypes, TY_Serializable }

Functions

void mark_truename (GCPtr< const Serializable > ob, MarkState &ms, TrueName tn)
void mark_mutname (GCPtr< const Serializable > ob, MarkState &ms, MutName mutName)


Define Documentation

#define OBTYPE code,
ver,
schema,
nm   )     TY_##nm = code,
 

Definition at line 49 of file Serializable.hxx.

#define ser_mark r,
pv,
v,
ms   )     v->serType->mark(r, pv, v, ms)
 

Definition at line 219 of file Serializable.hxx.

#define SERIALIZABLE_CURRENT_METAVERSION   4
 

Definition at line 67 of file Serializable.hxx.

Referenced by sdr::IStream::r_mutname(), and sdr::OStream::w_mutname().

#define SERIALIZABLE_CURRENT_SCHEMA_METAVERSION   4
 

Definition at line 69 of file Serializable.hxx.

#define SERIALIZABLE_DECLS typename   ) 
 

Value:

public: \
  static void serialize(sdr::OStream& os, GCPtr<const Serializable> s); \
  static GCPtr<Serializable> deserialize(sdr::IStream&, const Serializable &meta); \
  static void mark(GCPtr<Repository> r, \
                   GCPtr<const Serializable> container, \
                   GCPtr<const Serializable> ob, \
                   MarkState& memObs); \
  static bool check(GCPtr<const Serializable> ob); \
\
  static const SerialType SerType; \
  static const Serializable CurMeta; \
\
  typename(const Serializable& s = CurMeta); \
  virtual ~typename()

Definition at line 191 of file Serializable.hxx.

#define SERIALIZABLE_FIRST_METAVERSION   4
 

Definition at line 66 of file Serializable.hxx.

Referenced by Serializable::deserialize_meta(), sdr::IStream::r_entname(), Serializable::serialize_meta(), and sdr::OStream::w_entname().


Typedef Documentation

typedef struct SerMeta SerMeta
 

Definition at line 210 of file Serializable.hxx.


Enumeration Type Documentation

enum SerTypeConst
 

Enumerator:
TY_ntypes 
TY_Serializable 

Definition at line 50 of file Serializable.hxx.


Function Documentation

void mark_mutname GCPtr< const Serializable ob,
MarkState ms,
MutName  mutName
 

void mark_truename GCPtr< const Serializable ob,
MarkState ms,
TrueName  tn
 


Generated on Sun Apr 23 22:42:39 2006 for OpenCM by  doxygen 1.4.6