FDO API Reference Feature Data Objects

FdoSchemaAttributeDictionary Class Reference

#include <SchemaAttributeDictionary.h>

Inherits FdoIDisposable, and FdoXmlSaxHandler.

Inheritance diagram for FdoSchemaAttributeDictionary:

Inheritance graph
[legend]
List of all members.

Detailed Description

The FdoSchemaAttributeDictionary class maintains a dictionary of named attributes that provide a generic extensibility mechanism for objects in the feature schema. This mechanism can be used to dynamically extend schema elements in either an application- or provider-specific manner.

Definition at line 35 of file SchemaAttributeDictionary.h.


Public Member Functions

FDO_API void Add (FdoString *name, FdoString *value)
 Adds the specified attribute with the specified value to the dictionary.
FDO_API void Clear ()
 Clears all attributes and values from the dictionary.
FDO_API bool ContainsAttribute (FdoString *name)
 Returns true if the dictionary contains the specified attribute.
FDO_API FdoString ** GetAttributeNames (FdoInt32 &length)
 Gets an array containing all of the attribute names in the dictionary.
FDO_API FdoStringGetAttributeValue (FdoString *name)
 Gets the value of the specified attribute.
FDO_API FdoInt32 GetCount ()
 Gets the number of attributes in the dictionary.
FDO_API void Remove (FdoString *name)
 Removes the specified attribute and its value from the dictionary.
FDO_API void SetAttributeValue (FdoString *name, FdoString *value)
 Sets the value of the specified attribute.
virtual FdoBoolean XmlEndElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname)
 Handle the end of a dictionary element.
virtual FdoXmlSaxHandlerXmlStartElement (FdoXmlSaxContext *context, FdoString *uri, FdoString *name, FdoString *qname, FdoXmlAttributeCollection *atts)
 Handle the start of a dictionary element.

Protected Member Functions

virtual void _AcceptChanges ()
virtual void _BeginChangeProcessing ()
virtual void _EndChangeProcessing ()
virtual void _RejectChanges ()
virtual void _StartChanges ()
 FdoFeatureSchema::RejectChanges() support.

Protected Attributes

FdoInt32 m_allocCHANGED
unsigned int m_changeInfoState
wchar_t ** m_namesCHANGED
FdoInt32 m_usedCHANGED
wchar_t ** m_valuesCHANGED

Static Protected Attributes

static const unsigned int CHANGEINFO_PRESENT = 0x00000001
 States stored in the m_changeInfoState bitfield flag.
static const unsigned int CHANGEINFO_PROCESSED = 0x00000004
static const unsigned int CHANGEINFO_PROCESSING = 0x00000002

Friends

class FdoSchemaElement

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