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

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

#include <gdb_feature_edit.h>

Inheritance diagram for IAttributeCollectionEdit:
ISDKComponent

Public Member Functions

virtual GDBResult SDK_CALLTYPE SetAttributeValue (AttributeClassCode class_code, const SDKAny &value)=0 throw ()
 Sets a value of the attribute. More...
 
virtual GDBResult SDK_CALLTYPE DeleteAttribute (AttributeClassCode class_code)=0 throw ()
 Deletes the attribute with specified class code. More...
 
- 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

◆ SetAttributeValue()

virtual GDBResult SDK_CALLTYPE SetAttributeValue ( AttributeClassCode  class_code,
const SDKAny &  value 
)
throw (
)
pure virtual

Sets a value of the attribute.

Parameters
[in]class_codeThe attribute class code.
[out]valueThe attribute value.
Returns
kSDKResult_Succeeded.
kSDKResult_InternalError. Indicates a problem with the data.

◆ DeleteAttribute()

virtual GDBResult SDK_CALLTYPE DeleteAttribute ( AttributeClassCode  class_code)
throw (
)
pure virtual

Deletes the attribute with specified class code.

Parameters
[in]class_codeThe attribute class code.
Returns
kSDKResult_Succeeded.
kSDKResult_InternalError. Indicates a problem with the data.

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