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::FeatureClass Class Reference

Inherits OSGeo::FDO::Schema::ClassDefinition.

Inherited by OSGeo::FDO::Schema::NetworkFeatureClass.

Inheritance diagram for OSGeo::FDO::Schema::FeatureClass:

[legend]
List of all members.

Detailed Description

The FeatureClass class can be used to represent spatial or non-spatial features. Spatial features must have at lease one geometric property. FeatureClass type has one pre-defined base property "Bounds". The "Bounds" read-only property can be used to get the geometric boundary of the spatial feature. The value of this property will be null if the feature is not a spatial feature.


Public Member Functions

 FeatureClass (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a FeatureClass object based on an unmanaged instance of the object.
 FeatureClass (System::String *name, System::String *description)
 Constructs an instance of an FeatureClass using the specified arguments.
 FeatureClass ()
 Constructs a default instance of an FeatureClass.
__property OSGeo::FDO::Schema::ClassType get_ClassType ()
 Gets the concrete class type.
__property OSGeo::FDO::Schema::GeometricPropertyDefinitionget_GeometryProperty ()
 Gets the geometric property that defines the geometry for this spatial feature class.
__property System::Void set_GeometryProperty (OSGeo::FDO::Schema::GeometricPropertyDefinition *value)
 Sets the geometric property that defines the geometry for this spatial feature class. The specified GeometricPropertyDefinition must be a member of either ClassDefinition.GetBaseProperties or ClassDefinition.GetProperties collection.

Constructor & Destructor Documentation

OSGeo::FDO::Schema::FeatureClass::FeatureClass  ) 
 

Constructs a default instance of an FeatureClass.

OSGeo::FDO::Schema::FeatureClass::FeatureClass System::String *  name,
System::String *  description
 

Constructs an instance of an FeatureClass using the specified arguments.

Parameters:
name Input name
description Input description

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

Constructs a FeatureClass 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

__property OSGeo ::FDO ::Schema ::ClassType OSGeo::FDO::Schema::FeatureClass::get_ClassType  ) 
 

Gets the concrete class type.

Returns:
Returns class type

Reimplemented from OSGeo::FDO::Schema::ClassDefinition.

Reimplemented in OSGeo::FDO::Schema::NetworkLinkFeatureClass, and OSGeo::FDO::Schema::NetworkNodeFeatureClass.

__property OSGeo ::FDO ::Schema ::GeometricPropertyDefinition* OSGeo::FDO::Schema::FeatureClass::get_GeometryProperty  ) 
 

Gets the geometric property that defines the geometry for this spatial feature class.

Returns:
Returns the geometric property

__property System::Void OSGeo::FDO::Schema::FeatureClass::set_GeometryProperty OSGeo::FDO::Schema::GeometricPropertyDefinition value  ) 
 

Sets the geometric property that defines the geometry for this spatial feature class. The specified GeometricPropertyDefinition must be a member of either ClassDefinition.GetBaseProperties or ClassDefinition.GetProperties collection.

Parameters:
value Input the geometric property
Returns:
Returns nothing

Comments or suggestions? Send us feedback.