Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
83a40074
Commit
83a40074
authored
Sep 03, 2012
by
JINMEI Tatuya
Browse files
[2098] made TreeNodeRRset non-copyable explicitly and documented it.
parent
49aabed0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/datasrc/memory/treenode_rrset.h
View file @
83a40074
...
...
@@ -28,6 +28,8 @@
#include <datasrc/memory/zone_data.h>
#include <datasrc/memory/rdataset.h>
#include <boost/noncopyable.hpp>
#include <string>
namespace
isc
{
...
...
@@ -65,12 +67,17 @@ namespace memory {
/// it should be safe, but we should eventually provide complete
/// implementations of these methods.
///
/// This class can internally maintain dynamically allocated resource.
/// It would cause copying a class object complicated while objects of
/// this class are not expected to be copyable in the usage, so it's
/// explicitly defined non copyable.
///
/// \note This class is exposed in this separate header file so that other
/// part of the in-memory data source implementation and test code
/// can refer to its definition, and only for that purpose. Otherwise this is
/// essentially a private class of the in-memory data source implementation,
/// and an application shouldn't directly refer to this class.
class
TreeNodeRRset
:
public
dns
::
AbstractRRset
{
class
TreeNodeRRset
:
boost
::
noncopyable
,
public
dns
::
AbstractRRset
{
public:
/// \brief Normal case constructor.
///
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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