- ADMIN & operator=(const ADMIN &) { return *this; }
- ADMIN & operator=(const ADMIN_CONF &) { return *this; }
- bool operator==(const ADMIN & rhs) const { return true; }
- bool operator!=(const ADMIN & rhs) const { return false; }
- bool operator<(const ADMIN & rhs) const { return true; }
- bool operator<=(const ADMIN & rhs) const { return true; }
+ const std::string & GetPassword() const override { return password; }
+ const std::string & GetLogin() const override { return login; }
+ STG::Priv const * GetPriv() const override { return &priv; }
+ uint32_t GetPrivAsInt() const override { return priv.toInt(); }
+ const STG::AdminConf & GetConf() const override { return conf; }
+ uint32_t GetIP() const override { return ip; }
+ std::string GetIPStr() const override { return inet_ntostring(ip); }
+ void SetIP(uint32_t ip) override { TEST_ADMIN::ip = ip; }
+ const std::string GetLogStr() const override { return ""; }