Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/properties.h')
-rw-r--r--src/properties.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/properties.h b/src/properties.h
index efde85b..89c9c93 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -26,6 +26,11 @@ class Properties
public:
Properties();
+ /**
+ * @brief copy constructor
+ * */
+ Properties(const Properties & other);
+
virtual ~Properties();
/* ---- inspectors ---- */
@@ -89,6 +94,19 @@ public:
/* ---- mutators ---- */
/**
+ * @brief assign all values of another Properties instance to this instance
+ * */
+ void assign(const Properties & other);
+
+ /**
+ * @brief assignment operator
+ * */
+ inline Properties & operator=(const Properties & other) {
+ assign(other);
+ return *this;
+ }
+
+ /**
* @brief set the comments string of this object
* */
inline void set_comment(const QString &text) {