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

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

#include <gdb_feature_edit.h>

Inheritance diagram for IObjectEdit:
IFeatureEdit

Public Member Functions

virtual GDBResult SDK_CALLTYPE SetObjectClassCode (ClassCode code)=0 throw ()
 Sets an object class code. More...
 
virtual GDBResult SDK_CALLTYPE SetAttributes (IAttributeCollection *attributes)=0 throw ()
 Adds (copies) specified attributes from a collection to the object. More...
 
virtual GDBResult SDK_CALLTYPE SetFlags (SDKUInt64 flags)=0 throw ()
 Sets object flags. More...
 
virtual GDBResult SDK_CALLTYPE AddRelationship (ObjectID member, RelationshipClass relationship_class, RelationshipRole role, ObjectID &rel_id)=0 throw ()
 Adds a relationship between two existing objects in the dataset. More...
 
virtual GDBResult SDK_CALLTYPE GetAttributesEditor (IAttributeCollectionEdit **attributes_editor)=0 throw ()
 Returns the attributes editor. More...
 

Detailed Description

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

Member Function Documentation

◆ SetObjectClassCode()

virtual GDBResult SDK_CALLTYPE SetObjectClassCode ( ClassCode  code)
throw (
)
pure virtual

Sets an object class code.

Parameters
code[in] Class code to be set.
Returns
kSDKResult_Succeeded
kSDKResult_InternalError - Internal error occurred
kSDKResult_InvalidArgument

◆ SetAttributes()

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

Adds (copies) specified attributes from a collection to the object.

Parameters
attributes[in] Pointer to the IAttributeCollection interface.
Returns
kSDKResult_Succeeded
kSDKResult_InternalError - Internal error occurred
kSDKResult_InvalidArgument

◆ SetFlags()

virtual GDBResult SDK_CALLTYPE SetFlags ( SDKUInt64  flags)
throw (
)
pure virtual

Sets object flags.

Parameters
flags[in] Flags to be set.
Returns
kSDKResult_Succeeded
kSDKResult_InternalError - Internal error occurred
kSDKResult_InvalidArgument

◆ AddRelationship()

virtual GDBResult SDK_CALLTYPE AddRelationship ( ObjectID  member,
RelationshipClass  relationship_class,
RelationshipRole  role,
ObjectID &  rel_id 
)
throw (
)
pure virtual

Adds a relationship between two existing objects in the dataset.

Parameters
[in]memberID of the object-member of the relation.
[in]relationship_classRelationship class code.
[in]RelationshipRoleRole of the member in this relation.
[out]rel_idID of the relationship type object.
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented
kSDKResult_InvalidArgument

◆ GetAttributesEditor()

virtual GDBResult SDK_CALLTYPE GetAttributesEditor ( IAttributeCollectionEdit **  attributes_editor)
throw (
)
pure virtual

Returns the attributes editor.

Parameters
attributes[in] Address of a variable that receives the pointer to the IAttributeCollectionEdit interface.
Returns
kSDKResult_Succeeded
kSDKResult_InternalError - Internal error occurred
kSDKResult_InvalidArgument

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