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

Object is a basic entity of a geodatabase dataset. Every object in the geodatabase is uniquely identified. More...

#include <gdb_feature.h>

Inheritance diagram for IObject:
ISDKComponent IFeature IGDBGeometry IRelationship

Public Member Functions

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

Object is a basic entity of a geodatabase dataset. Every object in the geodatabase is uniquely identified.

Member Function Documentation

◆ GetRelationships()

virtual GDBResult SDK_CALLTYPE GetRelationships ( RelationshipClass  relationship_class,
RelationshipRole  role,
IRelationshipCollection **  relationship 
)
throw (
)
pure virtual

Returns relationships that this object is a member of.

Parameters
[in]relationship_classThe class of the relationship.
[in]roleThe role in the relationship.
[out]relationshipAddress of a variable to the IRelationshipCollection interface associated with the relationship collection.
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented
kSDKResult_InvalidArgument
kSDKResult_NotFound - Indicates that there is no relationships that this object is a member of.

◆ GetAttributes()

virtual GDBResult SDK_CALLTYPE GetAttributes ( IAttributeCollection **  attributes)
throw (
)
pure virtual

Returns the attribute collection of the object.

Parameters
attributes[out] Address of a variable that receives the pointer to the IAttributeCollection interface associated with the attribute collection object.
Returns
kSDKResult_Succeeded
kSDKResult_InternalError - Internal error occurred
kSDKResult_InvalidArgument
kSDKResult_NotFound - Indicates that no attributes found

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