17 INLINE
void RangeDescription::
18 add_singleton(
int code) {
19 _range_list.push_back(Range(code));
25 INLINE
void RangeDescription::
26 add_range(
int from_code,
int to_code) {
27 _range_list.push_back(Range(from_code, to_code));
35 return _range_list.empty();
41 INLINE RangeDescription::Range::
51 INLINE RangeDescription::Range::
52 Range(
int from_code,
int to_code) :
53 _from_code(from_code),
58 INLINE std::ostream &operator << (std::ostream &out,
const RangeDescription &range) {
bool is_empty() const
Returns true if there are no codes described in the range.
This describes a sparse range of Unicode character codes for conversion that may be specified on the ...