NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
s63_status_reader_interface.h
Go to the documentation of this file.
1 
11 #ifndef SDK_S63_STATUS_READER_INTERFACE_H_
12 #define SDK_S63_STATUS_READER_INTERFACE_H_
13 #pragma once
14 
15 #include <base/inc/platform.h>
16 #include <base/inc/sdk_component_base.h>
19 
20 namespace sdk {
21 namespace s63 {
22 
23 FWD_DECL_INTERFACE(IS63StatusReader);
24 
28 static const wchar_t kS63StatusFileName[] = L"STATUS.LST";
30 static const wchar_t kPathToStatusFileFromENCDatabaseRoot[] =
31  L"../INFO/STATUS.LST";
33 static const wchar_t kPathToStatusFileFromENCDatabaseRoot2[] =
34  L"../../INFO/STATUS.LST"; // Large media
36 static const wchar_t kPathToStatusFileFromMediaRoot[] =
37  L"INFO/STATUS.LST";
39 
43 {
44  public:
47  virtual SDKResult SDK_CALLTYPE LoadStatusFile(
48  const sdk::base::ISDKStreamSP& status_file_stream,
49  sdk::s63::IS63StatusFileSP& status_file) const throw() = 0;
50 
52  SDK_IMPLEMENT_IID(IS63StatusReader)
53  SDK_END_INTERFACE(IS63StatusReader)
54 };
55 SDK_DECLARE_IID(IS63StatusReader)
56 
57 } // namespace s63
58 } // namespace sdk
59 
60 #endif // SDK_S63_STATUS_READER_INTERFACE_H_
sdk::s63::kPathToStatusFileFromENCDatabaseRoot
static const wchar_t kPathToStatusFileFromENCDatabaseRoot[]
Path to the STATUS.LST file from the ENC database root (from ENC_ROOT folder).
Definition: s63_status_reader_interface.h:30
s63_status_file_interface.h
Container to store S-63 STATUS.LST file data.
sdk::s63::IS63StatusReader::LoadStatusFile
virtual SDKResult SDK_CALLTYPE LoadStatusFile(const sdk::base::ISDKStreamSP &status_file_stream, sdk::s63::IS63StatusFileSP &status_file) const =0
Loads appropriate data from the STATUS file and creates an IS63StatusFileSP instance.
sdk::s63::kPathToStatusFileFromMediaRoot
static const wchar_t kPathToStatusFileFromMediaRoot[]
Path to the STATUS.LST file from the Large Media root (from M01X01 folder).
Definition: s63_status_reader_interface.h:36
sdk::s63::kS63StatusFileName
static const wchar_t kS63StatusFileName[]
Reserved name for the STATUS.LST file.
Definition: s63_status_reader_interface.h:28
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk::ISDKProperties
Provides access to members that control the properties.
Definition: properties_interface.h:32
stream_interface.h
Generic data stream interface.
sdk::s63::IS63StatusReader
S-63 STATUS.LST files reader.
Definition: s63_status_reader_interface.h:42
platform.h
Describes the platform constants.
sdk::s63::kPathToStatusFileFromENCDatabaseRoot2
static const wchar_t kPathToStatusFileFromENCDatabaseRoot2[]
Path to the STATUS.LST file from the ENC database root (from ENC_ROOT folder). For large media.
Definition: s63_status_reader_interface.h:33
FWD_DECL_INTERFACE
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.