 |
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_BASE_NAMED_PROPERTIES_INTERFACE_H_
11 #define SDK_BASE_NAMED_PROPERTIES_INTERFACE_H_
21 typedef ISDKNamedPropertiesSP SDKNamedPropertiesSP;
22 typedef ISDKNamedPropertiesSCP SDKNamedPropertiesSCP;
34 const SDKAny& value)
throw() = 0;
37 SDKAny& value)
const throw() = 0;
40 SDKResult GetPropertyT(
const SDKString&
id, T& out_value)
const noexcept {
45 return value.GetAs< T >(out_value) ?
50 SDKResult GetPropertyT(
const wchar_t*
id, T& out_value)
const noexcept {
57 return value.GetAs< T >(out_value) ?
68 #endif // SDK_BASE_NAMED_PROPERTIES_INTERFACE_H_
A list of SDK error/return results.
Interfaces wrapper with reference count control.
static const SDKResult kSDKResult_Succeeded
Operation completed successfully.
Definition: sdk_results.h:22
virtual SDKResult SDK_CALLTYPE SetProperty(const SDKString &id, const SDKAny &value)=0
Sets a property value.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
This class wraps the SDKString type.
Definition: sdk_string_handler.h:100
virtual SDKResult SDK_CALLTYPE GetProperty(const SDKString &id, SDKAny &value) const =0
Retrieves a property value.
Provides access to members that control the named properties.
Definition: named_properties_interface.h:29
#define SDK_FAILED(res)
Checks failed result.
Definition: sdk_results_enum.h:69
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
This class wraps the SDKAny type.
Definition: sdk_any_handler.h:32
static const SDKResult kSDKResult_InvalidArgument
Wrong argument passed to function.
Definition: sdk_results.h:55
static const SDKResult kSDKResult_NULLPointer
NULL pointer passed to function.
Definition: sdk_results.h:58
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
Wrappers for work with SDKAny instance.