aboutsummaryrefslogtreecommitdiffstats
path: root/src/address.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/address.hpp')
-rw-r--r--src/address.hpp24
1 files changed, 3 insertions, 21 deletions
diff --git a/src/address.hpp b/src/address.hpp
index a3d8cedb..5fc00541 100644
--- a/src/address.hpp
+++ b/src/address.hpp
@@ -45,33 +45,13 @@ protected:
public:
- /** Copy data from another object to this object.
- * Both objects must be the same type.
- *
- * @param addr other object
- */
- address& operator=(const address& addr);
-
- /** Duplicate this object.
- *
- * @return a copy of this object
- */
- virtual address* clone() const = 0;
-
- /** Copy data from another object to this object.
- * Both objects must be the same type.
- *
- * @param addr other object
- */
- virtual void copyFrom(const address& addr) = 0;
-
/** Check whether this address is empty (no mailboxes specified
* if this is a mailboxGroup -or- no email specified if this is
* a mailbox).
*
* @return true if this address is empty
*/
- virtual const bool empty() const = 0;
+ virtual const bool isEmpty() const = 0;
/** Test whether this is object is a mailboxGroup.
*
@@ -79,6 +59,8 @@ public:
*/
virtual const bool isGroup() const = 0;
+ virtual address* clone() const = 0;
+
protected:
/** Parse an address from an input buffer.