FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Schema::SchemaAttributeDictionary Class Reference

Inherits OSGeo::FDO::Common::Xml::XmlSaxHandler.

Inheritance diagram for OSGeo::FDO::Schema::SchemaAttributeDictionary:

[legend]
List of all members.

Detailed Description

The SchemaAttributeDictionary 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.


Public Member Functions

System::Void Add (System::String *name, System::String *value)
 Adds the specified attribute with the specified value to the dictionary.
System::Void Clear ()
 Clears all attributes and values from the dictionary.
System::Boolean ContainsAttribute (System::String *name)
 Returns true if the dictionary contains the specified attribute.
__property System::String * get_AttributeNames ()[]
 Gets an array containing all of the attribute names in the dictionary.
__property System::Int32 get_Count ()
 Gets the number of attributes in the dictionary.
System::String * GetAttributeValue (System::String *name)
 Gets the value of the specified attribute.
System::Void Remove (System::String *name)
 Removes the specified attribute and its value from the dictionary.
 SchemaAttributeDictionary (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a SchemaAttributeDictionary object based on an unmanaged instance of the object.
System::Void SetAttributeValue (System::String *name, System::String *value)
 Sets the value of the specified attribute.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

OSGeo::FDO::Schema::SchemaAttributeDictionary::SchemaAttributeDictionary System::IntPtr  unmanaged,
System::Boolean  autoDelete
[inline]
 

Constructs a SchemaAttributeDictionary object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

System::Void OSGeo::FDO::Schema::SchemaAttributeDictionary::Add System::String *  name,
System::String *  value
 

Adds the specified attribute with the specified value to the dictionary.

Parameters:
name Input name
value Input value
Returns:
Returns nothing

System::Void OSGeo::FDO::Schema::SchemaAttributeDictionary::Clear  ) 
 

Clears all attributes and values from the dictionary.

Returns:
Returns nothing

System::Boolean OSGeo::FDO::Schema::SchemaAttributeDictionary::ContainsAttribute System::String *  name  ) 
 

Returns true if the dictionary contains the specified attribute.

Parameters:
name Input attribute name
Returns:
Returns true if the dictionary contains the specified attribute

__property System::String* OSGeo::FDO::Schema::SchemaAttributeDictionary::get_AttributeNames  ) 
 

Gets an array containing all of the attribute names in the dictionary.

Returns:
Returns an array containing all of the attribute names in the dictionary

__property System::Int32 OSGeo::FDO::Schema::SchemaAttributeDictionary::get_Count  ) 
 

Gets the number of attributes in the dictionary.

Returns:
Returns the number of attributes in the dictionary

System::String* OSGeo::FDO::Schema::SchemaAttributeDictionary::GetAttributeValue System::String *  name  ) 
 

Gets the value of the specified attribute.

Parameters:
name Input attribute name
Returns:
Returns the value of the specified attribute

System::Void OSGeo::FDO::Schema::SchemaAttributeDictionary::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Common::Xml::XmlSaxHandler.

System::Void OSGeo::FDO::Schema::SchemaAttributeDictionary::Remove System::String *  name  ) 
 

Removes the specified attribute and its value from the dictionary.

Parameters:
name Input name
Returns:
Returns nothing

System::Void OSGeo::FDO::Schema::SchemaAttributeDictionary::SetAttributeValue System::String *  name,
System::String *  value
 

Sets the value of the specified attribute.

Parameters:
name Input name
value Input value
Returns:
Returns nothing

Comments or suggestions? Send us feedback.