- bool FindService(const std::string & name, SERVICE_CONF & service);
- bool ServiceExists(const std::string & name) const;
- const std::string & GetStrError() const;
+ bool Find(const std::string & name, SERVICE_CONF * service) const;
+ bool Exists(const std::string & name) const;
+ const std::string & GetStrError() const { return strError; }
+
+ size_t Count() const { return data.size(); }