entitydata.h
Go to the documentation of this file.
1 #ifndef DNAI_MODELS_CORE_ENTITYDATA_H
2 #define DNAI_MODELS_CORE_ENTITYDATA_H
3 
4 #include <QString>
5 #include "core.h"
6 namespace dnai
7 {
8  namespace models
9  {
10  namespace gcore
11  {
12  struct EntityData
13  {
14  EntityData() = default;
15  EntityData(const EntityData& other);
16  virtual ~EntityData() = default;
17 
18  EntityData& operator=(const EntityData& other);
19  bool operator!=(const EntityData& other) const;
20  bool operator==(const EntityData& other) const;
21 
22  ::core::EntityID id = ::core::UNDEFINED_ID;
23  ::core::EntityID containerId = ::core::UNDEFINED_ID;
24  ::core::ENTITY type = ::core::ENTITY::UNDEFINED;
25  QString name = "Undefined";
26  ::core::VISIBILITY visibility = ::core::VISIBILITY::PRIVATE;
27  };
28  }
29  }
30 }
31 
32 #endif //DNAI_MODELS_CORE_ENTITYDATA_H
::core::EntityID containerId
Definition: entitydata.h:23
QString name
Definition: entitydata.h:25
::core::VISIBILITY visibility
Definition: entitydata.h:26
Definition: entitydata.h:12
::core::ENTITY type
Definition: entitydata.h:24
Definition: guitype.h:14
bool operator!=(const EntityData &other) const
Definition: entitydata.cpp:24
EntityData & operator=(const EntityData &other)
Definition: entitydata.cpp:14
Definition: api.h:13
bool operator==(const EntityData &other) const
Definition: entitydata.cpp:29