TCNOpen TRDP-SPY  2.0
TrdpDict Struct Reference

This struct is the root container for the XML type dictionary. More...

#include <trdpDict.h>

Collaboration diagram for TrdpDict:

Data Fields

struct DatasetmTableDataset
 
guint knowledge
 
struct ComIdmTableComId
 
gchar * xml_file
 

Detailed Description

This struct is the root container for the XML type dictionary.

The old QtXML-based application used hash-tables instead of lists. GLib offers GHashTable as an alternative. However, once the structure is built, there are not that many look-ups, since Datasets and Elemnts are directly linked. Only in case of large ComId databases, this would become relevant again. Mañana, mañana ...

Field Documentation

◆ knowledge

guint TrdpDict::knowledge

number of found ComIds

◆ mTableComId

struct ComId* TrdpDict::mTableComId

first item of linked list of ComId items. Use it to iterate if necessary or use TrdpDict_lookup_ComId for a pointer.

◆ mTableDataset

struct Dataset* TrdpDict::mTableDataset

first item of linked list of Dataset items. Use it to iterate if necessary or use TrdpDict_get_Dataset for a pointer.

◆ xml_file

gchar* TrdpDict::xml_file

cached name of last parsed file


The documentation for this struct was generated from the following file: