class csCBufferLine A line in the CBuffer
| | first_span List of all empty spans on this line. |
| | last_span Pointer to last span in the list of empty spans. |
| | parent Parent C-buffer. |
| | csCBufferLine () Initialize a c-buffer line. |
| | Dump () Dump information about this scanline. |
| | Initialize (int startx, int endx) Initialize this line to the given empty span |
| | InsertSpan (int startx, int endx) Take a full span and insert it into the c-buffer line |
| | IsFull () Return true if this line if full (i.e. no empty spans left). |
| | MakeFull () Make this line full. |
| | SetParent (csCBuffer* par) Set parent. |
| | TestSingle (int x) Test if a given one-element-scan is full or empty (i |
| | TestSpan (int startx, int endx) Take a full span and test if it would have changed this c-buffer line on insertion |
| | ~csCBufferLine () Destruct a c-buffer line and free all used spans |
A line in the CBuffer. Spans are allocated on an as-needed base. But they are not freed. Instead, unused spans are put in the first_unused list (in csCBuffer). The size of this list will always be equal to the maximum number of spans once used on screen.
csCBufferSpan* last_span
csCBuffer* parent
csCBufferLine()
~csCBufferLine()
void SetParent(csCBuffer* par)
void Initialize(int startx, int endx)
bool IsFull()
void MakeFull()
bool TestSpan(int startx, int endx)
bool InsertSpan(int startx, int endx)
bool TestSingle(int x)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de