Date: Thursday, January 11, 2007 @ 17:42:59
Author: gilles
Path: /cvsroot/carob/carob/include
Modified: ControllerInfo.hpp (1.7 -> 1.8)
Added javadoc for << pretty printer
--------------------+
ControllerInfo.hpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: carob/include/ControllerInfo.hpp
diff -u carob/include/ControllerInfo.hpp:1.7
carob/include/ControllerInfo.hpp:1.8
--- carob/include/ControllerInfo.hpp:1.7 Tue Jan 9 20:28:26 2007
+++ carob/include/ControllerInfo.hpp Thu Jan 11 17:42:59 2007
@@ -97,7 +97,12 @@
* @return sql query as a string
*/
operator std::wstring () const;
-
+ /**
+ * Pretty printer for controller info.<br>
+ * Prints: <given/original hostname> (<resolved name/port>)
+ * @param ostr the wide stream to print to
+ * @param ci controller info to be pretty printed to ostr
+ */
friend std::wostream& CarobNS::operator<< (std::wostream& ostr, const
ControllerInfo& ci);
private:
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits