![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Geodatabase stream. More...
#include <gdb_stream.h>
Inherits ISDKComponent.
Public Member Functions | |
| virtual GDBResult SDK_CALLTYPE | Open ()=0 throw () |
| Opens connected to stream resource. | |
| virtual GDBResult SDK_CALLTYPE | IsOpened ()=0 throw () |
| Tells if stream resource is opened or not. | |
| virtual GDBResult SDK_CALLTYPE | Close ()=0 throw () |
| Closes a stream. | |
| virtual GDBResult SDK_CALLTYPE | Read (SDKUInt8 *buffer, SDKUInt64 buffer_size, bool is_encrypted, bool is_compressed)=0 throw () |
| Reads specified number of bytes to the specified buffer from the current position and unpacks them. | |
| virtual GDBResult SDK_CALLTYPE | Read (SDKUInt64 bytes_to_read, ICryptor *cryptor, sdk::base::ISDKStream *out_stream)=0 throw () |
| Reads specified number of bytes from current position and unpacks them. | |
| virtual GDBResult SDK_CALLTYPE | Read (sdk::base::ISDKStream *out_stream)=0 throw () |
| Reads all stream data and unpacks them. | |
| virtual GDBResult SDK_CALLTYPE | SetPos (SDKUInt64 pos)=0 throw () |
| Sets current position in stream. | |
| virtual GDBResult SDK_CALLTYPE | GetPos (SDKUInt64 &pos)=0 throw () |
| Gets the current position in stream. | |
| virtual GDBResult SDK_CALLTYPE | GetSize (SDKUInt64 &file_size) const =0 throw () |
| Gets the size of the file associated with the stream. | |
| virtual GDBResult SDK_CALLTYPE | GetFlags (SDKUInt8 &flags) const =0 throw () |
| Gets the flags of the stream. | |
| virtual GDBResult SDK_CALLTYPE | GetDescription (ISDKComponentSP &descr) const =0 throw () |
| Gets description of the stream. | |
Geodatabase stream.