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

FdoPhysicalPropertyMapping Class Reference

#include <PhysicalPropertyMapping.h>

Inherits FdoPhysicalElementMapping.

Inheritance diagram for FdoPhysicalPropertyMapping:

[legend]
List of all members.

Detailed Description

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

Definition at line 37 of file PhysicalPropertyMapping.h.


Public Member Functions

virtual FDO_API void _writeXml (FdoXmlWriter *xmlWriter, const FdoXmlFlags *flags)
 Writes this Physical Property Mapping to XML. Called when this element is serialized to XML. This function converts (encodes) property names to be valid XML element names. Can be extended to handle particular XML attributes and sub-elements for derived classes.
virtual FDO_API void InitFromXml (FdoXmlSaxContext *pContext, FdoXmlAttributeCollection *attrs)
 Initializes this Physical Property Mapping from its XML attributes. Called when this element is deserialized from XML. This function decodes any encoded property names (See _writeXml). Can be extended to handle particular XML attributes for derived classes.

Protected Member Functions

FDO_API FdoPhysicalPropertyMapping (FdoString *name)
 Constructs a named instance of a property mapping.
FDO_API FdoPhysicalPropertyMapping ()
 Constructs a default instance of a property mapping.
virtual FDO_API ~FdoPhysicalPropertyMapping ()
 property mapping destructor.

Constructor & Destructor Documentation

FDO_API FdoPhysicalPropertyMapping::FdoPhysicalPropertyMapping  )  [protected]
 

Constructs a default instance of a property mapping.

FDO_API FdoPhysicalPropertyMapping::FdoPhysicalPropertyMapping FdoString name  )  [protected]
 

Constructs a named instance of a property mapping.

Parameters:
name Input the class name

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

property mapping destructor.


Member Function Documentation

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

Writes this Physical Property Mapping to XML. Called when this element is serialized to XML. This function converts (encodes) property names to be valid XML element names. Can be extended to handle particular XML attributes and sub-elements 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 element to this XML writer
flags Input flags that control the writing of the element.
Returns:
Returns nothing

Reimplemented from FdoPhysicalElementMapping.

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

Initializes this Physical Property Mapping from its XML attributes. Called when this element is deserialized from XML. This function decodes any encoded property names (See _writeXml). 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.


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