FastInfoset Namespace

Header: #include <FastInfoset>

Types

enum EncodingAlgorithmId { AlgorithmNotUse, AlgorithmHexadecimal, AlgorithmBase64, AlgorithmShort, AlgorithmInt, …, AlgorithmCDATA }
enum ErrorCode { FSINoError, FSIMiscError, FSIIllegalArgumentError, FSINotImplementedError, FSINotSupportedError, …, FSIEncodingAlgorithmError }

Detailed Description

Contains the base types that are used by FastInfoset stream reader and writer.

Type Documentation

enum EncodingAlgorithmId

This enum describes encoding algorithms which can be used for encoding text data.

ConstantValueDescription
FastInfosetStreamReader::AlgorithmNotUse-1do not use encoding
FastInfosetStreamReader::AlgorithmHexadecimal0interpret the string as a hexadecimal data
FastInfosetStreamReader::AlgorithmBase641interpret the string as a base64 data
FastInfosetStreamReader::AlgorithmShort2interpret the string as a short numeric value
FastInfosetStreamReader::AlgorithmInt3interpret the string as an integer numeric value
FastInfosetStreamReader::AlgorithmLong4interpret the string as a long numeric value
FastInfosetStreamReader::AlgorithmBoolean5interpret the string as a boolean value
FastInfosetStreamReader::AlgorithmFloat6interpret the string as a float numeric value
FastInfosetStreamReader::AlgorithmDouble7interpret the string as a double numeric value
FastInfosetStreamReader::AlgorithmUUID8interpret the string as a GUID
FastInfosetStreamReader::AlgorithmCDATA9do not used directly!

enum ErrorCode

This enum describes errors of parsing or serializing.

ConstantValueDescription
FastInfosetStreamReader::FSINoError0no error
FastInfosetStreamReader::FSIMiscError1custom error
FastInfosetStreamReader::FSIIllegalArgumentError2wrong argument error
FastInfosetStreamReader::FSINotImplementedError3not implemented error
FastInfosetStreamReader::FSINotSupportedError4not supported error
FastInfosetStreamReader::FSIIllegalStateError5improper use of reader/writer
FastInfosetStreamReader::FSIEncodingAlgorithmError6an error in the encoding mechanism