NCBI C++ ToolKit
Classes | Namespaces | Macros | Enumerations | Functions
encodings.h File Reference
#include "rapidjson.h"
+ Include dependency graph for encodings.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  rapidjson::UTF8< CharType >
 UTF-8 encoding. More...
 
struct  rapidjson::UTF16< CharType >
 UTF-16 encoding. More...
 
struct  rapidjson::UTF16LE< CharType >
 UTF-16 little endian encoding. More...
 
struct  rapidjson::UTF16BE< CharType >
 UTF-16 big endian encoding. More...
 
struct  rapidjson::UTF32< CharType >
 UTF-32 encoding. More...
 
struct  rapidjson::UTF32LE< CharType >
 UTF-32 little endian enocoding. More...
 
struct  rapidjson::UTF32BE< CharType >
 UTF-32 big endian encoding. More...
 
struct  rapidjson::ASCII< CharType >
 ASCII encoding. More...
 
struct  rapidjson::AutoUTF< CharType >
 Dynamically select encoding according to stream's runtime-specified UTF encoding type. More...
 
struct  rapidjson::Transcoder< SourceEncoding, TargetEncoding >
 Encoding conversion. More...
 
struct  rapidjson::Transcoder< Encoding, Encoding >
 Specialization of Transcoder with same source and target encoding. More...
 

Namespaces

 rapidjson
 main RapidJSON namespace
 

Macros

#define COPY()   c = is.Take(); *codepoint = (*codepoint << 6) | (static_cast<unsigned char>(c) & 0x3Fu)
 
#define TRANS(mask)   result &= ((GetRange(static_cast<unsigned char>(c)) & mask) != 0)
 
#define TAIL()   COPY(); TRANS(0x70)
 
#define COPY()   os.Put(c = is.Take())
 
#define TRANS(mask)   result &= ((GetRange(static_cast<unsigned char>(c)) & mask) != 0)
 
#define TAIL()   COPY(); TRANS(0x70)
 
#define RAPIDJSON_ENCODINGS_FUNC(x)   UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UTF32BE<Ch>::x
 

Enumerations

enum  rapidjson::UTFType {
  rapidjson::kUTF8 = 0 , rapidjson::kUTF16LE = 1 , rapidjson::kUTF16BE = 2 , rapidjson::kUTF32LE = 3 ,
  rapidjson::kUTF32BE = 4
}
 Runtime-specified UTF encoding type of a stream. More...
 

Functions

template<typename Stream >
void rapidjson::PutUnsafe (Stream &stream, typename Stream::Ch c)
 Write character to a stream, presuming buffer is reserved. More...
 

Macro Definition Documentation

◆ COPY [1/2]

#define COPY ( )    c = is.Take(); *codepoint = (*codepoint << 6) | (static_cast<unsigned char>(c) & 0x3Fu)

◆ COPY [2/2]

#define COPY ( )    os.Put(c = is.Take())

◆ RAPIDJSON_ENCODINGS_FUNC

#define RAPIDJSON_ENCODINGS_FUNC (   x)    UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UTF32BE<Ch>::x

Definition at line 620 of file encodings.h.

◆ TAIL [1/2]

#define TAIL ( )    COPY(); TRANS(0x70)

◆ TAIL [2/2]

#define TAIL ( )    COPY(); TRANS(0x70)

◆ TRANS [1/2]

#define TRANS (   mask)    result &= ((GetRange(static_cast<unsigned char>(c)) & mask) != 0)

◆ TRANS [2/2]

#define TRANS (   mask)    result &= ((GetRange(static_cast<unsigned char>(c)) & mask) != 0)
Modified on Tue May 07 08:13:34 2024 by modify_doxy.py rev. 669887