 |
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.
11 #ifndef SDK_S63_PRODUCTS_READER_WRITER_INTERFACE_H_
12 #define SDK_S63_PRODUCTS_READER_WRITER_INTERFACE_H_
16 #include <base/inc/sdk_component_base.h>
18 #include <datalayer/inc/s63_base/s63_products_file_interface.h>
31 L
"../INFO/PRODUCTS.TXT";
34 L
"../../INFO/PRODUCTS.TXT";
43 L
"INFO/AIO/INFO/PRODUCTS.TXT";
63 const sdk::base::ISDKStreamSP& products_file_stream,
66 sdk::s63::IS63ProductsFileSP& products_file)
const throw() = 0;
76 const sdk::s63::IS63ProductsFileSP& products_file,
79 const sdk::base::ISDKStreamSP& stream)
const throw() = 0;
90 #endif // SDK_S63_PRODUCTS_READER_WRITER_INTERFACE_H_
static const wchar_t kPathToProductsFromENCDatabaseRoot[]
Path to the PRODUCTS.TXT file from the ENC database root (from ENC_ROOT folder).
Definition: s63_products_reader_writer_interface.h:30
ProductsFileContentType
Known content types of the PRODUCTS.TXT file.
Definition: s63_products_file_interface.h:66
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
S-63 PRODUCTS.TXT files reader/writer.
Definition: s63_products_reader_writer_interface.h:57
Provides access to members that control the properties.
Definition: properties_interface.h:32
Generic data stream interface.
static const wchar_t kPathToProductsFromMediaENCDatabaseRoot[]
Path to the PRODUCTS.TXT file from the ENC Media root (from M01X01 folder).
Definition: s63_products_reader_writer_interface.h:36
static const wchar_t kPathToAIOProductsFromNavStickRoot[]
Path to the AIO database PRODUCTS.TXT file from the NavStick root.
Definition: s63_products_reader_writer_interface.h:42
@ kProductsReaderWriterProp_DontUseRecordStringFieldValueWhileSaving
Definition: s63_products_reader_writer_interface.h:52
virtual SDKResult SDK_CALLTYPE LoadProductsFile(const sdk::base::ISDKStreamSP &products_file_stream, SDKTime &products_file_date, ProductsFileVersion &file_version, ProductsFileContentType &content_type, sdk::s63::IS63ProductsFileSP &products_file) const =0
Loads appropriate data from the PRODUCTS.TXT file and creates an IS63ProductsFileSP instance.
virtual SDKResult SDK_CALLTYPE SaveProductsFile(const sdk::s63::IS63ProductsFileSP &products_file, const SDKTime &products_file_date, const ProductsFileVersion &file_version, const ProductsFileContentType &content_type, const sdk::base::ISDKStreamSP &stream) const =0
Saves content of the PRODUCTS.TXT file into an appropriate stream. It's allowed to pass Unknown value...
static const wchar_t kPathToENCProductsFromNavStickRoot[]
Path to the ENC database PRODUCTS.TXT file from the NavStick root.
Definition: s63_products_reader_writer_interface.h:39
SDK_END_NAMESPACE typedef SDKInt64 SDKTime
Milliseconds from Unix epoch.
Definition: base_types.h:56
static const wchar_t kPathToProductsFromENCDatabaseRoot2[]
Path to the PRODUCTS.TXT file from the ENC database root (from ENC_ROOT folder). Large media.
Definition: s63_products_reader_writer_interface.h:33
ProductsFileVersion
Known versions of the PRODUCTS.TXT file.
Definition: s63_products_file_interface.h:57
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
ProductsReaderWriterProps
Definition: s63_products_reader_writer_interface.h:47
static const wchar_t kS63ProductsFileName[]
Reserved name for the Products file.
Definition: s63_products_reader_writer_interface.h:28