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

Specifies an interface for a GDB Geometry object. More...

#include <gdb_feature.h>

Inheritance diagram for IGDBGeometry:
IObject ISDKComponent

Public Member Functions

virtual GDBResult SDK_CALLTYPE GetOwner (IObject **owner) const =0 throw ()
 Returns the owner of the geometry. More...
 
virtual GDBResult SDK_CALLTYPE FindGeometry (const ObjectID &oid, sdk::geometry::IGeometry **geometry)=0 throw ()
 Finds a geometry specified by the object identifier that is referenced in this geometry. More...
 
- 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

Specifies an interface for a GDB Geometry object.

Member Function Documentation

◆ GetOwner()

virtual GDBResult SDK_CALLTYPE GetOwner ( IObject **  owner) const
throw (
)
pure virtual

Returns the owner of the geometry.

Parameters
[out]ownerAddress of a variable that receives the pointer to the IObject interface associated with the owner of this geometry.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented
SDKResult_NotExist

◆ FindGeometry()

virtual GDBResult SDK_CALLTYPE FindGeometry ( const ObjectID &  oid,
sdk::geometry::IGeometry **  geometry 
)
throw (
)
pure virtual

Finds a geometry specified by the object identifier that is referenced in this geometry.

Parameters
[in]oidThe geometry object identifier.
[out]geometryAddress of a variable that receives the pointer to the geometry::IGeometry interface associated with the found geometry.
Returns
kSDKResult_Succeeded The geometry was found and returned.
kSDKResult_NotFound The geometry was not found in the reference list of this geometry object.

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