|
@@ -481,14 +481,14 @@ public:
|
|
/// This should probably be extended to be a "find" method that returns
|
|
/// This should probably be extended to be a "find" method that returns
|
|
/// a matching RRset if found.
|
|
/// a matching RRset if found.
|
|
bool hasRRset(const Section section, const Name& name,
|
|
bool hasRRset(const Section section, const Name& name,
|
|
- const RRClass& rrclass, const RRType& rrtype);
|
|
|
|
|
|
+ const RRClass& rrclass, const RRType& rrtype) const;
|
|
|
|
|
|
/// \brief Determine whether the given section already has an RRset
|
|
/// \brief Determine whether the given section already has an RRset
|
|
/// matching the one pointed to by the argumet
|
|
/// matching the one pointed to by the argumet
|
|
///
|
|
///
|
|
/// \c section must be a valid constant of the \c Section type;
|
|
/// \c section must be a valid constant of the \c Section type;
|
|
/// otherwise, an exception of class \c OutOfRange will be thrown.
|
|
/// otherwise, an exception of class \c OutOfRange will be thrown.
|
|
- bool hasRRset(const Section section, const RRsetPtr& rrset);
|
|
|
|
|
|
+ bool hasRRset(const Section section, const RRsetPtr& rrset) const;
|
|
|
|
|
|
/// \brief Remove RRSet from Message
|
|
/// \brief Remove RRSet from Message
|
|
///
|
|
///
|