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 Methods

const StyledRegionstyled ()
 Transforms this region's reference into styled region define and returns new pointer.

const TextRegiontexted ()
 Transforms this region's reference into text region define and returns new pointer.

LineRegion & operator= (const LineRegion &lr)
 Copy operator.

 LineRegion::LineRegion ()
 Clears all fields.

 LineRegion::LineRegion (const LineRegion &lr)
 Copy constructor.


Data Fields

const Regionregion
 Reference to HRC region, which identifies type of this range.

RegionDefinerdef
 Reference to RegionDefine class (it's subclass).

int start
 Start and End position of region in line.

int end
 Start and End position of region in line.

const Schemescheme
 Reference to region's HRC scheme.

LineRegion * next
 Previous and next links to ranged region in this line.

LineRegion * prev
 Previous and next links to ranged region in this line.

bool special
 Special meaning marker.


Member Function Documentation

LineRegion::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.

LineRegion * LineRegion::prev
 

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-2005 Cail Lomecb.
Generated at Fri Apr 29 02:50:05 2005 by doxygen 1.3-rc2.