PLCnext API Documentation 25.0.2.69
|
Namespace for classes related to string encoding More...
Classes | |
class | Utf16 |
This static class provides encoding string operations from UTF8 to UTF16 or vice versa. More... | |
Enumerations | |
enum class | EncodingResult { None = 0 , Success = 1 , Partial = 2 , InvalidChar = 3 , Error = 4 , NoConversion = 5 , InvalidArgument = 6 , OutOfMemory = 7 , Unspecified = 512 } |
This enum defines encoding results for operations of class Utf16. More... | |
Functions | |
ARP_CXX_SYMBOL_EXPORT std::ostream & | operator<< (std::ostream &os, EncodingResult value) |
Global output stream operator of enum EncodingResult for logging. | |
ARP_CXX_SYMBOL_EXPORT std::istream & | operator>> (std::istream &is, EncodingResult &value) |
Global input stream operator of enum EncodingResult for parsing. | |
Namespace for classes related to string encoding
|
strong |
This enum defines encoding results for operations of class Utf16.
Enumerator | |
---|---|
None | Initial value. |
Success | Encoding was successful. |
Partial | Not all characters were converted, e.g. if the buffer was to small. |
InvalidChar | An invalid character encountered. |
Error | Any error occurs during encoding/decoding. |
NoConversion | No conversion required, input and output types are the same or empty. |
InvalidArgument | The input argument of the encoding operation is invalid. |
OutOfMemory | Not enough memory available. |
Unspecified | Unspecified conversion error. |