From: Paul Selkirk Date: Sat, 6 Apr 2013 21:20:11 +0000 (-0400) Subject: [2521] add minimal doxygen comments for string & lexer constructors X-Git-Tag: bind10-1.2.0beta1-release~473^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac31c2a7d7d2ee78ef2de4d56d3f57f6f45d75a;p=thirdparty%2Fkea.git [2521] add minimal doxygen comments for string & lexer constructors --- diff --git a/src/lib/dns/rdata/generic/opt_41.cc b/src/lib/dns/rdata/generic/opt_41.cc index d955141ea0..a44cb9b1b2 100644 --- a/src/lib/dns/rdata/generic/opt_41.cc +++ b/src/lib/dns/rdata/generic/opt_41.cc @@ -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&) {