 |
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.
9 #ifndef SDK_GDB_STREAM_H_
10 #define SDK_GDB_STREAM_H_
16 #include <datalayer/inc/senc/cryptor_interface.h>
30 virtual GDBResult SDK_CALLTYPE
Open()
throw() = 0;
32 virtual GDBResult SDK_CALLTYPE
IsOpened()
throw() = 0;
34 virtual GDBResult SDK_CALLTYPE
Close()
throw() = 0;
38 virtual GDBResult SDK_CALLTYPE
Read(SDKUInt8* buffer, SDKUInt64 buffer_size,
39 bool is_encrypted,
bool is_compressed)
throw() = 0;
43 virtual GDBResult SDK_CALLTYPE
Read(SDKUInt64 bytes_to_read,
48 virtual GDBResult SDK_CALLTYPE
Read(
52 virtual GDBResult SDK_CALLTYPE
SetPos(SDKUInt64 pos)
throw() = 0;
55 virtual GDBResult SDK_CALLTYPE
GetPos(SDKUInt64& pos)
throw() = 0;
58 virtual GDBResult SDK_CALLTYPE
GetSize(
59 SDKUInt64& file_size)
const throw() = 0;
62 virtual GDBResult SDK_CALLTYPE
GetFlags(SDKUInt8& flags)
const throw() = 0;
66 ISDKComponentSP& descr)
const throw() = 0;
76 #endif // SDK_GDB_STREAM_H_
virtual GDBResult SDK_CALLTYPE GetPos(SDKUInt64 &pos)=0
Gets the current position in stream.
virtual GDBResult SDK_CALLTYPE IsOpened()=0
Tells if stream resource is opened or not.
virtual GDBResult SDK_CALLTYPE GetSize(SDKUInt64 &file_size) const =0
Gets the size of the file associated with the stream.
Interfaces wrapper with reference count control.
Generic data resource interfaces.
virtual GDBResult SDK_CALLTYPE Open()=0
Opens connected to stream resource.
Generic data stream interface.
Definition: stream_interface.h:32
virtual GDBResult SDK_CALLTYPE GetFlags(SDKUInt8 &flags) const =0
Gets the flags of the stream.
virtual GDBResult SDK_CALLTYPE Close()=0
Closes a stream.
virtual GDBResult SDK_CALLTYPE SetPos(SDKUInt64 pos)=0
Sets current position in stream.
Geodatabase stream.
Definition: gdb_stream.h:27
Geo database constants and structures.
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
virtual GDBResult SDK_CALLTYPE Read(SDKUInt8 *buffer, SDKUInt64 buffer_size, bool is_encrypted, bool is_compressed)=0
Reads specified number of bytes to the specified buffer from the current position and unpacks them.
virtual GDBResult SDK_CALLTYPE GetDescription(ISDKComponentSP &descr) const =0
Gets description of the stream.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.