Definition at line 1546 of file pugixml.cc.
◆ value_type
◆ any()
Definition at line 1568 of file pugixml.cc.
1569 {
1570 return (ch < 0x10000) ?
low(result, ch) :
high(result, ch);
1571 }
static value_type high(value_type result, uint32_t ch)
static value_type low(value_type result, uint32_t ch)
◆ high()
Definition at line 1557 of file pugixml.cc.
1558 {
1559 uint32_t msh = static_cast<uint32_t>(ch - 0x10000) >> 10;
1560 uint32_t lsh = static_cast<uint32_t>(ch - 0x10000) & 0x3ff;
1561
1562 result[0] = static_cast<uint16_t>(0xD800 + msh);
1563 result[1] = static_cast<uint16_t>(0xDC00 + lsh);
1564
1565 return result + 2;
1566 }
Referenced by any().
◆ low()
Definition at line 1550 of file pugixml.cc.
1551 {
1552 *result = static_cast<uint16_t>(ch);
1553
1554 return result + 1;
1555 }
Referenced by any().
The documentation for this struct was generated from the following file: