NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IFeature Class Referenceabstract

Feature is a spatial object. A feature has an associated shape. A feature may have a shape with more than one geometry. More...

#include <gdb_feature.h>

Inheritance diagram for IFeature:
IObject ISDKComponent

Public Member Functions

virtual GDBResult SDK_CALLTYPE GetFOID (SDKAny &foid) const =0 throw ()
 Returns the identifier of the feature object.
 
virtual GDBResult SDK_CALLTYPE GetFeatureDataset (IFeatureDataset **dataset) const =0 throw ()
 Returns the pointer to the feature dataset that this feature is a member of. More...
 
virtual GDBResult SDK_CALLTYPE GetShape (geometry::IGeometry **shape)=0 throw ()
 Returns a reference to the default shape for the feature. More...
 
virtual GDBResult SDK_CALLTYPE GetShapeType (geometry::GeometryType &type) const =0 throw ()
 Returns the type of the default shape of the feature.
 
virtual GDBResult SDK_CALLTYPE GetShapeEnvelope (geometry::IEnvelope **envelope)=0 throw ()
 Returns the unique envelope that binds the default shape of the feature object. More...
 
virtual GDBResult SDK_CALLTYPE GetShapes (IEnumGDBGeometry **geometry)=0 throw ()
 Returns the enumerator for the shapes of the feature. More...
 
virtual GDBResult SDK_CALLTYPE GetMaster (IFeature **feature)=0 throw ()
 Returns the master of the feature. This method was introduced for performance reasons. More...
 
virtual GDBResult SDK_CALLTYPE GetSlaves (IEnumFeature **features)=0 throw ()
 Returns the enumeration of slave objects. This method was introduced for performance reasons. More...
 
virtual GDBResult SDK_CALLTYPE GetFeatureRCID (RCID &rcid) const noexcept=0
 Returns feature's RCID (Record identifier)
 
- Public Member Functions inherited from IObject
virtual GDBResult SDK_CALLTYPE GetObjectID (ObjectID &oid) const =0 throw ()
 Returns the identifier of the object.
 
virtual GDBResult SDK_CALLTYPE GetObjectType (ObjectType &type) const =0 throw ()
 Returns the type of the object.
 
virtual GDBResult SDK_CALLTYPE GetObjectClassCode (ClassCode &code) const =0 throw ()
 Returns an identifier for the class code.
 
virtual GDBResult SDK_CALLTYPE GetObjectPRSP (PRSP &prsp) const =0 throw ()
 returns the product specification identifier of the object.
 
virtual GDBResult SDK_CALLTYPE GetRelationships (RelationshipClass relationship_class, RelationshipRole role, IRelationshipCollection **relationship)=0 throw ()
 Returns relationships that this object is a member of. More...
 
virtual GDBResult SDK_CALLTYPE GetAttributes (IAttributeCollection **attributes)=0 throw ()
 Returns the attribute collection of the object. More...
 
virtual GDBResult SDK_CALLTYPE GetFlags (SDKUInt64 &flags) const =0 throw ()
 Returns The object flags. For the feature object see FEATS_TRP_FLAGS, for the geometry object see GDBGeometryFlags for other object types of see the corresponded flags.
 
- Public Member Functions inherited from ISDKComponent
virtual SDKAtomicRefCount SDK_CALLTYPE AddRef () const =0 throw ()
 Increments the reference count for an interface on a component.

 
virtual SDKAtomicRefCount SDK_CALLTYPE Release () const =0 throw ()
 Decrements the reference count for an interface on a component.
 
virtual SDKResult SDK_CALLTYPE GetInterface (const InterfaceId &id, void **obj_ptr)=0 throw ()
 Returns pointers to the supported interfaces on a component.
 
template<typename _Itf >
SDKResult GetInterface (_Itf **obj_ptr) throw ()
 Returns pointers to the supported interfaces on a component.
 

Detailed Description

Feature is a spatial object. A feature has an associated shape. A feature may have a shape with more than one geometry.

Member Function Documentation

◆ GetFeatureDataset()

virtual GDBResult SDK_CALLTYPE GetFeatureDataset ( IFeatureDataset **  dataset) const
throw (
)
pure virtual

Returns the pointer to the feature dataset that this feature is a member of.

Parameters
dataset[out] Address of a variable that receives the pointer to the IFeatureDataset interface associated with the feature dataset.
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented

◆ GetShape()

virtual GDBResult SDK_CALLTYPE GetShape ( geometry::IGeometry **  shape)
throw (
)
pure virtual

Returns a reference to the default shape for the feature.

Parameters
shape[out] Address of a variable that receives the pointer to the IGDBGeometry interface associated with the feature geometry.

◆ GetShapeEnvelope()

virtual GDBResult SDK_CALLTYPE GetShapeEnvelope ( geometry::IEnvelope **  envelope)
throw (
)
pure virtual

Returns the unique envelope that binds the default shape of the feature object.

Parameters
[out]envelopeAddress of a variable that receives the pointer to the geometry::IEnvelope interface associated with the shape envelope.
Returns
kSDKResult_Succeeded
kSDKResult_NotExist

◆ GetShapes()

virtual GDBResult SDK_CALLTYPE GetShapes ( IEnumGDBGeometry **  geometry)
throw (
)
pure virtual

Returns the enumerator for the shapes of the feature.

Parameters
[out]geometryAddress of a variable that receives the pointer to the IEnumGDBGeometry interface associated with the geometry object.
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented

◆ GetMaster()

virtual GDBResult SDK_CALLTYPE GetMaster ( IFeature **  feature)
throw (
)
pure virtual

Returns the master of the feature. This method was introduced for performance reasons.

Parameters
[out]featureAddress of a variable that receives the pointer to the IFeature interface associated with master object.
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented
kSDKResult_NotExist

◆ GetSlaves()

virtual GDBResult SDK_CALLTYPE GetSlaves ( IEnumFeature **  features)
throw (
)
pure virtual

Returns the enumeration of slave objects. This method was introduced for performance reasons.

Parameters
[out]featuresAddress of a variable that receives the pointer to the IEnumFeature interface associated with the slave enumeration.
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented
kSDKResult_NotExist

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