Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/entityproperties.h')
-rw-r--r--src/entityproperties.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/entityproperties.h b/src/entityproperties.h
index 6fc3d5b..65edbb8 100644
--- a/src/entityproperties.h
+++ b/src/entityproperties.h
@@ -20,6 +20,8 @@ class EntityProperties : public Properties
{
public:
EntityProperties();
+ EntityProperties(const EntityProperties &other);
+
virtual ~EntityProperties();
/**
@@ -82,6 +84,19 @@ public:
/* ---- mutators ---- */
+ /**
+ * @brief assignment operator
+ * */
+ void assign(const EntityProperties & other);
+
+ /**
+ * @brief assignment operator
+ * */
+ inline EntityProperties & operator=(const EntityProperties & other) {
+ assign(other);
+ return *this;
+ }
+
/**
* @brief set the subsection string of this object
* */