/// @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();
protected: