#include <TLista.h>
Collaboration diagram for TLista:
Public Member Functions | |
TLista () | |
Costructor, initializes the head (first) and the bottom (last). | |
~TLista () | |
Dstructor, empties the list. | |
void | NewNode (wxColour color, char *fx, rif *pointstructure, int drawflag, int width) |
Add a new node to the list. | |
void | RemoveNode (int position) |
Add a new node to the list. | |
color | ExtractColor (int position) |
Extract a color from the list. | |
char * | ExtractFunction (int position) |
Extract a function text from the list. | |
rif * | ExtractStructure (int position) |
Extract a function scomposed by TParserScomponi from the list. | |
int | ExtractWidth (int position) |
Extract a width from the list. | |
int | ExtractDrawFlag (int position) |
Extract a drawing flag from the list. | |
void | ModifyNode (int position, wxColour color, char *fx, rif *_pointstructure, int drawflag, int width) |
Modifies an existing node of the list. | |
Public Attributes | |
int | nelements |
Number of nodes(pr) in the list. | |
Private Types | |
typedef TLista::function | pr |
Node of the list, conains a single function. | |
Private Attributes | |
pr * | first |
Head of list. | |
pr * | last |
Bottom of the list. | |
Classes | |
struct | function |
Node of the list, conains a single function. More... |
Tlista contains a monodirectional list with monodimensianal function scoposed by TParserScomponi and their options
Definition at line 17 of file TLista.h.
|
Node of the list, conains a single function.
|
|
Costructor, initializes the head (first) and the bottom (last).
Definition at line 10 of file TLista.cpp. |
|
Dstructor, empties the list.
Definition at line 3 of file TLista.cpp. References nelements, and RemoveNode(). |
|
Extract a color from the list.
Definition at line 92 of file TLista.cpp. References TLista::function::colore, first, and TLista::function::next. Referenced by DlgOpzioni::BtnOkClick1(), DlgOpzioni::LstFunzioniEnter(), and PnlGraph::OnPaint(). |
|
Extract a drawing flag from the list.
Definition at line 130 of file TLista.cpp. References TLista::function::drawflag, first, and TLista::function::next. Referenced by DlgOpzioni::AggiornaList(), DlgOpzioni::BtnModificaClick(), PnlObjTree::FillFunction(), and PnlGraph::OnPaint(). |
|
Extract a function text from the list.
Definition at line 106 of file TLista.cpp. References first, TLista::function::fx, and TLista::function::next. Referenced by DlgOpzioni::AggiornaList(), DlgOpzioni::BtnOkClick1(), and PnlObjTree::FillFunction(). |
|
Extract a function scomposed by TParserScomponi from the list.
Definition at line 118 of file TLista.cpp. References first, TLista::function::next, and TLista::function::pointstructure. Referenced by DlgOpzioni::BtnOkClick1(), and PnlGraph::OnPaint(). |
|
Extract a width from the list.
Definition at line 142 of file TLista.cpp. References first, TLista::function::next, and TLista::function::width. Referenced by DlgOpzioni::BtnOkClick1(), DlgOpzioni::LstFunzioniEnter(), and PnlGraph::OnPaint(). |
|
Modifies an existing node of the list.
Definition at line 155 of file TLista.cpp. References TLista::function::colore, TLista::function::drawflag, first, TLista::function::fx, TParserScomponi::Libera_Memoria(), TLista::function::next, TLista::function::pointstructure, and TLista::function::width. Referenced by DlgOpzioni::BtnModificaClick(), and DlgOpzioni::BtnOkClick1(). |
|
Add a new node to the list.
Definition at line 21 of file TLista.cpp. References TLista::function::colore, TLista::function::drawflag, first, TLista::function::fx, last, nelements, TLista::function::next, TLista::function::pointstructure, and TLista::function::width. Referenced by DlgOpzioni::BtnInserisciClick(). |
|
Add a new node to the list.
Definition at line 50 of file TLista.cpp. References first, last, TParserScomponi::Libera_Memoria(), nelements, TLista::function::next, and TLista::function::pointstructure. Referenced by DlgOpzioni::BtnRimuoviClick(), and ~TLista(). |
|
Head of list.
Definition at line 44 of file TLista.h. Referenced by ExtractColor(), ExtractDrawFlag(), ExtractFunction(), ExtractStructure(), ExtractWidth(), ModifyNode(), NewNode(), RemoveNode(), and TLista(). |
|
Bottom of the list.
Definition at line 47 of file TLista.h. Referenced by NewNode(), RemoveNode(), and TLista(). |
|
Number of nodes(pr) in the list.
Definition at line 58 of file TLista.h. Referenced by DlgOpzioni::BtnRimuoviClick(), PnlObjTree::FillFunction(), NewNode(), PnlGraph::OnPaint(), RemoveNode(), TLista(), and ~TLista(). |