edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::TextLineDataList Class Reference

the line data items More...

#include <textlinedata.h>

+ Collaboration diagram for edbee::TextLineDataList:

Public Member Functions

 TextLineDataList ()
 construct the text line data item More...
 
virtual ~TextLineDataList ()
 
virtual void destroy (TextLineDataManager *manager)
 destroys the data items More...
 
void give (TextLineDataManager *manager, int field, TextLineData *dataItem)
 this method gives a given dat item to the given field position More...
 
TextLineDatatake (TextLineDataManager *manager, int field)
 This method returns the given data item and transfers the ownership. The item in the list is set to 0. More...
 
TextLineDataat (TextLineDataManager *manager, int field)
 This method returns the given data item /. More...
 
void realloc (TextLineDataManager *manager, int oldFieldPerLine, int newFieldsPerLine)
 This method reallocates the number of fields. More...
 

Detailed Description

the line data items

Constructor & Destructor Documentation

◆ TextLineDataList()

edbee::TextLineDataList::TextLineDataList ( )

construct the text line data item

◆ ~TextLineDataList()

edbee::TextLineDataList::~TextLineDataList ( )
virtual

Member Function Documentation

◆ at()

TextLineData * edbee::TextLineDataList::at ( TextLineDataManager manager,
int  field 
)

This method returns the given data item /.

Parameters
managerthe manager to use
fieldthe field index to retrieve
Returns
the TextLineData item in the given field or 0

◆ destroy()

void edbee::TextLineDataList::destroy ( TextLineDataManager manager)
virtual

destroys the data items

◆ give()

void edbee::TextLineDataList::give ( TextLineDataManager manager,
int  field,
TextLineData dataItem 
)

this method gives a given dat item to the given field position

◆ realloc()

void edbee::TextLineDataList::realloc ( TextLineDataManager manager,
int  oldFieldPerLine,
int  newFieldsPerLine 
)

This method reallocates the number of fields.

◆ take()

TextLineData * edbee::TextLineDataList::take ( TextLineDataManager manager,
int  field 
)

This method returns the given data item and transfers the ownership. The item in the list is set to 0.

Parameters
managerthe manager to use
fieldthe field index to retrieve
Returns
the TextLineData item in the given field or 0

The documentation for this class was generated from the following files: