UcdRow class

Represents a row in the Unicode Character Database (UCD).

Constructors

UcdRow()

Properties

comment String
The comment for this row if present
getter/setter pair
error String
If there is an error parsing the line, this field will have an error message
getter/setter pair
fields List<String>
All the fields in the row split by the semicolon
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keepRanges bool
Whether to keep the ranges. This is used as a flag when reading range values that extends multiple lines.
getter/setter pair
line int
The line number in the UCD file, starting from 1 and counting all lines including comments and empty lines.
getter/setter pair
rangeEnd int
The end of the range. If the range is a single value, this will be the same as rangeStart
getter/setter pair
rangeStart int
The start of the range
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBool(int i) bool
Returns the boolean value of the field at index i. If the field is not a valid boolean value will return false.
getField(int i) String
Returns the field at index i if it exists, otherwise returns an empty string.
getFloat(int i) double
Returns the float value of the field at index i. If the field is not a valid float value will return -1.
getInt(int i) int
Returns the integer value of the field at index i. If the field is not a valid integer value will return -1.
getRange(int index) → void
Parses the range values from the field at index index. When the range is multiline and is reading the first value, rangeEnd will be -1 and keepRanges will be true.
getRune(int index) int
Returns the rune value of the field at index index. If the field is not a valid rune value will return -1.
getRunes(int index) List<int>
Returns a list of rune values from the field at index index
getString(int i) String
Returns the string value of the field at index i.
getUint(int i) int
Returns the unsigned integer value of the field at index i. If the field is not a valid unsigned integer value will return -1.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited