13 #include <boost/shared_ptr.hpp>
22 typedef boost::shared_ptr<Server>
ServerPtr;
51 const std::string& description =
"");
62 return (server_tag_.
get());
70 return (description_);
84 std::string description_;
data::ServerTag getServerTag() const
Returns server tag.
std::string get() const
Returns server tag as string.
std::string getServerTagAsText() const
Returns server tag as text.
boost::shared_ptr< Server > ServerPtr
Shared pointer to the Server class.
boost::shared_ptr< Element > ElementPtr
Server(const data::ServerTag &tag, const std::string &description)
Constructor.
std::string getDescription() const
Returns the description of the server.
Abstract class for configuration Cfg_* classes.
Defines the logger used by the top-level component of kea-dhcp-ddns.
static ServerPtr create(const data::ServerTag &tag, const std::string &description="")
Factory function to be used to create an instance of the Server object.
This class represents configuration element which is associated with database identifier and the modi...
virtual data::ElementPtr toElement() const
Unparses server object.
Represents information about a Kea server in the database.