-class ADMIN_IMPL : public ADMIN {
-public:
- ADMIN_IMPL();
- explicit ADMIN_IMPL(const ADMIN_CONF & ac);
- ADMIN_IMPL(const PRIV & priv,
- const std::string & login,
- const std::string & password);
- virtual ~ADMIN_IMPL() {}
+namespace STG
+{
+
+class AdminImpl : public Admin {
+ public:
+ AdminImpl() noexcept : ip(0) {}
+
+ explicit AdminImpl(const AdminConf& ac) noexcept : conf(ac), ip(0) {}
+ AdminImpl(const Priv& priv,
+ const std::string& login,
+ const std::string& password) noexcept
+ : conf(priv, login, password), ip(0)
+ {}
+
+ AdminImpl(const AdminImpl&) = default;
+ AdminImpl& operator=(const AdminImpl&) = default;
+ AdminImpl(AdminImpl&&) = default;
+ AdminImpl& operator=(AdminImpl&&) = default;