NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
s57_dictionary_reader_interface.h
Go to the documentation of this file.
1 #ifndef SDK_S57_DICTIONARY_READER_INTERFACE_H_
11 #define SDK_S57_DICTIONARY_READER_INTERFACE_H_
12 
13 #include <base/inc/sdk_results.h>
15 #include <base/inc/sdk_ref_ptr.h>
19 
20 namespace sdk {
21 namespace s63 {
22 
24 static const wchar_t kGDALDictProp_ObjectsDictName[] =
25  L"GDALDictProp_ObjectsDictName";
26 static const wchar_t kGDALDictProp_AttributesDictName[] =
28  L"GDALDictProp_AttributesDictName";
29 
30 
33 typedef sdk::SDKRefPtr<IS57DictionaryReader> S57DictionaryReaderSP;
34 
38 {
39  public:
42  virtual SDKResult SDK_CALLTYPE LoadDictionary(
43  const sdk::base::SDKResourceSP& resource,
44  sdk::s63::S57DictionarySP& dictionary) const throw() = 0;
45 
47  //virtual SDKResult SDK_CALLTYPE SetProperty(const SDKString& id, const SDKAny& value) throw() = 0;
48  //virtual SDKResult SDK_CALLTYPE GetProperty(const SDKString& id, SDKAny& value) const throw() = 0;
49 
51  SDK_IMPLEMENT_IID(IS57DictionaryReader)
52  SDK_END_INTERFACE(IS57DictionaryReader)
53 };
54 SDK_DECLARE_IID(IS57DictionaryReader)
55 
56 } // namespace s63
57 } // namespace sdk
58 
59 #endif // SDK_S57_DICTIONARY_READER_INTERFACE_H_
sdk::s63::IS57DictionaryReader::LoadDictionary
virtual SDKResult SDK_CALLTYPE LoadDictionary(const sdk::base::SDKResourceSP &resource, sdk::s63::S57DictionarySP &dictionary) const =0
Loads dictionary data from the resource and creates an S57DictionarySP instance.
sdk_results.h
A list of SDK error/return results.
sdk_ref_ptr.h
Interfaces wrapper with reference count control.
sdk::s63::kGDALDictProp_AttributesDictName
static const wchar_t kGDALDictProp_AttributesDictName[]
Dictionary name for attributes.
Definition: s57_dictionary_reader_interface.h:27
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk::s63::kGDALDictProp_ObjectsDictName
static const wchar_t kGDALDictProp_ObjectsDictName[]
Dictionary name for object classes. //.
Definition: s57_dictionary_reader_interface.h:24
SDKRefPtr
A smart pointer class for managing SDK components interface pointers.
Definition: sdk_ref_ptr.h:23
sdk_component_interface.h
Common base SDK interfaces.
sdk::ISDKNamedProperties
Provides access to members that control the named properties.
Definition: named_properties_interface.h:29
sdk::s63::IS57DictionaryReader
Interface for reading S-57 dictionary files.
Definition: s57_dictionary_reader_interface.h:37
s57_dictionary_interface.h
Set of interfaces for S-57 dictionary description.
named_properties_interface.h
Object generic named properties interface.
resource_interface.h
Main access function to resources.