Panda3D
Classes | Public Member Functions | Friends

RangeDescription Class Reference

This describes a sparse range of Unicode character codes for conversion that may be specified on the command line. More...

#include "rangeDescription.h"

List of all members.

Classes

class  Range

Public Member Functions

void add_range (int from_code, int to_code)
void add_singleton (int code)
bool is_empty () const
 Returns true if there are no codes described in the range.
void output (ostream &out) const
bool parse_parameter (const string &param)
 Parses a string of comma- and hyphen-delimited unicode values, in decimal and/or hex, including possible bracket-delimited ASCII characters, as may have been passed on a command line.

Friends

class RangeIterator

Detailed Description

This describes a sparse range of Unicode character codes for conversion that may be specified on the command line.

Definition at line 27 of file rangeDescription.h.


Member Function Documentation

bool RangeDescription::is_empty ( ) const [inline]

Returns true if there are no codes described in the range.

Definition at line 43 of file rangeDescription.I.

bool RangeDescription::parse_parameter ( const string &  param)

Parses a string of comma- and hyphen-delimited unicode values, in decimal and/or hex, including possible bracket-delimited ASCII characters, as may have been passed on a command line.

Returns true if the parameter is parsed correctly, false otherwise.

Definition at line 38 of file rangeDescription.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations