Commit 4d2adcc9 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[2414] get(), toText() descriptions updated.

parent 53a57b7f
......@@ -279,10 +279,16 @@ public:
/// @return unique ID for that subnet
SubnetID getID() const { return (id_); }
/// @brief returns subnet parameters (prefix and prefix length)
/// @return (prefix, prefix length) pair
std::pair<isc::asiolink::IOAddress, uint8_t> get() {
return (std::pair<isc::asiolink::IOAddress, uint8_t>(prefix_, prefix_len_));
/// @brief returns textual representation of the subnet (e.g. "2001:db8::/64")
/// @return textual representation
virtual std::string toText();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment