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.
Constant | Value | Description |
FastInfosetStreamReader::AlgorithmNotUse | -1 | do not use encoding |
FastInfosetStreamReader::AlgorithmHexadecimal | 0 | interpret the string as a hexadecimal data |
FastInfosetStreamReader::AlgorithmBase64 | 1 | interpret the string as a base64 data |
FastInfosetStreamReader::AlgorithmShort | 2 | interpret the string as a short numeric value |
FastInfosetStreamReader::AlgorithmInt | 3 | interpret the string as an integer numeric value |
FastInfosetStreamReader::AlgorithmLong | 4 | interpret the string as a long numeric value |
FastInfosetStreamReader::AlgorithmBoolean | 5 | interpret the string as a boolean value |
FastInfosetStreamReader::AlgorithmFloat | 6 | interpret the string as a float numeric value |
FastInfosetStreamReader::AlgorithmDouble | 7 | interpret the string as a double numeric value |
FastInfosetStreamReader::AlgorithmUUID | 8 | interpret the string as a GUID |
FastInfosetStreamReader::AlgorithmCDATA | 9 | do not used directly! |
enum ErrorCode
This enum describes errors of parsing or serializing.
Constant | Value | Description |
FastInfosetStreamReader::FSINoError | 0 | no error |
FastInfosetStreamReader::FSIMiscError | 1 | custom error |
FastInfosetStreamReader::FSIIllegalArgumentError | 2 | wrong argument error |
FastInfosetStreamReader::FSINotImplementedError | 3 | not implemented error |
FastInfosetStreamReader::FSINotSupportedError | 4 | not supported error |
FastInfosetStreamReader::FSIIllegalStateError | 5 | improper use of reader/writer |
FastInfosetStreamReader::FSIEncodingAlgorithmError | 6 | an error in the encoding mechanism |