]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2107] clarified getter/for-modify methods in ZoneData doc.
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 28 Aug 2012 21:32:01 +0000 (14:32 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 28 Aug 2012 21:32:01 +0000 (14:32 -0700)
src/lib/datasrc/memory/zone_data.h

index 3300dfea22e6072cd8bb94b4e85841ed8250d1a1..f59268033f0572011347207293e32cbb8e4ec107 100644 (file)
@@ -380,8 +380,8 @@ public:
     /// Note that an \c RRClass object must be passed to this method.
     /// It's used to destroy the stored \c RdataSet objects
     /// (see its class description).  This class doesn't hold this information;
-    /// it's the caller's responsibility to associate a \c ZoneData class object
-    /// with its expected RR class, and pass it to \c destroy().
+    /// it's the caller's responsibility to associate a \c ZoneData class
+    /// object with its expected RR class, and pass it to \c destroy().
     ///
     /// \throw none
     ///
@@ -395,6 +395,10 @@ public:
     static void destroy(util::MemorySegment& mem_sgmt, ZoneData* zone_data,
                         dns::RRClass zone_class);
 
+    ///
+    /// \name Getter methods
+    ///
+    //@{
     /// \brief Return zone's origin node.
     ///
     /// This is a convenience and efficient short cut to get access to the
@@ -445,7 +449,12 @@ public:
     ///
     /// \throw none
     const NSEC3Data* getNSEC3Data() const { return (nsec3_data_.get()); }
+    //@}
 
+    ///
+    /// \name Methods for modifying the tree
+    ///
+    //@{
     /// \brief Insert a name to the zone.
     ///
     /// It allocates resource for the given name in the internal storage
@@ -536,6 +545,7 @@ public:
         nsec3_data_ = nsec3_data;
         return (old);
     }
+    //@}
 
 private:
     const boost::interprocess::offset_ptr<ZoneTree> zone_tree_;