maxon::UTFTEXT_OPTIONS Namespace Reference

Detailed Description

Options for UTF text encoder.

Enumerations

enum  TEXTENCODING {
  NONE,
  UTF8,
  UTF16_BIGENDIAN,
  UTF16_LITTLEENDIAN,
  UTF32_BIGENDIAN,
  UTF32_LITTLEENDIAN
}
 

Functions

enum maxon::UTFTEXT_OPTIONS::TEXTENCODING MAXON_ENUM_LIST (TEXTENCODING)
 
 MAXON_ATTRIBUTE (TEXTENCODING, ENCODING, "net.maxon.streamconversion.utftext.encoding")
 
 MAXON_ATTRIBUTE (TEXTENCODING, DEFAULT_DECODING, "net.maxon.streamconversion.utftext.default_decoding")
 
 MAXON_ATTRIBUTE (Bool, DONTWRITEHEADER, "net.maxon.streamconversion.utftext.dontwriteheader")
 

Enumeration Type Documentation

◆ TEXTENCODING

enum TEXTENCODING
strong
Enumerator
NONE 

No encoding takes place. The values are just extended or truncated.

UTF8 

UTF-8 encoding.

UTF16_BIGENDIAN 

UTF-16 encoding, Big Endian format.

UTF16_LITTLEENDIAN 

UTF-16 encoding, Little Endian format.

UTF32_BIGENDIAN 

UTF-32 encoding, Big Endian format.

UTF32_LITTLEENDIAN 

UTF-32 encoding, Little Endian format.

Function Documentation

◆ MAXON_ENUM_LIST()

enum maxon::UTFTEXT_OPTIONS::TEXTENCODING maxon::UTFTEXT_OPTIONS::MAXON_ENUM_LIST ( TEXTENCODING  )

◆ MAXON_ATTRIBUTE() [1/3]

maxon::UTFTEXT_OPTIONS::MAXON_ATTRIBUTE ( TEXTENCODING  ,
ENCODING  ,
"net.maxon.streamconversion.utftext.encoding"   
)

Encoding that will be used for the UTF text encoder.

◆ MAXON_ATTRIBUTE() [2/3]

maxon::UTFTEXT_OPTIONS::MAXON_ATTRIBUTE ( TEXTENCODING  ,
DEFAULT_DECODING  ,
"net.maxon.streamconversion.utftext.default_decoding"   
)

Encoding that will be used for the UTF text decoder if no Byte Order Mark (BOM) is detected. Default is TEXTENCODING::UTF8.

◆ MAXON_ATTRIBUTE() [3/3]

maxon::UTFTEXT_OPTIONS::MAXON_ATTRIBUTE ( Bool  ,
DONTWRITEHEADER  ,
"net.maxon.streamconversion.utftext.dontwriteheader"   
)

suppresses writing the utf8 header