# FdoPhysicalClassMapping Class Reference

`#include <PhysicalClassMapping.h>`

Inheritance diagram for FdoPhysicalClassMapping:

[legend]

List of all members.

## Detailed Description

FdoPhysicalClassMapping is an abstract class that acts as a base class for all Physical Schema Mapping class overrides.

Definition at line 37 of file PhysicalClassMapping.h.

## Public Member Functions
virtual FDO_API void | _writeXml (FdoXmlWriter *xmlWriter, const FdoXmlFlags *flags)
| Writes this class to XML. Called when the class is serialized to XML. This function converts (encodes) class names to be valid XML element names and appends the "Type" suffix to the name. Can be extended to handle particular XML attributes for derived classes.
virtual FDO_API void | InitFromXml (FdoXmlSaxContext *pContext, FdoXmlAttributeCollection *attrs)
| Initializes this class from its XML attributes. Called when the class is deserialized from XML. This function decodes any encoded class names (See _writeXml) and strips off the "Type" suffix if present. Can be extended to handle particular XML attributes for derived classes.
## Protected Member Functions
FDO_API | FdoPhysicalClassMapping (FdoString *name)
| Constructs a named instance of a class mapping.
FDO_API | FdoPhysicalClassMapping ()
| Constructs a default instance of a class mapping.
virtual FDO_API | ~FdoPhysicalClassMapping ()
| Class mapping destructor.

The documentation for this class was generated from the following file:

- PhysicalClassMapping.h