Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

# LineRegion Class Reference
[Handlers]

## Detailed Description

Defines region position properties.

These properties are created dynamically during text parsing and stores region's position on line and mapping of region into the RegionDefine instance.

## Public Member Functions

const StyledRegion * | styled ()
| Transforms this region's reference into styled region define and returns new pointer.
const TextRegion * | texted ()
| Transforms this region's reference into text region define and returns new pointer.
LineRegion & | operator= (const LineRegion &lr)
| Copy operator.
| LineRegion ()
| Clears all fields.
| LineRegion (const LineRegion &lr)
| Copy constructor.

## Data Fields

const Region * | region
| Reference to HRC region, which identifies type of this range.
RegionDefine * | rdef
| Reference to RegionDefine class (it's subclass).
int | start
| Start and End position of region in line.
int | end
const Scheme * | scheme
| Reference to region's HRC scheme.
LineRegion * | next
| Previous and next links to ranged region in this line.
LineRegion * | prev
bool | special
| Special meaning marker.

## Constructor & Destructor Documentation

LineRegion::LineRegion | ( | const LineRegion & | lr | ) | `[inline]`

| Copy constructor. Do not copies next and prev pointers.

## Field Documentation

RegionDefine* LineRegion::rdef

| Reference to RegionDefine class (it's subclass). This reference can contain concrete information about region extended properties. Can be null, if no region mapping were defined.

LineRegion* LineRegion::next

| Previous and next links to ranged region in this line. First region of each line contains reference to it's last region in prev field. If `next` field is null, this is a last region in line.

bool LineRegion::special

| Special meaning marker. Generally this is used to inform application about paired regions, which are invisible during ordinary text drawing.

Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.
Generated at Fri Nov 24 17:13:13 2006 by doxygen 1.4.6.