Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
9ebbd0cc
Commit
9ebbd0cc
authored
Aug 28, 2012
by
JINMEI Tatuya
Browse files
[2107] clarified getter/for-modify methods in ZoneData doc.
parent
870aa95f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/zone_data.h
View file @
9ebbd0cc
...
...
@@ -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_
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment