 |
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_S63_CELL_PERMITS_READER_WRITER_INTERFACE_H_
11 #define SDK_S63_CELL_PERMITS_READER_WRITER_INTERFACE_H_
18 #include <base/inc/interfaces/crypto/base_cryptor_interface.h>
30 typedef sdk::SDKRefPtr<IS63CellPermitsReaderWriter> S63CellPermitsReaderWriterSP;
31 typedef sdk::SDKRefPtr<IS63CellPermitsReaderWriterUtils> S63CellPermitsReaderWriterUtilsSP;
43 L
"CellPermitsReaderWriterProp_DefaultDataserverID";
46 static const wchar_t kCellPermitsReaderWriterProp_SuppressSSE19Logging[] =
47 L
"CellPermitsReaderWriterProp_SuppressSSE19Logging";
62 const sdk::crypt::CryptoKeySP& crypto_key,
63 const sdk::crypt::BaseCryptorSP& cryptor,
64 sdk::s63::S63CellPermitsStorageSP& storage,
72 const sdk::crypt::CryptoKeySP& crypto_key,
73 const sdk::crypt::BaseCryptorSP& cryptor,
74 sdk::s63::S63CellPermitsStorageSP& storage,
80 const sdk::s63::S63CellPermitsStorageSP& storage,
81 const sdk::crypt::CryptoKeySP& crypto_key,
82 const sdk::crypt::BaseCryptorSP& cryptor,
94 const sdk::s63::S63CellPermitsStorageSP& storage,
114 const HW_ID& hw_id, SDKString& permits_file_path)
const throw() = 0;
131 SDK_DECLARE_IID(IS63CellPermitsReaderWriterUtils)
136 #endif // SDK_S63_CELL_PERMITS_READER_WRITER_INTERFACE_H_
A list of SDK error/return results.
static const wchar_t kCellPermitsReaderWriterProp_DefaultDataserverID[]
Available Cell permits reader writer properties.
Definition: s63_cell_permits_reader_writer_interface.h:42
Interfaces wrapper with reference count control.
Generic data resource interfaces.
Set of interfaces for S-63 cell permits description.
S63CellPermitsFileFormat
Available S-63 cell permit file formats.
Definition: s63_cell_permits_interface.h:88
Interface for reading/writing S63 cell permit files.
Definition: s63_cell_permits_reader_writer_interface.h:51
virtual SDKResult SDK_CALLTYPE LoadCellPermits(const sdk::base::SDKStreamSP &stream, const sdk::crypt::CryptoKeySP &crypto_key, const sdk::crypt::BaseCryptorSP &cryptor, sdk::s63::S63CellPermitsStorageSP &storage, SDKTime &permits_date, S63CellPermitsFileFormat &file_format) const =0
Loads the cell permits list from a specified stream and creates an S63CellPermitsStorageSP instance.
virtual SDKResult SDK_CALLTYPE SaveOriginalCellPermits(const sdk::s63::S63CellPermitsStorageSP &storage, const sdk::base::SDKStreamSP &stream) const =0
Saves the cell permits data to a specified stream without decoding/encoding them, just stores the ori...
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Generic data stream interface.
A smart pointer class for managing SDK components interface pointers.
Definition: sdk_ref_ptr.h:23
Common base SDK interfaces.
Base cryptographic key interface.
virtual SDKResult SDK_CALLTYPE SaveCellPermits(const sdk::s63::S63CellPermitsStorageSP &storage, const sdk::crypt::CryptoKeySP &crypto_key, const sdk::crypt::BaseCryptorSP &cryptor, const SDKTime &permits_date_time, const S63CellPermitsFileFormat &file_format, const sdk::base::SDKStreamSP &stream) const =0
Saves the cell permits data to a specified stream, encodes them using the new crypto key.
Provides access to members that control the named properties.
Definition: named_properties_interface.h:29
An interface, which allows to perform conversions on HW_ID, M_ID, M_KEY i.e. allows to get/parse the ...
static const wchar_t kPermitTXTFileName[]
Reserved name for a file with permits in S-63.
Definition: s63_cell_permits_reader_writer_interface.h:35
Utilities interface of S-63 cell permits file reader/writer.
Definition: s63_cell_permits_reader_writer_interface.h:109
virtual SDKResult SDK_CALLTYPE LoadCellPermitsLazy(const sdk::base::SDKStreamSP &stream, const sdk::crypt::CryptoKeySP &crypto_key, const sdk::crypt::BaseCryptorSP &cryptor, sdk::s63::S63CellPermitsStorageSP &storage, SDKTime &permits_date, S63CellPermitsFileFormat &file_format) const =0
Lazy-loads the cell permits list from a specified stream and creates an S63CellPermitsStorageSP insta...
SDK_END_NAMESPACE typedef SDKInt64 SDKTime
Milliseconds from Unix epoch.
Definition: base_types.h:56
virtual SDKResult FindPermitsInStorage(const base::SDKResourceStorageSP &storage, const HW_ID &hw_id, base::SDKResourceSP &permits_resource) const =0
Finds proper permits in a specified storage using a specified HW_ID.
Object generic named properties interface.
virtual SDKResult FindPermitsFile(const SDKString &folder_path, const HW_ID &hw_id, SDKString &permits_file_path) const =0
Finds a proper permits file in a filesystem folder using a known HW_ID.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.