 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_GDB_FEATURE_INTERFACE_H_
11 #define SDK_GDB_FEATURE_INTERFACE_H_
19 #include <datalayer/inc/senc/senc_feature_dataset_s101.h>
21 SDK_GDB_BEGIN_NAMESPACE
72 kGDBGeometryFlag_DataEdge = senc::GMFL_F_DATA_EDGE,
80 typedef union OBJECT_FLAGS {
83 SDKUInt64 m_HAS_INAS : 1;
84 SDKUInt64 m_HAS_MASTER : 1;
85 SDKUInt64 m_HAS_SLAVES : 1;
86 SDKUInt64 m_ASSOCIATION_CHIEF : 1;
87 SDKUInt64 m_ASSOCIATION_MEMBER : 1;
99 SDKUInt64 m_IS_TG1 : 1;
104 SDKUInt64 m_IS_HAZARD : 1;
105 SDKUInt64 m_IS_INOPERATIVE : 1;
106 SDKUInt64 m_UPDATE_OPERATION_CODE : 2;
107 SDKUInt64 m_UPDATE_TYPE : 2;
111 SDKUInt64 m_IS_CHILD : 1;
116 SDKUInt64 m_IS_INVISIBLE : 1;
117 SDKUInt64 m_GMTP_HIBITS : 2;
118 SDKUInt64 m_HAS_UPDATE_RELATION : 1;
177 virtual GDBResult SDK_CALLTYPE
GetFlags(SDKUInt64& flags)
const throw() = 0;
190 virtual GDBResult SDK_CALLTYPE
GetFOID(SDKAny& foid)
const throw() = 0;
204 virtual GDBResult SDK_CALLTYPE
GetShape(
205 geometry::IGeometry** shape)
throw() = 0;
218 geometry::IEnvelope** envelope)
throw() = 0;
226 virtual GDBResult SDK_CALLTYPE
GetShapes(
236 virtual GDBResult SDK_CALLTYPE
GetMaster(
246 virtual GDBResult SDK_CALLTYPE
GetSlaves(
267 virtual GDBResult SDK_CALLTYPE
GetOwner(
268 IObject** owner)
const throw() = 0;
279 sdk::geometry::IGeometry** geometry)
throw() = 0;
296 virtual GDBResult SDK_CALLTYPE
Next(
297 geometry::IGeometry** geometry)
throw() = 0;
300 virtual void SDK_CALLTYPE
Reset() throw() = 0;
307 SDK_GDB_END_NAMESPACE
309 #endif // SDK_GDB_FEATURE_INTERFACE_H_
Describes interfaces that manages a geodatabase dataset object.
virtual GDBResult SDK_CALLTYPE GetSlaves(IEnumFeature **features)=0
Returns the enumeration of slave objects. This method was introduced for performance reasons.
virtual GDBResult SDK_CALLTYPE GetShapes(IEnumGDBGeometry **geometry)=0
Returns the enumerator for the shapes of the feature.
RelationshipRole
Definition of the Relation role.
Definition: gdb_const.h:305
Describes interfaces that manages a geometry objects.
virtual GDBResult SDK_CALLTYPE GetFlags(SDKUInt64 &flags) const =0
Returns The object flags. For the feature object see FEATS_TRP_FLAGS, for the geometry object see GDB...
@ kObjectType_Spatial
Spatial type.
Definition: gdb_feature.h:46
Describes interfaces that manages an attribute objects.
@ kGDBGeometryFlag_Clockwise
Closed geometry (actual for curves and co-curves).
Definition: gdb_feature.h:71
@ kGDBGeometryFlag_Orientation
Indicates initial orientation. 0 - forward, 1 - reverse.
Definition: gdb_feature.h:76
@ kGDBGeometryFlag_SubGeometryHasAttributes
Indicates that a sub-geometry has attributes.
Definition: gdb_feature.h:73
@ kGDBGeometryFlag_Has_Shared
Indicates that the composite geometry has a sub-geometry that is shared by the multiple features.
Definition: gdb_feature.h:68
@ kGDBGeometryFlag_InteriorRingCanBeSkipped
Indicates that the interior ring can be skipped.
Definition: gdb_feature.h:66
Provides access to members that return information for an Object attribute.
Definition: gdb_attribute.h:134
ObjectType
The Feature constants and structures.
Definition: gdb_feature.h:41
virtual void SDK_CALLTYPE Reset()=0
Resets the enumeration sequence to the beginning.
Object is a basic entity of a geodatabase dataset. Every object in the geodatabase is uniquely identi...
Definition: gdb_feature.h:130
@ kObjectType_Feature
Feature.
Definition: gdb_feature.h:43
virtual GDBResult SDK_CALLTYPE GetShapeType(geometry::GeometryType &type) const =0
Returns the type of the default shape of the feature.
@ kObjectParameter_ID
ObjectID.
Definition: gdb_feature.h:55
@ kObjectType_Thematic
Thematic type.
Definition: gdb_feature.h:47
@ kObjectType_Asso
Association.
Definition: gdb_feature.h:44
virtual GDBResult SDK_CALLTYPE GetObjectClassCode(ClassCode &code) const =0
Returns an identifier for the class code.
@ kObjectParameter_ClassCode
Class code.
Definition: gdb_feature.h:59
@ kGDBGeometryFlag_HasAttributes
Indicates that a geometry has attributes.
Definition: gdb_feature.h:74
virtual GDBResult SDK_CALLTYPE GetObjectType(ObjectType &type) const =0
Returns the type of the object.
virtual GDBResult SDK_CALLTYPE GetOwner(IObject **owner) const =0
Returns the owner of the geometry.
Enumerates shapes for the feature.
Definition: gdb_feature.h:288
@ kObjectParameter_FOID
FOID.
Definition: gdb_feature.h:56
Provides access to members for managing a parameter set.
virtual GDBResult SDK_CALLTYPE GetObjectID(ObjectID &oid) const =0
Returns the identifier of the object.
@ kObjectParameter_Type
The type parameter.
Definition: gdb_feature.h:54
virtual GDBResult SDK_CALLTYPE GetShapeEnvelope(geometry::IEnvelope **envelope)=0
Returns the unique envelope that binds the default shape of the feature object.
Provides access to members that can be used to access the individual attributes of a geometry,...
Definition: gdb_attribute.h:76
SDKUInt32 PRSP
Product specification.
Definition: gdb_const.h:250
Geo database constants and structures.
SDKUInt32 ClassCode
Definition of the ClassCode types.
Definition: gdb_const.h:229
virtual GDBResult SDK_CALLTYPE GetFeatureRCID(RCID &rcid) const noexcept=0
Returns feature's RCID (Record identifier)
@ kGDBGeometryFlag_Truncated
Truncated geometry.
Definition: gdb_feature.h:69
Provides access to relationship collection.
Definition: gdb_relationship.h:28
virtual GDBResult SDK_CALLTYPE Next(geometry::IGeometry **geometry)=0
Retrieves the next geometry in the enumeration sequence.
GDBGeometryFlags
Geodatabase geometry flags.
Definition: gdb_feature.h:64
Feature is a spatial object. A feature has an associated shape. A feature may have a shape with more ...
Definition: gdb_feature.h:187
@ kObjectType_Relationship
Relationship.
Definition: gdb_feature.h:48
@ kGDBGeometryFlag_Is_Shared
Indicates that the geometry is shared by the multiple features.
Definition: gdb_feature.h:67
virtual GDBResult SDK_CALLTYPE GetRelationships(RelationshipClass relationship_class, RelationshipRole role, IRelationshipCollection **relationship)=0
Returns relationships that this object is a member of.
@ kGDBGeometryFlag_HasINAS
Has INAS.
Definition: gdb_feature.h:65
virtual GDBResult SDK_CALLTYPE GetAttributes(IAttributeCollection **attributes)=0
Returns the attribute collection of the object.
ObjectParameter
Object parameters.
Definition: gdb_feature.h:53
Object identifier.
Definition: gdb_const.h:115
virtual GDBResult SDK_CALLTYPE GetObjectPRSP(PRSP &prsp) const =0
returns the product specification identifier of the object.
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
GeometryType
Available types of geometry objects.
Definition: geometry.h:73
@ kGDBGeometryFlag_Closed
Closed geometry (actual for curves and co-curves).
Definition: gdb_feature.h:70
Provides access to members that supply feature dataset information. A FeatureDataset is a dataset tha...
Definition: gdb_dataset.h:483
virtual GDBResult SDK_CALLTYPE GetFOID(SDKAny &foid) const =0
Returns the identifier of the feature object.
SDKUInt32 RCID
NULL object identifier.
Definition: gdb_const.h:163
RelationshipClass
Definition of the Relationship class.
Definition: gdb_const.h:313
virtual GDBResult SDK_CALLTYPE GetShape(geometry::IGeometry **shape)=0
Returns a reference to the default shape for the feature.
virtual GDBResult SDK_CALLTYPE FindGeometry(const ObjectID &oid, sdk::geometry::IGeometry **geometry)=0
Finds a geometry specified by the object identifier that is referenced in this geometry.
@ kObjectParameter_ShapeTypeMask
Shape type mask.
Definition: gdb_feature.h:58
@ kGDBGeometryFlag_Masked
Masked.
Definition: gdb_feature.h:75
Enumerates the features.
Definition: gdb_dataset.h:614
@ kObjectType_Object
Basic object.
Definition: gdb_feature.h:42
@ kObjectParameter_PRSP
PRSP.
Definition: gdb_feature.h:57
virtual GDBResult SDK_CALLTYPE GetMaster(IFeature **feature)=0
Returns the master of the feature. This method was introduced for performance reasons.
virtual GDBResult SDK_CALLTYPE GetFeatureDataset(IFeatureDataset **dataset) const =0
Returns the pointer to the feature dataset that this feature is a member of.
Specifies an interface for a GDB Geometry object.
Definition: gdb_feature.h:259
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
@ kObjectType_Info
Information.
Definition: gdb_feature.h:45
Wrappers for work with SDKAny instance.