21 INLINE
void RangeDescription::
22 add_singleton(
int code) {
23 _range_list.push_back(Range(code));
31 INLINE
void RangeDescription::
32 add_range(
int from_code,
int to_code) {
33 _range_list.push_back(Range(from_code, to_code));
44 return _range_list.empty();
52 INLINE RangeDescription::Range::
64 INLINE RangeDescription::Range::
65 Range(
int from_code,
int to_code) :
66 _from_code(from_code),
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 ...