Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MCFileSerializer Class Reference

A serializer (see MCSerializer) which serializes objects to a file. More...

#include <mcllib/MCFileSerializer.h>

Inheritance diagram for MCFileSerializer:

MCSerializer MCBase List of all members.

Public Member Functions

 MCFileSerializer (MCFile *pFile, bool hasType=false)
 Construct a file serializer.

Detailed Description

A serializer (see MCSerializer) which serializes objects to a file.


Constructor & Destructor Documentation

MCFileSerializer MCFile pFile,
bool  hasType = false
 

Construct a file serializer.

Parameters:
pFile the file object to serialize data to
hasType if true, on output, type information will be written with the data. If false, type information will not be written with the data. Type information allows serialized files to be read by applications which do not understand the format of the data. A file serializer must specify the same value for hasType for both writing and reading.


Generated on Wed Jan 12 19:05:49 2005 for MCLLIB by  doxygen 1.3.9.1