]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2521] add minimal doxygen comments for string & lexer constructors
authorPaul Selkirk <pselkirk@isc.org>
Sat, 6 Apr 2013 21:20:11 +0000 (17:20 -0400)
committerPaul Selkirk <pselkirk@isc.org>
Sat, 6 Apr 2013 21:20:11 +0000 (17:20 -0400)
src/lib/dns/rdata/generic/opt_41.cc

index d955141ea0dc8482d4f4f1beacda1583e5bffe7c..a44cb9b1b2fe32527a27d132c4fa5cdabe2141ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2013  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -28,10 +28,16 @@ using namespace isc::util;
 // BEGIN_ISC_NAMESPACE
 // BEGIN_RDATA_NAMESPACE
 
+/// \brief Constructor from string.
+///
+/// \throw InvalidRdataText OPT RR cannot be constructed from text.
 OPT::OPT(const std::string&) {
     isc_throw(InvalidRdataText, "OPT RR cannot be constructed from text");
 }
 
+/// \brief Constructor with a context of MasterLexer.
+///
+/// \throw InvalidRdataText OPT RR cannot be constructed from text.
 OPT::OPT(MasterLexer&, const Name*,
        MasterLoader::Options, MasterLoaderCallbacks&)
 {