FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoPhysicalClassMapping Class Reference

#include <PhysicalClassMapping.h>

Inherits FdoPhysicalElementMapping.

Inherited by FdoXmlClassMapping.

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.

Constructor & Destructor Documentation

FDO_API FdoPhysicalClassMapping::FdoPhysicalClassMapping  )  [protected]
 

Constructs a default instance of a class mapping.

FDO_API FdoPhysicalClassMapping::FdoPhysicalClassMapping FdoString name  )  [protected]
 

Constructs a named instance of a class mapping.

Parameters:
name Input the class name

virtual FDO_API FdoPhysicalClassMapping::~FdoPhysicalClassMapping  )  [protected, virtual]
 

Class mapping destructor.


Member Function Documentation

virtual FDO_API void FdoPhysicalClassMapping::_writeXml FdoXmlWriter xmlWriter,
const FdoXmlFlags flags
[virtual]
 

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.

Note:
Schema Override elements that do not require name encoding should be based on FdoPhysicalElementMapping instead of this class.
Parameters:
xmlWriter Input write the class to this XML writer
flags Input flags that control the writing of the class.
Returns:
Returns nothing
Write this element to XML.

Reimplemented from FdoPhysicalElementMapping.

Reimplemented in FdoXmlClassMapping.

virtual FDO_API void FdoPhysicalClassMapping::InitFromXml FdoXmlSaxContext pContext,
FdoXmlAttributeCollection attrs
[virtual]
 

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.

Parameters:
pContext Input context contain information about the current deserialization operation
attrs Input the XML attributes.
Returns:
Returns nothing

Reimplemented from FdoPhysicalElementMapping.

Reimplemented in FdoXmlClassMapping.


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.