Classes | |
class | StreamConversionInterface |
struct | ConversionTestSet |
Namespaces | |
maxon | |
maxon::STREAMCONVERSIONFACTORYFLAGS | |
maxon::STREAMCONVERSIONTEST | |
maxon::BASE64_OPTIONS | |
maxon::StreamConversions | |
maxon::UTFTEXT_OPTIONS | |
maxon::UTF8_OPTIONS | |
Typedefs | |
using | StreamConversionFactory = Factory< StreamConversionRef(const DataDictionary &)> |
Enumerations | |
enum class | TEXTENCODING { NONE , UTF8 , UTF16_BIGENDIAN , UTF16_LITTLEENDIAN , UTF32_BIGENDIAN , UTF32_LITTLEENDIAN } |
Functions | |
MAXON_REGISTRY (StreamConversionFactory, StreamConversions, "net.maxon.registry.streamconversions") | |
MAXON_ATTRIBUTE (Bool, ISENCODER, "net.maxon.streamconversion.isencoder") | |
MAXON_ATTRIBUTE (Bool, ISHASHALGORITHM, "net.maxon.streamconversion.ishashalgorithm") | |
MAXON_DATATYPE (ConversionTestSet, "net.maxon.datatype.conversiontestset", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_ATTRIBUTE (SourceLocation, SOURCELOCATION, "net.maxon.streamconversiontest.sourcelocation") | |
MAXON_ATTRIBUTE (Array< ConversionTestSet >, CONVERSIONTESTSET, "net.maxon.streamconversiontest.conversiontestset") | |
MAXON_ATTRIBUTE (Array< UChar >, SRCDATA, "net.maxon.streamconversiontest.srcdata") | |
MAXON_ATTRIBUTE (Array< UChar >, COMPAREDATA, "net.maxon.streamconversiontest.comparedata") | |
MAXON_ATTRIBUTE (Bool, FORBIDSOURCEDUPLICATION, "net.maxon.streamconversiontest.forbidsourceduplication") | |
MAXON_REGISTRY (Factory< BaseArray< DataDictionary >()>, StreamConversionTests, "net.maxon.registry.streamconversiontests") | |
template<typename SRCTYPE , typename DSTTYPE > | |
MAXON_ATTRIBUTE_FORCE_INLINE Result< void > | AddConversionTestSettingT (MAXON_SOURCE_LOCATION_DECLARATION, BaseArray< DataDictionary > &resultArray, const Block< const ConversionTestSet > &set, const Block< const SRCTYPE > &srcData, const Block< const DSTTYPE > &compareData, Bool forbidLargeTest=false) |
template<typename SLOC > | |
Result< void > | AddConversionTestSetting (const SLOC &allocLocation, BaseArray< DataDictionary > &resultArray, const Block< const ConversionTestSet > &set, const Block< const Char > &srcData, const Block< const Char > &compareData, Bool forbidLargeTest=false) |
template<typename SLOC > | |
Result< void > | AddConversionTestSetting (const SLOC &allocLocation, BaseArray< DataDictionary > &resultArray, const Block< const ConversionTestSet > &set, const Block< const Utf32Char > &srcData, const Block< const Char > &compareData, Bool forbidLargeTest=false) |
template<typename SLOC > | |
Result< void > | AddConversionTestSetting (const SLOC &allocLocation, BaseArray< DataDictionary > &resultArray, const Block< const ConversionTestSet > &set, const Block< const Char > &srcData, const Block< const Utf32Char > &compareData, Bool forbidLargeTest=false) |
template<typename SLOC > | |
Result< void > | AddConversionTestSetting (const SLOC &allocLocation, BaseArray< DataDictionary > &resultArray, const Block< const ConversionTestSet > &set, const Block< const Utf32Char > &srcData, const Block< const Utf32Char > &compareData, Bool forbidLargeTest=false) |
template<typename TO , typename FROM > | |
Factory< TO(const DataDictionary &)> & | ConvertStreamConversionRef (FROM &obj) |
MAXON_ATTRIBUTE (Int, MAXMIMELINELENGTH, "net.maxon.streamconversion.base64.maxmimelinelength") | |
MAXON_ATTRIBUTE (Bool, ADD_NEWLINE, "net.maxon.streamconversion.base64.add_newline") | |
MAXON_ATTRIBUTE (Bool, DISABLE_PADDING, "net.maxon.streamconversion.base64.disable_padding") | |
MAXON_DECLARATION (StreamConversionFactory, Base64Encoder, "net.maxon.streamconversion.base64.encoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (StreamConversionFactory, Base64Decoder, "net.maxon.streamconversion.base64.decoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (StreamConversionFactory, Base64UrlEncoder, "net.maxon.streamconversion.base64url.encoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (StreamConversionFactory, Base64UrlDecoder, "net.maxon.streamconversion.base64url.decoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
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") | |
MAXON_ATTRIBUTE (Bool, REPLACEUNKNOWNCHARACTERS, "net.maxon.streamconversion.utf8.replaceunknowncharacters", RESOURCE_DEFAULT(false)) | |
MAXON_DECLARATION (StreamConversionFactory, UtfTextEncoder, "net.maxon.streamconversion.utftext.encoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (StreamConversionFactory, UtfTextDecoder, "net.maxon.streamconversion.utftext.decoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (StreamConversionFactory, HexEncoder, "net.maxon.streamconversion.hex.encoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (StreamConversionFactory, HexDecoder, "net.maxon.streamconversion.hex.decoder", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
MAXON_DECLARATION (Class< StreamConversionRef >, StreamConversionBaseClass, "net.maxon.class.streamconversionbase", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
Variables | |
NONE | |
UTF8 | |
UTF16_BIGENDIAN | |
UTF16_LITTLEENDIAN | |
UTF32_BIGENDIAN | |
UTF32_LITTLEENDIAN | |
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.