1.11.2 split up of xml helper functions. started to work on attributes
9 /*! \brief A key and a list of values
12 class Attribute:public XMLObj {
15 virtual void setKey (const QString &k);
16 virtual QString getKey ();
17 virtual void setValue (const QString &v);
18 virtual QString getValue();
19 virtual QString getDataXML();
25 /*! \brief A table containing a list of keys and each of these keys has
26 a list of default values. The keys and the values for each key are
29 class AttributeTable:public XMLObj{
32 virtual ~AttributeTable();
34 virtual void addKey (const QString &k); //!< Adds a key to the table
35 virtual void removeKey (const QString &k); //!< Removes key and its default values
36 virtual void addValue (const QString &k, const QString &v); //!< Adds key and value
37 virtual QStringList getKeys ();
38 virtual QStringList getValues(const QString &k);
39 virtual QString getDataXML();
43 QList <QStringList> values;