Data Members
| m_pDocument | Points to the CDocument object being serialized. |
Construction
| CArchive | Creates a CArchive object. |
| Abort | Closes an archive without throwing an exception. |
| Close | Flushes unwritten data and disconnects from the CFile. |
Basic Input/Output
| Flush | Flushes unwritten data from the archive buffer. |
| operator >> | Loads objects and primitive types from the archive. |
| operator << | Stores objects and primitive types to the archive. |
| Read | Reads raw bytes. |
| Write | Writes raw bytes. |
| WriteString | Writes a single line of text. |
| ReadString | Reads a single line of text. |
Status
| GetFile | Gets the CFile object pointer for this archive. |
| GetObjectSchema | Called from the Serialize function to determine the version of the object that is being deserialized. |
| SetObjectSchema | Sets the object schema stored in the archive object. |
| IsLoading | Determines whether the archive is loading. |
| IsStoring | Determines whether the archive is storing. |
| IsBufferEmpty | Determines whether the buffer has been emptied during a Windows Sockets receive process. |
Object Input/Output
| ReadObject | Calls an object’s Serialize function for loading. |
| WriteObject | Calls an object’s Serialize function for storing. |
| MapObject | Places objects in the map that are not serialized to the file, but that are available for subobjects to reference. |
| SetStoreParams | Sets the hash table size and the block size of the map used to identify unique objects during the serialization process. |
| SetLoadParams | Sets the size to which the load array grows. Must be called before any object is loaded or before MapObject or ReadObject is called. |
| ReadClass | Reads a class reference previously stored with WriteClass. |
| WriteClass | Writes a reference to the CRuntimeClass to the CArchive. |
| SerializeClass | Reads or writes the class reference to the CArchive object depending on the direction of the CArchive. |