14 #ifndef RANGEDESCRIPTION_H 15 #define RANGEDESCRIPTION_H 29 INLINE
void add_singleton(
int code);
30 INLINE
void add_range(
int from_code,
int to_code);
33 void output(std::ostream &out)
const;
36 bool parse_word(
const std::string &word);
37 bool parse_code(
const std::string &word,
int &code);
38 bool parse_bracket(
const std::string &str);
43 INLINE Range(
int code);
44 INLINE Range(
int from_code,
int to_code);
56 INLINE std::ostream &operator << (std::ostream &out,
const RangeDescription &range);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool is_empty() const
Returns true if there are no codes described in the range.
bool parse_parameter(const std::string ¶m)
Parses a string of comma- and hyphen-delimited unicode values, in decimal and/or hex,...
Walks through all the Unicode characters described by a RangeDescription class.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This describes a sparse range of Unicode character codes for conversion that may be specified on the ...