summaryrefslogtreecommitdiff
path: root/include/CommonAPI/Address.hpp
diff options
context:
space:
mode:
authorDirk Huss <dirk_huss@mentor.com>2015-11-25 14:38:28 +0100
committerDirk Huss <dirk_huss@mentor.com>2015-11-25 14:38:28 +0100
commitb6f81b22fcf8d9cf8ee9248408b7d2a72fbff1d9 (patch)
tree8b0b1438ccaa9450ca4b21221eb9cd74f14b10f5 /include/CommonAPI/Address.hpp
parent3d2fb21d0e93b6b595610285e910ac80c099a174 (diff)
downloadgenivi-common-api-runtime-b6f81b22fcf8d9cf8ee9248408b7d2a72fbff1d9.tar.gz
CommonAPI 3.1.4
Diffstat (limited to 'include/CommonAPI/Address.hpp')
-rw-r--r--include/CommonAPI/Address.hpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/include/CommonAPI/Address.hpp b/include/CommonAPI/Address.hpp
index 0826a8f..74a13d4 100644
--- a/include/CommonAPI/Address.hpp
+++ b/include/CommonAPI/Address.hpp
@@ -15,36 +15,36 @@ namespace CommonAPI {
class Address {
public:
- COMMONAPI_EXPORT Address() = default;
- COMMONAPI_EXPORT Address(const std::string &_address);
- COMMONAPI_EXPORT Address(const std::string &_domain,
- const std::string &_interface,
- const std::string &_instance);
- COMMONAPI_EXPORT Address(const Address &_source);
- COMMONAPI_EXPORT virtual ~Address();
+ COMMONAPI_EXPORT Address() = default;
+ COMMONAPI_EXPORT Address(const std::string &_address);
+ COMMONAPI_EXPORT Address(const std::string &_domain,
+ const std::string &_interface,
+ const std::string &_instance);
+ COMMONAPI_EXPORT Address(const Address &_source);
+ COMMONAPI_EXPORT virtual ~Address();
- COMMONAPI_EXPORT bool operator==(const Address &_other) const;
- COMMONAPI_EXPORT bool operator!=(const Address &_other) const;
- COMMONAPI_EXPORT bool operator<(const Address &_other) const;
+ COMMONAPI_EXPORT bool operator==(const Address &_other) const;
+ COMMONAPI_EXPORT bool operator!=(const Address &_other) const;
+ COMMONAPI_EXPORT bool operator<(const Address &_other) const;
- COMMONAPI_EXPORT std::string getAddress() const;
- COMMONAPI_EXPORT void setAddress(const std::string &_address);
+ COMMONAPI_EXPORT std::string getAddress() const;
+ COMMONAPI_EXPORT void setAddress(const std::string &_address);
- COMMONAPI_EXPORT const std::string &getDomain() const;
- COMMONAPI_EXPORT void setDomain(const std::string &_domain);
+ COMMONAPI_EXPORT const std::string &getDomain() const;
+ COMMONAPI_EXPORT void setDomain(const std::string &_domain);
- COMMONAPI_EXPORT const std::string &getInterface() const;
- COMMONAPI_EXPORT void setInterface(const std::string &_interface);
+ COMMONAPI_EXPORT const std::string &getInterface() const;
+ COMMONAPI_EXPORT void setInterface(const std::string &_interface);
- COMMONAPI_EXPORT const std::string &getInstance() const;
- COMMONAPI_EXPORT void setInstance(const std::string &_instance);
+ COMMONAPI_EXPORT const std::string &getInstance() const;
+ COMMONAPI_EXPORT void setInstance(const std::string &_instance);
private:
- std::string domain_;
- std::string interface_;
- std::string instance_;
+ std::string domain_;
+ std::string interface_;
+ std::string instance_;
- friend COMMONAPI_EXPORT std::ostream &operator<<(std::ostream &_out, const Address &_address);
+ friend COMMONAPI_EXPORT std::ostream &operator<<(std::ostream &_out, const Address &_address);
};
} // namespace CommonAPI