Entities improvement
This commit is contained in:
parent
19f223b474
commit
76ac624519
11 changed files with 39 additions and 27 deletions
|
|
@ -10,17 +10,17 @@
|
|||
|
||||
class dpoint_entity : public IEntity {
|
||||
private:
|
||||
unsigned long long _id;
|
||||
entity_id _id;
|
||||
QString _title;
|
||||
QVector<unsigned long long> _storages_ids;
|
||||
QVector<entity_id> _storages_ids;
|
||||
|
||||
public:
|
||||
dpoint_entity() = default;
|
||||
dpoint_entity(const QString &title);
|
||||
|
||||
unsigned long long id();
|
||||
entity_id id();
|
||||
QString title();
|
||||
const QVector<unsigned long long> storages_ids();
|
||||
const QVector<entity_id> storages_ids();
|
||||
|
||||
void serialize(QDataStream &output);
|
||||
void deserialize(QDataStream &input);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue