tools: include CS config in 'nfdc cs info'
Also, ForwarderGeneralModule::formatItemText now uses ItemAttributes.
refs #4050
Change-Id: I1b2bde29b82e4b3910d87b41efd90e273052b18d
diff --git a/tools/nfdc/forwarder-general-module.hpp b/tools/nfdc/forwarder-general-module.hpp
index 4d65c83..4619cfa 100644
--- a/tools/nfdc/forwarder-general-module.hpp
+++ b/tools/nfdc/forwarder-general-module.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2017, Regents of the University of California,
+ * Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -53,8 +53,8 @@
* \param os output stream
* \param item status item
*/
- void
- formatItemXml(std::ostream& os, const ForwarderStatus& item) const;
+ static void
+ formatItemXml(std::ostream& os, const ForwarderStatus& item);
void
formatStatusText(std::ostream& os) const override;
@@ -63,8 +63,8 @@
* \param os output stream
* \param item status item
*/
- void
- formatItemText(std::ostream& os, const ForwarderStatus& item) const;
+ static void
+ formatItemText(std::ostream& os, const ForwarderStatus& item);
private:
ForwarderStatus m_status;