oasys::Serialize Class Reference

#include <Serialize.h>

Inheritance diagram for oasys::Serialize:

oasys::SerializeAction oasys::BufferedSerializeAction oasys::KeyMarshal oasys::KeyUnmarshal oasys::MarshalCRC oasys::MarshalSize oasys::SQLExtract oasys::SQLQuery oasys::StringSerialize oasys::TclListSerialize oasys::TextMarshal oasys::TextUnmarshal List of all members.

Detailed Description

Empty base class that's just used for name scoping of the action and context enumerated types.

Definition at line 62 of file Serialize.h.

Public Types

enum  action_t { MARSHAL = 1, UNMARSHAL, INFO }
 Action type codes, one for each basic type of SerializeAction. More...
enum  context_t { CONTEXT_UNKNOWN = 1, CONTEXT_NETWORK, CONTEXT_LOCAL }
 Context type codes, one for each general context in which serialization occurs. More...
enum  { USE_CRC = 1 << 0 }
 Options for un/marshaling. More...
enum  { INCLUDE_NAME = 1 << 0, DOT_SEPARATED = 1 << 1 }
 Options for StringSerialize. More...
enum  { ALLOC_MEM = 1<<0, NULL_TERMINATED = 1<<1 }
 Options for un/marshaling process() methods. More...


Member Enumeration Documentation

enum oasys::Serialize::action_t

Action type codes, one for each basic type of SerializeAction.

Enumerator:
MARSHAL  in-memory -> serialized representation
UNMARSHAL  serialized -> in-memory representation
INFO  informative scan (e.g. size, table schema)

Definition at line 67 of file Serialize.h.

enum oasys::Serialize::context_t

Context type codes, one for each general context in which serialization occurs.

Enumerator:
CONTEXT_UNKNOWN  no specified context (default)
CONTEXT_NETWORK  serialization to/from the network
CONTEXT_LOCAL  serialization to/from local disk

Definition at line 77 of file Serialize.h.

anonymous enum

Options for un/marshaling.

Enumerator:
USE_CRC 

Definition at line 84 of file Serialize.h.

anonymous enum

Options for StringSerialize.

Enumerator:
INCLUDE_NAME  Serialize as "name1 value1 name2 value2 ".
DOT_SEPARATED  Use . not " " as field separations.

Definition at line 89 of file Serialize.h.

anonymous enum

Options for un/marshaling process() methods.

Enumerator:
ALLOC_MEM  Allocated memory to be freed by the user.
NULL_TERMINATED  Delim by '' instead of storing length.

Definition at line 95 of file Serialize.h.


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:06 2006 for DTN Reference Implementation by  doxygen 1.5.1