NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Features.AttributesTable Class Reference

Stores all attributes associated with a single Geometry feature. More...

Inheritance diagram for NetTopologySuite.Features.AttributesTable:
NetTopologySuite.Features.IAttributesTable

Public Member Functions

string[] GetNames ()
 Returns a string array containing all names of present attributes. More...
 
object[] GetValues ()
 Returns a object array containing all values of present attributes. More...
 
bool Exists (string attributeName)
 Verifies if attribute specified already exists. More...
 
void AddAttribute (string attributeName, object attributeValue)
 Build a field with the given value and add it to attributes table. More...
 
virtual void DeleteAttribute (string attributeName)
 Delete the specified attribute from the table. More...
 
Type GetType (string attributeName)
 Return the System.Type of the specified attribute, useful for casting values retrieved with GetValue methods. More...
 

Protected Member Functions

object GetValue (string attributeName)
 Get the value of the specified attribute. More...
 
void SetValue (string attributeName, object attributeValue)
 Set the value of the specified attribute. More...
 

Properties

int Count [get]
 
object this[string attributeName] [get, set]
 Get / Set the value of the specified attribute. More...
 
- Properties inherited from NetTopologySuite.Features.IAttributesTable
object this[string attributeName] [get, set]
 
int Count [get]
 

Detailed Description

Stores all attributes associated with a single Geometry feature.

Member Function Documentation

void NetTopologySuite.Features.AttributesTable.AddAttribute ( string  attributeName,
object  attributeValue 
)

Build a field with the given value and add it to attributes table.

Parameters
attributeNameName of the new attribute.
attributeValueValue for attribute (can be null).
Exceptions
ArgumentExceptionIf attribute already exists.

Implements NetTopologySuite.Features.IAttributesTable.

virtual void NetTopologySuite.Features.AttributesTable.DeleteAttribute ( string  attributeName)
virtual

Delete the specified attribute from the table.

Parameters
attributeName

Implements NetTopologySuite.Features.IAttributesTable.

bool NetTopologySuite.Features.AttributesTable.Exists ( string  attributeName)

Verifies if attribute specified already exists.

Parameters
attributeName
Returns

Implements NetTopologySuite.Features.IAttributesTable.

string [] NetTopologySuite.Features.AttributesTable.GetNames ( )

Returns a string array containing all names of present attributes.

Returns

Implements NetTopologySuite.Features.IAttributesTable.

Type NetTopologySuite.Features.AttributesTable.GetType ( string  attributeName)

Return the System.Type of the specified attribute, useful for casting values retrieved with GetValue methods.

Parameters
attributeName
Returns

Implements NetTopologySuite.Features.IAttributesTable.

object NetTopologySuite.Features.AttributesTable.GetValue ( string  attributeName)
protected

Get the value of the specified attribute.

Parameters
attributeName
Returns
object [] NetTopologySuite.Features.AttributesTable.GetValues ( )

Returns a object array containing all values of present attributes.

Returns

Implements NetTopologySuite.Features.IAttributesTable.

void NetTopologySuite.Features.AttributesTable.SetValue ( string  attributeName,
object  attributeValue 
)
protected

Set the value of the specified attribute.

Parameters
attributeName
attributeValue

Property Documentation

int NetTopologySuite.Features.AttributesTable.Count
get

object NetTopologySuite.Features.AttributesTable.this[string attributeName]
getset

Get / Set the value of the specified attribute.

Parameters
attributeName
Returns

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