[svn] commit: r382 - /branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Dec 18 04:00:27 UTC 2009
Author: jinmei
Date: Fri Dec 18 04:00:27 2009
New Revision: 382
Log:
documented <<
Modified:
branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h
Modified: branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h
==============================================================================
--- branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h (original)
+++ branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h Fri Dec 18 04:00:27 2009
@@ -466,7 +466,22 @@
}
}
-std::ostream& operator<<(std::ostream& os, const isc::dns::Name& name);
+///
+/// \brief Insert the name as a string into stream.
+///
+/// This method convert the \c name into a string and inserts it into the
+/// output stream \c os.
+///
+/// This function overloads the global operator<< to behave as described in
+/// ostream::operator<< but applied to \c Name objects.
+///
+/// \param os A \c std::ostream object on which the insertion operation is
+/// performed.
+/// \param name The \c Name object output by the operation.
+/// \return A reference to the same \c std::ostream object referenced by
+/// parameter \c os after the insertion operation.
+std::ostream&
+operator<<(std::ostream& os, const isc::dns::Name& name);
#endif // __NAME_H
// Local Variables:
More information about the bind10-changes
mailing list