jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | List of all members
jmespath::parser::EncodeSurrogatePairAction Class Reference

The EncodeSurrogatePairAction class is a functor for encoding surrogate pair characters in UTF-32. More...

#include <encodesurrogatepairaction.h>

Public Types

using result_type = UnicodeChar
 The action's result type. More...
 

Public Member Functions

result_type operator() (UnicodeChar const &highSurrogate, UnicodeChar const &lowSurrogate) const
 Encodes a surrogate pair character. More...
 

Detailed Description

The EncodeSurrogatePairAction class is a functor for encoding surrogate pair characters in UTF-32.

Member Typedef Documentation

The action's result type.

Member Function Documentation

result_type jmespath::parser::EncodeSurrogatePairAction::operator() ( UnicodeChar const &  highSurrogate,
UnicodeChar const &  lowSurrogate 
) const
inline

Encodes a surrogate pair character.

Parameters
[in]highSurrogateHigh surrogate
[in]lowSurrogateLow surrogate
Returns
The result of highSurrogate and lowSurrogate combined into a single codepoint

The documentation for this class was generated from the following file: