CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Protected Attributes | List of all members
CartoType::TDataStream Class Reference

#include <cartotype_stream.h>

Inheritance diagram for CartoType::TDataStream:
CartoType::TDataInputStream CartoType::TDataOutputStream

Public Member Functions

TStreamEncoding Encoding () const
void SetEncoding (TStreamEncoding aEncoding)
TStreamEndianness Endianness () const
void SetEndianness (TStreamEndianness aEndianness)

Protected Attributes

TStreamEncoding iEncoding
TStreamEndianness iEndianness

Detailed Description

The data stream base class, providing nothing but the ability to set and get endianness and string encoding.

Member Function Documentation

◆ Encoding()

TStreamEncoding CartoType::TDataStream::Encoding ( ) const

Returns the encoding used for streams.

◆ Endianness()

TStreamEndianness CartoType::TDataStream::Endianness ( ) const

Returns the endianness used for streams.

◆ SetEncoding()

void CartoType::TDataStream::SetEncoding ( TStreamEncoding  aEncoding)

Sets the encoding used for streams.

◆ SetEndianness()

void CartoType::TDataStream::SetEndianness ( TStreamEndianness  aEndianness)

Sets the endianness used for streams.

Member Data Documentation

◆ iEncoding

TStreamEncoding CartoType::TDataStream::iEncoding

The encoding: UTF-16 or UTF-8.

◆ iEndianness

TStreamEndianness CartoType::TDataStream::iEndianness

The endianness: big-endian or little-endian.

The documentation for this class was generated from the following file: