comparison base/XmlExportable.h @ 1738:4abc0f08adf9 by-id

More on alignment models and paths
author Chris Cannam
date Wed, 26 Jun 2019 10:21:15 +0100
parents f97d64b8674f
children d0ef65d8dd89
comparison
equal deleted inserted replaced
1737:5d631f6129fe 1738:4abc0f08adf9
23 class QTextStream; 23 class QTextStream;
24 24
25 class XmlExportable 25 class XmlExportable
26 { 26 {
27 public: 27 public:
28 XmlExportable() : m_exportId(-1) { } 28 enum {
29 // The value NO_ID (-1) is never allocated as an export id
30 NO_ID = -1
31 };
32
33 XmlExportable() : m_exportId(NO_ID) { }
29 virtual ~XmlExportable() { } 34 virtual ~XmlExportable() { }
30 35
31 /** 36 /**
32 * Return the numerical export identifier for this object. It's 37 * Return the numerical export identifier for this object. It's
33 * allocated the first time this is called, so objects on which 38 * allocated the first time this is called, so objects on which