ASCII< CharType > Struct Template Reference#
ASCII< CharType > Struct Template Reference
#include <encodings.h>
Public Types | |
| enum | { supportUnicode = 0 } |
| typedef CharType | Ch |
Static Public Member Functions | |
| template<typename OutputStream> | |
| static void | Encode (OutputStream &os, unsigned codepoint) |
| template<typename OutputStream> | |
| static void | EncodeUnsafe (OutputStream &os, unsigned codepoint) |
| template<typename InputStream> | |
| static bool | Decode (InputStream &is, unsigned *codepoint) |
| template<typename InputStream, typename OutputStream> | |
| static bool | Validate (InputStream &is, OutputStream &os) |
| template<typename InputByteStream> | |
| static CharType | TakeBOM (InputByteStream &is) |
| template<typename InputByteStream> | |
| static Ch | Take (InputByteStream &is) |
| template<typename OutputByteStream> | |
| static void | PutBOM (OutputByteStream &os) |
| template<typename OutputByteStream> | |
| static void | Put (OutputByteStream &os, Ch c) |
Detailed Description
template<typename CharType = char>
struct ASCII< CharType >
struct ASCII< CharType >
ASCII encoding.
http://en.wikipedia.org/wiki/ASCII
- Template Parameters
-
CharType Code unit for storing 7-bit ASCII data. Default is char.
- Note
- implements Encoding concept
Member Typedef Documentation
◆ Ch
template<typename CharType = char>
| typedef CharType ASCII< CharType >::Ch |
Member Enumeration Documentation
◆ anonymous enum
Member Function Documentation
◆ Decode()
template<typename CharType = char>
template<typename InputStream>
|
inlinestatic |
◆ Encode()
template<typename CharType = char>
template<typename OutputStream>
|
inlinestatic |
◆ EncodeUnsafe()
template<typename CharType = char>
template<typename OutputStream>
|
inlinestatic |
◆ Put()
template<typename CharType = char>
template<typename OutputByteStream>
|
inlinestatic |
◆ PutBOM()
template<typename CharType = char>
template<typename OutputByteStream>
|
inlinestatic |
◆ Take()
template<typename CharType = char>
template<typename InputByteStream>
|
inlinestatic |
◆ TakeBOM()
template<typename CharType = char>
template<typename InputByteStream>
|
inlinestatic |
◆ Validate()
template<typename CharType = char>
template<typename InputStream, typename OutputStream>
|
inlinestatic |
The documentation for this struct was generated from the following file: