From: g0dil Date: Thu, 4 Nov 2010 14:51:56 +0000 (+0000) Subject: Fix documentation build under maverick (doxygen 1.7.1) X-Git-Url: http://g0dil.de/git?p=senf.git;a=commitdiff_plain;h=7661548b20e6c7627f54bff87e0758396fd523ef Fix documentation build under maverick (doxygen 1.7.1) git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1742 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Examples/DVBAdapter/MPEdec.cc b/Examples/DVBAdapter/MPEdec.cc index 556c53e..4a33ffd 100644 --- a/Examples/DVBAdapter/MPEdec.cc +++ b/Examples/DVBAdapter/MPEdec.cc @@ -40,7 +40,7 @@ #define PID 500 #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// class MySniffer { @@ -88,7 +88,7 @@ int main(int argc, char const * argv[]) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/Examples/DVBAdapter/ULEdec.cc b/Examples/DVBAdapter/ULEdec.cc index 1a36b5e..8ce477e 100644 --- a/Examples/DVBAdapter/ULEdec.cc +++ b/Examples/DVBAdapter/ULEdec.cc @@ -38,7 +38,7 @@ #define MAX_PAYLOAD_POINTER ( TRANSPORT_PACKET_SIZE - 4 - 1 - 2 ) #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// ULEdec::ULEdec(unsigned short adapter, unsigned short device) @@ -278,7 +278,7 @@ int main(int argc, char const * argv[]) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/Examples/DVBAdapter/frontend.cc b/Examples/DVBAdapter/frontend.cc index 26f4336..e93a666 100644 --- a/Examples/DVBAdapter/frontend.cc +++ b/Examples/DVBAdapter/frontend.cc @@ -25,7 +25,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// int main(int argc, char const * argv[]) { @@ -45,7 +45,7 @@ int main(int argc, char const * argv[]) return 0; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/Examples/MCSniffer/MCSniffer.cc b/Examples/MCSniffer/MCSniffer.cc index 02fab93..172fea3 100644 --- a/Examples/MCSniffer/MCSniffer.cc +++ b/Examples/MCSniffer/MCSniffer.cc @@ -38,7 +38,7 @@ //#include "MCSniffer.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// class MCSniffer { @@ -91,7 +91,7 @@ int main(int argc, char const * argv[]) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "MCSniffer.mpp" diff --git a/Examples/MultiMCLoop/MultiMCLoop.cc b/Examples/MultiMCLoop/MultiMCLoop.cc index 08521b7..a6f07c8 100644 --- a/Examples/MultiMCLoop/MultiMCLoop.cc +++ b/Examples/MultiMCLoop/MultiMCLoop.cc @@ -36,7 +36,7 @@ //#include "MultiMCLoop.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// typedef senf::UDPv4ClientSocketHandle UDPSocket; @@ -69,7 +69,7 @@ prefix_ void MCReader::handler(int events) std::cout << "I " << name << ": " << socket.read() << "\n"; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// class MCWriter { @@ -103,7 +103,7 @@ prefix_ void MCWriter::handler() event.timeout(senf::scheduler::eventTime() + interval); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// class IfSetup { @@ -145,14 +145,14 @@ prefix_ void IfSetup::sys(std::string const & cmd) throw SystemException() << ": code " << rv << ": " << cmd; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// void sigintHandler(siginfo_t const &) { senf::scheduler::terminate(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// int main(int argc, char * argv[]) { @@ -183,7 +183,7 @@ int main(int argc, char * argv[]) } }; -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "MultiMCLoop.mpp" diff --git a/Examples/RateStuffer/ratestuffer.cc b/Examples/RateStuffer/ratestuffer.cc index 6f6a634..876a377 100644 --- a/Examples/RateStuffer/ratestuffer.cc +++ b/Examples/RateStuffer/ratestuffer.cc @@ -32,13 +32,13 @@ //#include "ppitest.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace module = senf::ppi::module; namespace connector = senf::ppi::connector; namespace ppi = senf::ppi; -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // RateFilter class RateFilter @@ -71,7 +71,7 @@ void RateFilter::timeout() output(input()); } -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// class RateStuffer { @@ -106,8 +106,8 @@ public: } }; -// //////////////////////////////////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Module setup: // @@ -145,7 +145,7 @@ int main(int argc, char * argv[]) return 0; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ppitest.mpp" diff --git a/Examples/Sniffer/Sniffer.cc b/Examples/Sniffer/Sniffer.cc index 5c81dda..53cba17 100644 --- a/Examples/Sniffer/Sniffer.cc +++ b/Examples/Sniffer/Sniffer.cc @@ -37,7 +37,7 @@ //#include "Sniffer.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// int loop_main (int argc, char const * argv[]) { @@ -125,7 +125,7 @@ int main(int argc, char const * argv[]) return 1; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Sniffer.mpp" diff --git a/Examples/psi2tsModule/main.test.cc b/Examples/psi2tsModule/main.test.cc index 782a50c..861d800 100644 --- a/Examples/psi2tsModule/main.test.cc +++ b/Examples/psi2tsModule/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/Examples/psi2tsModule/psi2ts.cc b/Examples/psi2tsModule/psi2ts.cc index 55366cf..ce0023c 100644 --- a/Examples/psi2tsModule/psi2ts.cc +++ b/Examples/psi2tsModule/psi2ts.cc @@ -31,7 +31,7 @@ //#include "psi2ts.cc.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { template @@ -93,7 +93,7 @@ prefix_ unsigned Psi2TsModule::next_continuity_counter() } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "psi2ts.cc.mpp" diff --git a/Examples/psi2tsModule/psi2ts.hh b/Examples/psi2tsModule/psi2ts.hh index a93edb1..68f7aec 100644 --- a/Examples/psi2tsModule/psi2ts.hh +++ b/Examples/psi2tsModule/psi2ts.hh @@ -34,7 +34,7 @@ #include //#include "psi2ts.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// class Psi2TsModule : public senf::ppi::module::Module @@ -58,7 +58,7 @@ private: }; -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "psi2ts.cci" //#include "psi2ts.ct" //#include "psi2ts.cti" diff --git a/Examples/psi2tsModule/psi2ts.test.cc b/Examples/psi2tsModule/psi2ts.test.cc index 69daf0a..9b8fabe 100644 --- a/Examples/psi2tsModule/psi2ts.test.cc +++ b/Examples/psi2tsModule/psi2ts.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// void check_transportpacket_header(senf::TransportPacket tsPacket, bool pusi, unsigned pid, unsigned counter) { @@ -157,7 +157,7 @@ SENF_AUTO_UNIT_TEST(many_sections_to_many_transportpackets) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/doclib/senf.css b/doclib/senf.css index 9296c7a..0c71ea7 100644 --- a/doclib/senf.css +++ b/doclib/senf.css @@ -1,8 +1,11 @@ +body, table, div, p, dl { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10pt; +} + body { padding: 0; margin: 0; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 10pt; } /* Argh .. doxygen.css has font-size:90% for td ... */ @@ -10,6 +13,18 @@ td { font-size: 100%; } +div.header { + background-color: inherit; + background-image: none; + border: none; +} + +div.summary { + float: none; + padding: 2pt 5pt 0 0; + width: auto; +} + #head { height: 62px; border-top: 5px solid #DECD40; @@ -139,7 +154,7 @@ a.anchor { background-color: white !important; } -div.tabs { +div.tabs, div.tabs2 { display: inline; /* IE double margin fix */ float: left; clear: left; @@ -150,21 +165,21 @@ div.tabs { overflow: hidden; } -* html div.tabs { +* html div.tabs, * html div.tabs2 { margin-bottom: 0; /* Grmpf .. IE6 is f**ing up ... */ } -div.tabs ul { +div.tabs ul, div.tabs2 ul { margin: 0; padding: 0; list-style-type: none; } -div.tabs ul li { +div.tabs ul li, div.tabs2 ul li { display: inline; } -div.tabs ul li a { +div.tabs ul li a, div.tabs2 ul li a { display: block; padding: 2px 5px; font-size: 13px; @@ -174,37 +189,39 @@ div.tabs ul li a { font-weight: normal; } -div.tabs ul li a:visited, div.tabs ul li a:active { +div.tabs ul li a:visited, div.tabs ul li a:active, +div.tabs2 ul li a:visited, div.tabs2 ul li a:active { color: #726921; text-decoration: none; } -div.tabs li.current a { +div.tabs li.current a, div.tabs2 li.current a { background-position: 100% -150px; border-width: 0px; } -div.tabs li.current span { +div.tabs li.current span, div.tabs2 li.current span { background-position: 0% -150px; padding-bottom: 6px; } -div.tabs ul li a:hover, div.tabs ul li.current a, div.tabs ul.glossary li a:hover { +div.tabs ul li a:hover, div.tabs ul li.current a, div.tabs ul.glossary li a:hover, +div.tabs2 ul li a:hover, div.tabs2 ul li.current a, div.tabs2 ul.glossary li a:hover { color: #726921; text-decoration: none; background-color: #EDE497; } -div.tabs ul li.level1 a { +div.tabs ul li.level1 a, div.tabs2 ul li.level1 a { padding-left: 1.5em; font-size: 90%; } -div.tabs ul.glossary li a { +div.tabs ul.glossary li a, div.tabs2 ul.glossary li a { background-color: #FDF7C3; } -div.tabs ul.glossary li.glossary a { +div.tabs ul.glossary li.glossary a, div.tabs2 ul.glossary li.glossary a { background-color: #EDE497; } @@ -424,6 +441,10 @@ dl.implementation { font-size: 75%; } +.mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: inherit; +} + p.memtitle { color: #1a41a8; font-weight: bold; @@ -445,16 +466,14 @@ p.implementedin { text-indent: -4em; } -div.memproto { - margin-bottom: .5em; -} - table { width: 100%; } div.ah { margin-right: 10px; + background-image: none; + -moz-box-shadow: none; } div.nav, div.navpath { @@ -462,10 +481,32 @@ div.nav, div.navpath { background-color: white; border: none; border-bottom: 1px solid #AF9D00; - padding: 5px 0; + padding: 0; margin: 0; } +div.navpath li { + background-image: none; + padding: 2pt 0; +} + +div.navpath a:before { + content: "/"; + white-space: pre; + padding: 0 2pt; +} + +div.navpath a { + height: auto; +} + +div.navpath ul { + background-image: none; + border: none; + height: auto; + line-height: inherit; +} + div.qindex { width: auto; background-color: #e8eef2; @@ -508,6 +549,9 @@ table.glossary tr td:first-child { padding-right: 10px; } +table p, table p.starttd { margin: 0; } +table.glossary p { margin: 0; } + table.members td:first-child { width: 35%; } @@ -580,6 +624,17 @@ h4 { margin-bottom: .4em; } +div.memproto { + background-image: none; + text-shadow: none; + -moz-box-shadow: none; +} + +div.memdoc { + background-image: none; + -moz-box-shadow: none; +} + table.memname { width: 100%; font-weight: normal; @@ -602,6 +657,7 @@ table.memname td.memname { table.memname td.memparen { width: 1%; + padding-right: 10px; } table.memname td.paramtype { diff --git a/senf/PPI/ActiveFeeder.cc b/senf/PPI/ActiveFeeder.cc index 795c8fd..a002a7c 100644 --- a/senf/PPI/ActiveFeeder.cc +++ b/senf/PPI/ActiveFeeder.cc @@ -30,12 +30,12 @@ //#include "ActiveFeeder.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveFeeder -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::module::ActiveFeeder::request() @@ -43,7 +43,7 @@ prefix_ void senf::ppi::module::ActiveFeeder::request() output(input()); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ActiveFeeder.mpp" diff --git a/senf/PPI/ActiveFeeder.cci b/senf/PPI/ActiveFeeder.cci index 522ecf3..105d586 100644 --- a/senf/PPI/ActiveFeeder.cci +++ b/senf/PPI/ActiveFeeder.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveFeeder prefix_ senf::ppi::module::ActiveFeeder::ActiveFeeder() @@ -38,7 +38,7 @@ prefix_ senf::ppi::module::ActiveFeeder::ActiveFeeder() registerEvent(idle_, & ActiveFeeder::request); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/ActiveFeeder.hh b/senf/PPI/ActiveFeeder.hh index cc2ffc1..5f0bfda 100644 --- a/senf/PPI/ActiveFeeder.hh +++ b/senf/PPI/ActiveFeeder.hh @@ -32,7 +32,7 @@ #include "IdleEvent.hh" //#include "ActiveFeeder.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -67,7 +67,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ActiveFeeder.cci" //#include "ActiveFeeder.ct" //#include "ActiveFeeder.cti" diff --git a/senf/PPI/ActiveFeeder.test.cc b/senf/PPI/ActiveFeeder.test.cc index 8ef1a70..ec4c378 100644 --- a/senf/PPI/ActiveFeeder.test.cc +++ b/senf/PPI/ActiveFeeder.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace debug = senf::ppi::module::debug; namespace ppi = senf::ppi; namespace module = senf::ppi::module; @@ -71,7 +71,7 @@ SENF_AUTO_UNIT_TEST(activeFeeder) BOOST_CHECK( sink.size() > 0); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/AnnotationRouter.ct b/senf/PPI/AnnotationRouter.ct index e3f898f..6e6a7ac 100644 --- a/senf/PPI/AnnotationRouter.ct +++ b/senf/PPI/AnnotationRouter.ct @@ -29,7 +29,7 @@ #include "Connectors.hh" #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ppi::module::AnnotationRouter::AnnotationRouter() @@ -66,7 +66,7 @@ prefix_ void senf::ppi::module::AnnotationRouter::request() } } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/AnnotationRouter.hh b/senf/PPI/AnnotationRouter.hh index fa4fbc5..08eb7fd 100644 --- a/senf/PPI/AnnotationRouter.hh +++ b/senf/PPI/AnnotationRouter.hh @@ -34,7 +34,7 @@ #include "MultiConnectorMixin.hh" //#include "AnnotationRouter.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -123,7 +123,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "AnnotationRouter.cci" #include "AnnotationRouter.ct" //#include "AnnotationRouter.cti" diff --git a/senf/PPI/AnnotationRouter.test.cc b/senf/PPI/AnnotationRouter.test.cc index 4cbd566..651d70e 100644 --- a/senf/PPI/AnnotationRouter.test.cc +++ b/senf/PPI/AnnotationRouter.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; namespace module = ppi::module; @@ -103,7 +103,7 @@ SENF_AUTO_UNIT_TEST(annotationRouter) BOOST_CHECK_EQUAL( sink2.size(), 1u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/CloneSource.cc b/senf/PPI/CloneSource.cc index cb0b67c..a166df8 100644 --- a/senf/PPI/CloneSource.cc +++ b/senf/PPI/CloneSource.cc @@ -30,7 +30,7 @@ //#include "CloneSource.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// senf::ppi::module::CloneSource::CloneSource(senf::Packet const & packet) : packet_(packet) @@ -50,7 +50,7 @@ void senf::ppi::module::CloneSource::replacePacket(senf::Packet const & packet) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "CloneSource.mpp" diff --git a/senf/PPI/CloneSource.hh b/senf/PPI/CloneSource.hh index 4376631..3b0b5e7 100644 --- a/senf/PPI/CloneSource.hh +++ b/senf/PPI/CloneSource.hh @@ -32,7 +32,7 @@ #include "Connectors.hh" //#include "CloneSource.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -63,7 +63,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "CloneSource.cci" //#include "CloneSource.ct" //#include "CloneSource.cti" diff --git a/senf/PPI/CloneSource.test.cc b/senf/PPI/CloneSource.test.cc index 28c7f9b..4d6af54 100644 --- a/senf/PPI/CloneSource.test.cc +++ b/senf/PPI/CloneSource.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(cloneSource) { @@ -60,7 +60,7 @@ SENF_AUTO_UNIT_TEST(cloneSource) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Connectors.cc b/senf/PPI/Connectors.cc index 6181eb9..1e3fb63 100644 --- a/senf/PPI/Connectors.cc +++ b/senf/PPI/Connectors.cc @@ -32,9 +32,9 @@ //#include "Connectors.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::Connector prefix_ senf::ppi::connector::Connector::~Connector() @@ -220,7 +220,7 @@ prefix_ void senf::ppi::connector::Connector::v_disconnected() prefix_ void senf::ppi::connector::Connector::v_connected() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::PassiveConnector prefix_ senf::ppi::connector::PassiveConnector::~PassiveConnector() @@ -241,7 +241,7 @@ prefix_ void senf::ppi::connector::PassiveConnector::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::PassiveConnector::v_init() @@ -285,7 +285,7 @@ prefix_ void senf::ppi::connector::PassiveConnector::notifyUnthrottle() SENF_PPI_THROTTLE_TRACE("OUT", "not forwarding unthrottle event"); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::ActiveConnector prefix_ senf::ppi::connector::ActiveConnector::~ActiveConnector() @@ -306,7 +306,7 @@ prefix_ void senf::ppi::connector::ActiveConnector::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::ActiveConnector::v_init() @@ -355,7 +355,7 @@ prefix_ void senf::ppi::connector::ActiveConnector::unregisterRoute(ForwardingRo notifyRoutes_.erase(i); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::InputConnector prefix_ senf::Packet senf::ppi::connector::InputConnector::operator()() @@ -386,7 +386,7 @@ prefix_ void senf::ppi::connector::InputConnector::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::InputConnector::v_requestEvent() @@ -398,7 +398,7 @@ prefix_ void senf::ppi::connector::InputConnector::v_enqueueEvent() prefix_ void senf::ppi::connector::InputConnector::v_dequeueEvent() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::OutputConnector prefix_ void senf::ppi::connector::OutputConnector::v_disconnected() @@ -413,10 +413,10 @@ prefix_ void senf::ppi::connector::OutputConnector::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericActiveInput -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::GenericActiveInput::v_requestEvent() @@ -424,7 +424,7 @@ prefix_ void senf::ppi::connector::GenericActiveInput::v_requestEvent() request(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericPassiveInput prefix_ void senf::ppi::connector::GenericPassiveInput::v_disconnected() @@ -441,7 +441,7 @@ prefix_ void senf::ppi::connector::GenericPassiveInput::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::GenericPassiveInput::v_enqueueEvent() @@ -474,7 +474,7 @@ prefix_ void senf::ppi::connector::GenericPassiveInput::v_unthrottleEvent() } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericPassiveOutput prefix_ void senf::ppi::connector::GenericPassiveOutput::v_disconnected() @@ -491,7 +491,7 @@ prefix_ void senf::ppi::connector::GenericPassiveOutput::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericActiveInput prefix_ void senf::ppi::connector::GenericActiveInput::v_disconnected() @@ -508,7 +508,7 @@ prefix_ void senf::ppi::connector::GenericActiveInput::v_connected() peer_ = & dynamic_cast(Connector::peer()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericActiveOutput prefix_ void senf::ppi::connector::GenericActiveOutput::v_disconnected() @@ -526,7 +526,7 @@ prefix_ void senf::ppi::connector::GenericActiveOutput::v_connected() } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Connectors.mpp" diff --git a/senf/PPI/Connectors.cci b/senf/PPI/Connectors.cci index d324492..af21cf9 100644 --- a/senf/PPI/Connectors.cci +++ b/senf/PPI/Connectors.cci @@ -29,7 +29,7 @@ #include "Module.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifdef SENF_PPI_NOTRACE # define SENF_PPI_THROTTLE_TRACE(label, type) @@ -39,7 +39,7 @@ # define SENF_PPI_TRACE(packet, label) trace(packet, label) #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::Connector prefix_ senf::ppi::connector::Connector & senf::ppi::connector::Connector::peer() @@ -69,7 +69,7 @@ prefix_ senf::ppi::connector::Connector::TraceState senf::ppi::connector::Connec return traceState_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::connector::Connector::Connector() @@ -82,7 +82,7 @@ prefix_ bool senf::ppi::connector::Connector::connected() return peer_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::PassiveConnector prefix_ senf::ppi::connector::ActiveConnector & senf::ppi::connector::PassiveConnector::peer() @@ -98,7 +98,7 @@ prefix_ bool senf::ppi::connector::PassiveConnector::throttled() return nativeThrottled_ || remoteThrottled_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::PassiveConnector::emitThrottle() @@ -154,7 +154,7 @@ prefix_ void senf::ppi::connector::PassiveConnector::unthrottle() } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::connector::PassiveConnector::PassiveConnector() @@ -172,7 +172,7 @@ prefix_ void senf::ppi::connector::PassiveConnector::emit() } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::ActiveConnector prefix_ senf::ppi::connector::PassiveConnector & senf::ppi::connector::ActiveConnector::peer() @@ -198,14 +198,14 @@ prefix_ bool senf::ppi::connector::ActiveConnector::throttled() return ! connected() || peer().throttled(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::connector::ActiveConnector::ActiveConnector() : throttleCallback_(), unthrottleCallback_(), notifyRoutes_(), throttled_(false) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::InputConnector prefix_ senf::Packet senf::ppi::connector::InputConnector::read() @@ -256,13 +256,13 @@ prefix_ bool senf::ppi::connector::InputConnector::empty() return queue_.empty(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::connector::InputConnector::InputConnector() {} -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::connector::InputConnector::enqueue(Packet const & p) @@ -271,7 +271,7 @@ prefix_ void senf::ppi::connector::InputConnector::enqueue(Packet const & p) v_enqueueEvent(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::OutputConnector prefix_ senf::ppi::connector::InputConnector & senf::ppi::connector::OutputConnector::peer() @@ -293,13 +293,13 @@ prefix_ void senf::ppi::connector::OutputConnector::write(Packet const & p) operator()(p); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::connector::OutputConnector::OutputConnector() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericPassiveInput prefix_ senf::ppi::connector::GenericPassiveInput::GenericPassiveInput() @@ -319,7 +319,7 @@ prefix_ bool senf::ppi::connector::GenericPassiveInput::boolean_test() return ! empty(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericPassiveOutput prefix_ senf::ppi::connector::GenericActiveInput & senf::ppi::connector::GenericPassiveOutput::peer() @@ -343,7 +343,7 @@ prefix_ void senf::ppi::connector::GenericPassiveOutput::connect(GenericActiveIn prefix_ senf::ppi::connector::GenericPassiveOutput::GenericPassiveOutput() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericActiveInput prefix_ senf::ppi::connector::GenericPassiveOutput & senf::ppi::connector::GenericActiveInput::peer() @@ -368,7 +368,7 @@ prefix_ void senf::ppi::connector::GenericActiveInput::request() prefix_ senf::ppi::connector::GenericActiveInput::GenericActiveInput() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericActiveOutput prefix_ senf::ppi::connector::GenericPassiveInput & senf::ppi::connector::GenericActiveOutput::peer() @@ -392,7 +392,7 @@ prefix_ void senf::ppi::connector::GenericActiveOutput::connect(GenericPassiveIn prefix_ senf::ppi::connector::GenericActiveOutput::GenericActiveOutput() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Connectors.ct b/senf/PPI/Connectors.ct index ee9d903..68ef75c 100644 --- a/senf/PPI/Connectors.ct +++ b/senf/PPI/Connectors.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::PassiveConnector template @@ -39,7 +39,7 @@ prefix_ void senf::ppi::connector::PassiveConnector::onRequest(Handler handler) callback_ = ppi::detail::Callback<>::make(handler, module()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::ActiveConnector template @@ -54,7 +54,7 @@ prefix_ void senf::ppi::connector::ActiveConnector::onUnthrottle(Handler handler unthrottleCallback_ = ppi::detail::Callback<>::make(handler, module()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::GenericPassiveInput template @@ -63,7 +63,7 @@ prefix_ void senf::ppi::connector::GenericPassiveInput::qdisc(QDisc const & disc qdisc_.reset(new QDisc(disc)); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Connectors.cti b/senf/PPI/Connectors.cti index 2b36442..880111e 100644 --- a/senf/PPI/Connectors.cti +++ b/senf/PPI/Connectors.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connectors::detail::TypedInputMixin template @@ -48,7 +48,7 @@ senf::ppi::connector::detail::TypedInputMixin::read() return operator()(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connector::detail::TypedOutputMixin template @@ -63,7 +63,7 @@ prefix_ void senf::ppi::connector::detail::TypedOutputMixin::wr static_cast(this)->OutputConnector::write(p); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Connectors.hh b/senf/PPI/Connectors.hh index 41994e1..852e5e6 100644 --- a/senf/PPI/Connectors.hh +++ b/senf/PPI/Connectors.hh @@ -39,7 +39,7 @@ #include "ModuleManager.hh" //#include "Connectors.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -698,7 +698,7 @@ namespace connector { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Connectors.cci" #include "Connectors.ct" #include "Connectors.cti" diff --git a/senf/PPI/Connectors.ih b/senf/PPI/Connectors.ih index 2c37b33..7ef94f8 100644 --- a/senf/PPI/Connectors.ih +++ b/senf/PPI/Connectors.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -57,7 +57,7 @@ namespace detail { }}}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/PPI/Connectors.test.cc b/senf/PPI/Connectors.test.cc index 7482a1a..0689e75 100644 --- a/senf/PPI/Connectors.test.cc +++ b/senf/PPI/Connectors.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace debug = ppi::module::debug; @@ -542,7 +542,7 @@ SENF_AUTO_UNIT_TEST(disconnect) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/DebugEvent.cci b/senf/PPI/DebugEvent.cci index b0425c5..191bd6c 100644 --- a/senf/PPI/DebugEvent.cci +++ b/senf/PPI/DebugEvent.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::DebugEvent prefix_ void senf::ppi::DebugEvent::trigger() @@ -37,7 +37,7 @@ prefix_ void senf::ppi::DebugEvent::trigger() callback(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::DebugEvent::v_enable() @@ -46,7 +46,7 @@ prefix_ void senf::ppi::DebugEvent::v_enable() prefix_ void senf::ppi::DebugEvent::v_disable() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/DebugEvent.hh b/senf/PPI/DebugEvent.hh index 12268f6..9281956 100644 --- a/senf/PPI/DebugEvent.hh +++ b/senf/PPI/DebugEvent.hh @@ -30,7 +30,7 @@ #include "Events.hh" //#include "DebugEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -44,12 +44,12 @@ namespace ppi { : public EventImplementation<> { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default default constructor // default copy constructor @@ -57,8 +57,8 @@ namespace ppi { // default destructor // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void trigger(); ///< Trigger event @@ -71,7 +71,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "DebugEvent.cci" //#include "DebugEvent.ct" //#include "DebugEvent.cti" diff --git a/senf/PPI/DebugEvent.test.cc b/senf/PPI/DebugEvent.test.cc index 1b17df4..0cf825e 100644 --- a/senf/PPI/DebugEvent.test.cc +++ b/senf/PPI/DebugEvent.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(debugEvent) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(debugEvent) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/DebugModules.cc b/senf/PPI/DebugModules.cc index cc7e1da..f1baff6 100644 --- a/senf/PPI/DebugModules.cc +++ b/senf/PPI/DebugModules.cc @@ -30,9 +30,9 @@ //#include "DebugModules.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::PassiveSource prefix_ void senf::ppi::module::debug::PassiveSource::request() @@ -46,7 +46,7 @@ prefix_ void senf::ppi::module::debug::PassiveSource::request() output.throttle(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::PassiveSink prefix_ void senf::ppi::module::debug::PassiveSink::request() @@ -54,7 +54,7 @@ prefix_ void senf::ppi::module::debug::PassiveSink::request() packets_.push_back(input()); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DebugModules.mpp" diff --git a/senf/PPI/DebugModules.cci b/senf/PPI/DebugModules.cci index 787fa35..1c6f5fb 100644 --- a/senf/PPI/DebugModules.cci +++ b/senf/PPI/DebugModules.cci @@ -28,9 +28,9 @@ #include "Setup.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::ActiveSource prefix_ senf::ppi::module::debug::ActiveSource::ActiveSource() @@ -49,7 +49,7 @@ prefix_ bool senf::ppi::module::debug::ActiveSource::boolean_test() return output; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::PassiveSource prefix_ senf::ppi::module::debug::PassiveSource::PassiveSource() @@ -85,7 +85,7 @@ senf::ppi::module::debug::PassiveSource::size() return packets_.size(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::module::debug::PassiveSource::v_init() @@ -94,7 +94,7 @@ prefix_ void senf::ppi::module::debug::PassiveSource::v_init() output.throttle(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::ActiveSink prefix_ senf::ppi::module::debug::ActiveSink::ActiveSink() @@ -113,7 +113,7 @@ prefix_ bool senf::ppi::module::debug::ActiveSink::boolean_test() return input; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::PassiveSink prefix_ senf::ppi::module::debug::PassiveSink::PassiveSink() @@ -176,7 +176,7 @@ prefix_ void senf::ppi::module::debug::PassiveSink::clear() packets_.erase(packets_.begin(), packets_.end()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::ActiveFeederSource prefix_ senf::ppi::module::debug::ActiveFeederSource::ActiveFeederSource() @@ -201,7 +201,7 @@ senf::ppi::module::debug::ActiveFeederSource::size() return source.size(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::ActiveFeederSink prefix_ senf::ppi::module::debug::ActiveFeederSink::ActiveFeederSink() @@ -248,7 +248,7 @@ prefix_ void senf::ppi::module::debug::ActiveFeederSink::clear() sink.clear(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/DebugModules.cti b/senf/PPI/DebugModules.cti index bbdd939..4e27572 100644 --- a/senf/PPI/DebugModules.cti +++ b/senf/PPI/DebugModules.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::debug::Logger template @@ -43,7 +43,7 @@ prefix_ senf::ppi::module::debug::Logger::Logger(std::string : label_ (label+"\n") {} -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -57,7 +57,7 @@ senf::ppi::module::debug::Logger::v_handlePacket(Packet const })); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/DebugModules.hh b/senf/PPI/DebugModules.hh index d6503f2..f28f028 100644 --- a/senf/PPI/DebugModules.hh +++ b/senf/PPI/DebugModules.hh @@ -35,7 +35,7 @@ #include //#include "DebugModules.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -285,7 +285,7 @@ namespace debug { }}}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "DebugModules.cci" //#include "DebugModules.ct" #include "DebugModules.cti" diff --git a/senf/PPI/DebugModules.test.cc b/senf/PPI/DebugModules.test.cc index 12a060e..5c6f7e9 100644 --- a/senf/PPI/DebugModules.test.cc +++ b/senf/PPI/DebugModules.test.cc @@ -40,7 +40,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace debug = senf::ppi::module::debug; namespace ppi = senf::ppi; @@ -144,7 +144,7 @@ SENF_AUTO_UNIT_TEST(logSink) BOOST_CHECK( ! logTarget.str().empty() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/DiscardSink.cc b/senf/PPI/DiscardSink.cc index a5fc154..9f46b19 100644 --- a/senf/PPI/DiscardSink.cc +++ b/senf/PPI/DiscardSink.cc @@ -30,7 +30,7 @@ //#include "DiscardSink.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ppi::module::DiscardSink::DiscardSink() { @@ -43,7 +43,7 @@ prefix_ void senf::ppi::module::DiscardSink::request() senf::IGNORE( input() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DiscardSink.mpp" diff --git a/senf/PPI/DiscardSink.hh b/senf/PPI/DiscardSink.hh index 3bce6ec..98c5bfc 100644 --- a/senf/PPI/DiscardSink.hh +++ b/senf/PPI/DiscardSink.hh @@ -31,7 +31,7 @@ #include "Module.hh" //#include "DiscardSink.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -59,7 +59,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "DiscardSink.cci" //#include "DiscardSink.ct" //#include "DiscardSink.cti" diff --git a/senf/PPI/DiscardSink.test.cc b/senf/PPI/DiscardSink.test.cc index 551842c..6cef7e9 100644 --- a/senf/PPI/DiscardSink.test.cc +++ b/senf/PPI/DiscardSink.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(discardSink) { @@ -55,7 +55,7 @@ SENF_AUTO_UNIT_TEST(discardSink) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Duplicators.cc b/senf/PPI/Duplicators.cc index 10e42b1..dfde54b 100644 --- a/senf/PPI/Duplicators.cc +++ b/senf/PPI/Duplicators.cc @@ -30,7 +30,7 @@ //#include "Duplicators.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::ppi::module::ActiveDuplicator::connectorSetup(ActiveDuplicator::ConnectorType & conn) @@ -47,7 +47,7 @@ prefix_ void senf::ppi::module::ActiveDuplicator::request() (*i)(p); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Duplicators.mpp" diff --git a/senf/PPI/Duplicators.cci b/senf/PPI/Duplicators.cci index 7a86dea..e936e88 100644 --- a/senf/PPI/Duplicators.cci +++ b/senf/PPI/Duplicators.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveDuplicator prefix_ senf::ppi::module::ActiveDuplicator::ActiveDuplicator() @@ -39,7 +39,7 @@ prefix_ senf::ppi::module::ActiveDuplicator::ActiveDuplicator() input.onRequest(&ActiveDuplicator::request); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Duplicators.hh b/senf/PPI/Duplicators.hh index 9c2d76e..b9d4c4c 100644 --- a/senf/PPI/Duplicators.hh +++ b/senf/PPI/Duplicators.hh @@ -34,7 +34,7 @@ #include "MultiConnectorMixin.hh" //#include "Duplicators.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -78,7 +78,7 @@ namespace module { -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Duplicators.cci" //#include "Duplicators.ct" //#include "Duplicators.cti" diff --git a/senf/PPI/Duplicators.test.cc b/senf/PPI/Duplicators.test.cc index bb81596..72127e3 100644 --- a/senf/PPI/Duplicators.test.cc +++ b/senf/PPI/Duplicators.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; @@ -64,7 +64,7 @@ SENF_AUTO_UNIT_TEST(activeDuplicator) BOOST_CHECK( sink2.pop_front() == p ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/EventManager.cc b/senf/PPI/EventManager.cc index ca2a598..c07f368 100644 --- a/senf/PPI/EventManager.cc +++ b/senf/PPI/EventManager.cc @@ -32,12 +32,12 @@ //#include "EventManager.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventManager -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::EventManager::destroyModule(module::Module & module) @@ -60,7 +60,7 @@ prefix_ void senf::ppi::EventManager::destroyEvent(EventDescriptor & event) "Internal failure: registrations still active while destroying event ??"); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "EventManager.mpp" diff --git a/senf/PPI/EventManager.cci b/senf/PPI/EventManager.cci index 85fcb1f..1bafcc0 100644 --- a/senf/PPI/EventManager.cci +++ b/senf/PPI/EventManager.cci @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventManager prefix_ senf::ppi::EventManager & senf::ppi::EventManager::instance() @@ -50,7 +50,7 @@ prefix_ senf::ClockService::clock_type senf::ppi::EventManager::time() return eventTime_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::EventManager::eventTime(ClockService::clock_type time) @@ -58,7 +58,7 @@ prefix_ void senf::ppi::EventManager::eventTime(ClockService::clock_type time) eventTime_ = time; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/EventManager.ct b/senf/PPI/EventManager.ct index 3051630..baf4e71 100644 --- a/senf/PPI/EventManager.ct +++ b/senf/PPI/EventManager.ct @@ -29,9 +29,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventManager template @@ -46,7 +46,7 @@ senf::ppi::EventManager::registerEvent(module::Module & module, static_cast< detail::EventBinding & >(registrations_.back())); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/EventManager.hh b/senf/PPI/EventManager.hh index 16f671b..dcb4997 100644 --- a/senf/PPI/EventManager.hh +++ b/senf/PPI/EventManager.hh @@ -34,7 +34,7 @@ #include "detail/EventBinding.hh" //#include "EventManager.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -48,7 +48,7 @@ namespace ppi { class EventManager { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types #ifndef DOXYGEN @@ -59,9 +59,9 @@ namespace ppi { {}; #endif - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static EventManager & instance(); @@ -72,8 +72,8 @@ namespace ppi { // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ClockService::clock_type now(); ///< Current time at last event dispatch ClockService::clock_type time(); ///< Expected time of the last event @@ -103,7 +103,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "EventManager.cci" #include "EventManager.ct" //#include "EventManager.cti" diff --git a/senf/PPI/EventManager.test.cc b/senf/PPI/EventManager.test.cc index b0fa4c1..591213d 100644 --- a/senf/PPI/EventManager.test.cc +++ b/senf/PPI/EventManager.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(eventManager) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(eventManager) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Events.cc b/senf/PPI/Events.cc index c866a86..861dff5 100644 --- a/senf/PPI/Events.cc +++ b/senf/PPI/Events.cc @@ -32,9 +32,9 @@ //#include "Events.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventDescriptor prefix_ senf::ppi::EventDescriptor::~EventDescriptor() @@ -68,7 +68,7 @@ prefix_ void senf::ppi::EventDescriptor::enabled(bool v) enabled_ = v; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Events.mpp" diff --git a/senf/PPI/Events.cci b/senf/PPI/Events.cci index 3282ba5..b65dfe0 100644 --- a/senf/PPI/Events.cci +++ b/senf/PPI/Events.cci @@ -28,9 +28,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventDescriptor prefix_ bool senf::ppi::EventDescriptor::enabled() @@ -38,14 +38,14 @@ prefix_ bool senf::ppi::EventDescriptor::enabled() return enabled_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::EventDescriptor::EventDescriptor() : enabled_(false), throttled_(false) {} -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::EventDescriptor::notifyThrottle() @@ -66,7 +66,7 @@ prefix_ void senf::ppi::EventDescriptor::unregisterRoute(ForwardingRoute & route routes_.erase(i); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Events.cti b/senf/PPI/Events.cti index 5c6bc97..5dd6698 100644 --- a/senf/PPI/Events.cti +++ b/senf/PPI/Events.cti @@ -30,12 +30,12 @@ #include "detail/EventBinding.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventImplementationHelper -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -52,7 +52,7 @@ prefix_ void senf::ppi::EventImplementationHelper::callback(Even binding().callback(event); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -64,10 +64,10 @@ senf::ppi::EventImplementationHelper::binding() return * static_cast(this)->binding_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventImplementationHelper -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -83,7 +83,7 @@ prefix_ void senf::ppi::EventImplementationHelper::callback() binding().callback(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -95,7 +95,7 @@ senf::ppi::EventImplementationHelper::binding() return * static_cast(this)->binding_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventImplementation template @@ -112,7 +112,7 @@ prefix_ senf::ppi::EventManager & senf::ppi::EventImplementation::man return binding_->manager(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -120,7 +120,7 @@ prefix_ senf::ppi::EventImplementation::EventImplementation() : binding_(0) {} -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -136,7 +136,7 @@ senf::ppi::EventImplementation::setBinding(detail::EventBinding #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(events) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(events) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IOEvent.cc b/senf/PPI/IOEvent.cc index afb7b73..23bfb2d 100644 --- a/senf/PPI/IOEvent.cc +++ b/senf/PPI/IOEvent.cc @@ -31,12 +31,12 @@ //#include "IOEvent.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::IOEvent -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::IOEvent::v_enable() @@ -66,7 +66,7 @@ prefix_ void senf::ppi::IOEvent::cb(int event) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IOEvent.mpp" diff --git a/senf/PPI/IOEvent.cci b/senf/PPI/IOEvent.cci index 73a7658..2d48ceb 100644 --- a/senf/PPI/IOEvent.cci +++ b/senf/PPI/IOEvent.cci @@ -28,14 +28,14 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ppi::IOEvent::IOEvent() : fd_ (-1), event_ ("senf::ppi::IOEvent", boost::bind(&IOEvent::cb,this,_1)) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IOEvent.ct b/senf/PPI/IOEvent.ct index e7837c1..db586b7 100644 --- a/senf/PPI/IOEvent.ct +++ b/senf/PPI/IOEvent.ct @@ -28,7 +28,7 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void senf::ppi::IOEvent::set(Handle handle, unsigned events) @@ -48,7 +48,7 @@ prefix_ void senf::ppi::IOEvent::set(Handle handle, unsigned events) } } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IOEvent.cti b/senf/PPI/IOEvent.cti index 907e42d..562f483 100644 --- a/senf/PPI/IOEvent.cti +++ b/senf/PPI/IOEvent.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::IOEvent template @@ -41,7 +41,7 @@ prefix_ senf::ppi::IOEvent::IOEvent(Handle handle, unsigned events) set(handle,events); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IOEvent.hh b/senf/PPI/IOEvent.hh index a314fd9..b31356f 100644 --- a/senf/PPI/IOEvent.hh +++ b/senf/PPI/IOEvent.hh @@ -32,7 +32,7 @@ #include //#include "IOEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -70,7 +70,7 @@ namespace ppi { : public EventImplementation { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types // This is stupid, however there is no way to import the Scheduler::EventId enum together @@ -84,17 +84,17 @@ namespace ppi { , Err = scheduler::FdEvent::EV_ERR /**< Some other error condition on FileHandle */ }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ IOEvent(); template IOEvent(Handle handle, unsigned events); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// template void set(Handle handle, unsigned events); @@ -122,7 +122,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IOEvent.cci" #include "IOEvent.ct" #include "IOEvent.cti" diff --git a/senf/PPI/IOEvent.test.cc b/senf/PPI/IOEvent.test.cc index 07b7d81..713534a 100644 --- a/senf/PPI/IOEvent.test.cc +++ b/senf/PPI/IOEvent.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(ioEvent) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(ioEvent) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IdleEvent.cc b/senf/PPI/IdleEvent.cc index 87f0bf2..65b50f4 100644 --- a/senf/PPI/IdleEvent.cc +++ b/senf/PPI/IdleEvent.cc @@ -32,12 +32,12 @@ //#include "IdleEvent.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::IdleEvent -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::IdleEvent::v_enable() @@ -57,7 +57,7 @@ prefix_ void senf::ppi::IdleEvent::cb() v_enable(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IdleEvent.mpp" diff --git a/senf/PPI/IdleEvent.cci b/senf/PPI/IdleEvent.cci index 7c43754..c866228 100644 --- a/senf/PPI/IdleEvent.cci +++ b/senf/PPI/IdleEvent.cci @@ -26,16 +26,16 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::IdleEvent prefix_ senf::ppi::IdleEvent::IdleEvent() : timer_ ("senf::ppi::IdleEvent", boost::bind(&IdleEvent::cb,this)) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IdleEvent.hh b/senf/PPI/IdleEvent.hh index 1e189a3..11ff42a 100644 --- a/senf/PPI/IdleEvent.hh +++ b/senf/PPI/IdleEvent.hh @@ -30,7 +30,7 @@ #include "Events.hh" //#include "IdleEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -62,7 +62,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IdleEvent.cci" //#include "IdleEvent.ct" //#include "IdleEvent.cti" diff --git a/senf/PPI/IdleEvent.test.cc b/senf/PPI/IdleEvent.test.cc index 3001db2..fb17558 100644 --- a/senf/PPI/IdleEvent.test.cc +++ b/senf/PPI/IdleEvent.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(idleEvent) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(idleEvent) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IntervalTimer.cc b/senf/PPI/IntervalTimer.cc index 08a6b00..3b23dc6 100644 --- a/senf/PPI/IntervalTimer.cc +++ b/senf/PPI/IntervalTimer.cc @@ -32,12 +32,12 @@ //#include "IntervalTimer.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::IntervalTimer -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::IntervalTimer::v_enable() @@ -73,7 +73,7 @@ prefix_ void senf::ppi::IntervalTimer::cb() schedule(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IntervalTimer.mpp" diff --git a/senf/PPI/IntervalTimer.cci b/senf/PPI/IntervalTimer.cci index 674ff7e..efd727e 100644 --- a/senf/PPI/IntervalTimer.cci +++ b/senf/PPI/IntervalTimer.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::IntervalTimer prefix_ senf::ppi::IntervalTimer::IntervalTimer(ClockService::clock_type interval, @@ -57,7 +57,7 @@ prefix_ std::pair senf::ppi::IntervalT return std::make_pair(interval_, eventsPerInterval_); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/IntervalTimer.hh b/senf/PPI/IntervalTimer.hh index 35e357f..95aef95 100644 --- a/senf/PPI/IntervalTimer.hh +++ b/senf/PPI/IntervalTimer.hh @@ -31,7 +31,7 @@ #include "Events.hh" //#include "IntervalTimer.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -60,16 +60,16 @@ namespace ppi { : public EventImplementation { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit IntervalTimer(ClockService::clock_type interval, unsigned eventsPerInterval=1); IntervalTimer(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void interval(ClockService::clock_type interval, unsigned eventsPerInterval=1); std::pair interval() const; @@ -91,7 +91,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IntervalTimer.cci" //#include "IntervalTimer.ct" //#include "IntervalTimer.cti" diff --git a/senf/PPI/IntervalTimer.test.cc b/senf/PPI/IntervalTimer.test.cc index 949d3a3..892c8ae 100644 --- a/senf/PPI/IntervalTimer.test.cc +++ b/senf/PPI/IntervalTimer.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace module = senf::ppi::module; namespace ppi = senf::ppi; @@ -88,7 +88,7 @@ SENF_AUTO_UNIT_TEST(intervalTimer) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Jack.cci b/senf/PPI/Jack.cci index 4df9356..7f5425c 100644 --- a/senf/PPI/Jack.cci +++ b/senf/PPI/Jack.cci @@ -29,7 +29,7 @@ #include "Setup.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ppi::connector::GenericActiveInputJack:: GenericActiveInputJack(GenericActiveInput & input) @@ -236,7 +236,7 @@ prefix_ void senf::ppi::connect(connector::GenericPassiveOutput & source, connect(source, target.connector()); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Jack.cti b/senf/PPI/Jack.cti index bc6d0ca..d84a7c7 100644 --- a/senf/PPI/Jack.cti +++ b/senf/PPI/Jack.cti @@ -29,7 +29,7 @@ #include "Setup.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ppi::connector::ActiveInputJack:: @@ -265,7 +265,7 @@ senf::ppi::connect(T & source, connector::GenericPassiveInputJack & target, connect(source, target.connector()); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Jack.hh b/senf/PPI/Jack.hh index deda179..77123e8 100644 --- a/senf/PPI/Jack.hh +++ b/senf/PPI/Jack.hh @@ -33,7 +33,7 @@ #include "Setup.hh" //#include "Jack.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -292,7 +292,7 @@ namespace connector { #endif }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Jack.cci" //#include "Jack.ct" #include "Jack.cti" diff --git a/senf/PPI/Jack.test.cc b/senf/PPI/Jack.test.cc index 0625db3..98336eb 100644 --- a/senf/PPI/Jack.test.cc +++ b/senf/PPI/Jack.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -177,7 +177,7 @@ SENF_AUTO_UNIT_TEST(jacks) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Joins.cc b/senf/PPI/Joins.cc index 8f4926d..e6dd80f 100644 --- a/senf/PPI/Joins.cc +++ b/senf/PPI/Joins.cc @@ -34,9 +34,9 @@ //#include "Joins.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveJoin prefix_ senf::ppi::module::PassiveJoin::PassiveJoin() @@ -46,7 +46,7 @@ prefix_ senf::ppi::module::PassiveJoin::PassiveJoin() output.onUnthrottle(&PassiveJoin::onUnthrottle); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::module::PassiveJoin::connectorSetup(connector::PassiveInput<> & conn) @@ -72,7 +72,7 @@ prefix_ void senf::ppi::module::PassiveJoin::onUnthrottle() bind(&connector::GenericPassiveInput::unthrottle, _1)); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PriorityJoin prefix_ senf::ppi::module::PriorityJoin::PriorityJoin() @@ -81,7 +81,7 @@ prefix_ senf::ppi::module::PriorityJoin::PriorityJoin() output.onRequest(&PriorityJoin::request); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void @@ -126,7 +126,7 @@ prefix_ void senf::ppi::module::PriorityJoin::onUnthrottle() output.unthrottle(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Joins.mpp" diff --git a/senf/PPI/Joins.cci b/senf/PPI/Joins.cci index 4b4f4e5..3d93923 100644 --- a/senf/PPI/Joins.cci +++ b/senf/PPI/Joins.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveJoin prefix_ void senf::ppi::module::PassiveJoin::request(connector::GenericPassiveInput & input) @@ -36,7 +36,7 @@ prefix_ void senf::ppi::module::PassiveJoin::request(connector::GenericPassiveIn output(input()); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Joins.hh b/senf/PPI/Joins.hh index 6c260c0..cc9776f 100644 --- a/senf/PPI/Joins.hh +++ b/senf/PPI/Joins.hh @@ -34,7 +34,7 @@ #include "MultiConnectorMixin.hh" //#include "Joins.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -126,7 +126,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Joins.cci" //#include "Joins.ct" //#include "Joins.cti" diff --git a/senf/PPI/Joins.test.cc b/senf/PPI/Joins.test.cc index 993e2a7..12cc835 100644 --- a/senf/PPI/Joins.test.cc +++ b/senf/PPI/Joins.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; @@ -143,7 +143,7 @@ SENF_AUTO_UNIT_TEST(priorityJoin) BOOST_CHECK( ! sink ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Module.cc b/senf/PPI/Module.cc index 449bf2b..1376290 100644 --- a/senf/PPI/Module.cc +++ b/senf/PPI/Module.cc @@ -30,9 +30,9 @@ //#include "Module.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Module.mpp" diff --git a/senf/PPI/Module.cci b/senf/PPI/Module.cci index 78b7be3..e967b4c 100644 --- a/senf/PPI/Module.cci +++ b/senf/PPI/Module.cci @@ -33,12 +33,12 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::Module -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::module::Module::v_init() @@ -87,7 +87,7 @@ senf::ppi::module::Module::addRoute(std::auto_ptr route) return routes_.back(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // public members prefix_ senf::ppi::module::Module::~Module() @@ -112,7 +112,7 @@ prefix_ senf::ClockService::clock_type senf::ppi::module::Module::now() return eventManager().now(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::module::Module::Module() @@ -131,7 +131,7 @@ prefix_ void senf::ppi::module::Module::destroy() eventManager().destroyModule(*this); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Module.ct b/senf/PPI/Module.ct index d592b1b..34a5617 100644 --- a/senf/PPI/Module.ct +++ b/senf/PPI/Module.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::Module #ifndef DOXYGEN @@ -74,7 +74,7 @@ prefix_ void senf::ppi::module::Module::registerEvent(EventDescriptor & descript {} #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::detail namespace members template @@ -102,7 +102,7 @@ route(Module & module, Source & source, Target & target, module.registerConnector(target); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Module.hh b/senf/PPI/Module.hh index 522db53..74bb6ee 100644 --- a/senf/PPI/Module.hh +++ b/senf/PPI/Module.hh @@ -36,7 +36,7 @@ #include "ModuleManager.hh" //#include "Module.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -348,7 +348,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Module.cci" #include "Module.ct" //#include "Module.cti" diff --git a/senf/PPI/Module.ih b/senf/PPI/Module.ih index 9d20812..2b84635 100644 --- a/senf/PPI/Module.ih +++ b/senf/PPI/Module.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -59,7 +59,7 @@ namespace detail { }}}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/PPI/Module.test.cc b/senf/PPI/Module.test.cc index 44f2bab..08495a5 100644 --- a/senf/PPI/Module.test.cc +++ b/senf/PPI/Module.test.cc @@ -39,7 +39,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; @@ -133,7 +133,7 @@ SENF_AUTO_UNIT_TEST(delayedInit) BOOST_CHECK( maker.tester->init ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/ModuleManager.cc b/senf/PPI/ModuleManager.cc index 82aef9d..d4733d4 100644 --- a/senf/PPI/ModuleManager.cc +++ b/senf/PPI/ModuleManager.cc @@ -35,9 +35,9 @@ //#include "ModuleManager.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ModuleManager prefix_ void senf::ppi::ModuleManager::init() @@ -67,7 +67,7 @@ prefix_ void senf::ppi::ModuleManager::run() scheduler::process(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ senf::ppi::ModuleManager::ModuleManager() @@ -113,7 +113,7 @@ prefix_ void senf::ppi::ModuleManager::dumpModules(std::ostream & os) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ModuleManager.mpp" diff --git a/senf/PPI/ModuleManager.cci b/senf/PPI/ModuleManager.cci index 3ec07f4..e718754 100644 --- a/senf/PPI/ModuleManager.cci +++ b/senf/PPI/ModuleManager.cci @@ -27,9 +27,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ModuleManager prefix_ senf::ppi::ModuleManager & senf::ppi::ModuleManager::instance() @@ -87,7 +87,7 @@ prefix_ senf::console::DirectoryNode & senf::ppi::ModuleManager::consoleDir() return consoleDir_.node(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ModuleManager::Initializable prefix_ senf::ppi::ModuleManager::Initializable::Initializable() @@ -123,7 +123,7 @@ senf::ppi::ModuleManager::Initializable::moduleManager() return ModuleManager::instance(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/ModuleManager.hh b/senf/PPI/ModuleManager.hh index 9512721..87c44d3 100644 --- a/senf/PPI/ModuleManager.hh +++ b/senf/PPI/ModuleManager.hh @@ -34,7 +34,7 @@ #include //#include "ModuleManager.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -47,7 +47,7 @@ namespace ppi { class ModuleManager { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types struct Initializable @@ -62,9 +62,9 @@ namespace ppi { virtual void v_init() = 0; }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static ModuleManager & instance(); @@ -75,8 +75,8 @@ namespace ppi { // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void init(); ///< Called by senf::ppi::init() void run(); ///< Called by senf::ppi::run() @@ -122,7 +122,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ModuleManager.cci" //#include "ModuleManager.ct" //#include "ModuleManager.cti" diff --git a/senf/PPI/ModuleManager.test.cc b/senf/PPI/ModuleManager.test.cc index 92a8b13..c824186 100644 --- a/senf/PPI/ModuleManager.test.cc +++ b/senf/PPI/ModuleManager.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(moduleManager) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(moduleManager) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/MonitorModule.ct b/senf/PPI/MonitorModule.ct index 6e3efce..261342d 100644 --- a/senf/PPI/MonitorModule.ct +++ b/senf/PPI/MonitorModule.ct @@ -28,7 +28,7 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void senf::ppi::module::MonitorModule::request() @@ -53,7 +53,7 @@ prefix_ void senf::ppi::module::MonitorModule::unthrottle() input.unthrottle(); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/MonitorModule.cti b/senf/PPI/MonitorModule.cti index 335bcca..7ab3120 100644 --- a/senf/PPI/MonitorModule.cti +++ b/senf/PPI/MonitorModule.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ppi::module::MonitorModule::MonitorModule() @@ -39,7 +39,7 @@ prefix_ senf::ppi::module::MonitorModule::MonitorModule() output.onUnthrottle(&MonitorModule::unthrottle); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/MonitorModule.hh b/senf/PPI/MonitorModule.hh index ad99c18..d8c5e5b 100644 --- a/senf/PPI/MonitorModule.hh +++ b/senf/PPI/MonitorModule.hh @@ -31,7 +31,7 @@ #include "Connectors.hh" //#include "MonitorModule.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -93,7 +93,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "MonitorModule.cci" #include "MonitorModule.ct" #include "MonitorModule.cti" diff --git a/senf/PPI/MonitorModule.test.cc b/senf/PPI/MonitorModule.test.cc index d0e55ad..f0c6da1 100644 --- a/senf/PPI/MonitorModule.test.cc +++ b/senf/PPI/MonitorModule.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -128,7 +128,7 @@ SENF_AUTO_UNIT_TEST(monitorModuleDynamicConnect) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/MultiConnectorMixin.ct b/senf/PPI/MultiConnectorMixin.ct index f38ff8b..9d41883 100644 --- a/senf/PPI/MultiConnectorMixin.ct +++ b/senf/PPI/MultiConnectorMixin.ct @@ -30,9 +30,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::MultiConnectorMixin template @@ -49,7 +49,7 @@ disconnected(ConnectorType_ const & c) } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::MultiConnectorMixin template @@ -67,7 +67,7 @@ disconnected(ConnectorType_ const & c) } } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/MultiConnectorMixin.cti b/senf/PPI/MultiConnectorMixin.cti index 691038e..7be0689 100644 --- a/senf/PPI/MultiConnectorMixin.cti +++ b/senf/PPI/MultiConnectorMixin.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::detail::MultiConnectorWrapper template @@ -40,7 +40,7 @@ prefix_ void senf::ppi::module::detail::MultiConnectorWrapper static_cast(this->module()).disconnected(*this); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::MultiConnectorMixin template @@ -65,7 +65,7 @@ senf::ppi::module::MultiConnectorMixin template @@ -89,7 +89,7 @@ senf::ppi::module::MultiConnectorMixin connectorDestroy(ConnectorType const &) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::MultiConnectorMixin template @@ -100,7 +100,7 @@ disconnected(ConnectorType_ const & c) static_cast(this)->connectorDestroy(&c); } -//////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN @@ -114,7 +114,7 @@ disconnected(ConnectorType_ const & c) #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/MultiConnectorMixin.hh b/senf/PPI/MultiConnectorMixin.hh index 13d2ff8..928ec03 100644 --- a/senf/PPI/MultiConnectorMixin.hh +++ b/senf/PPI/MultiConnectorMixin.hh @@ -40,7 +40,7 @@ #include "MultiConnectorMixin.mpp" #include "MultiConnectorMixin.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -355,7 +355,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "MultiConnectorMixin.cci" #include "MultiConnectorMixin.ct" #include "MultiConnectorMixin.cti" diff --git a/senf/PPI/MultiConnectorMixin.ih b/senf/PPI/MultiConnectorMixin.ih index 3741bf2..02aca14 100644 --- a/senf/PPI/MultiConnectorMixin.ih +++ b/senf/PPI/MultiConnectorMixin.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -120,7 +120,7 @@ namespace detail { }}}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/PPI/MultiConnectorMixin.mpp b/senf/PPI/MultiConnectorMixin.mpp index 0de3682..afbfbd8 100644 --- a/senf/PPI/MultiConnectorMixin.mpp +++ b/senf/PPI/MultiConnectorMixin.mpp @@ -39,9 +39,9 @@ #include #include -// ///////////////////////////mpp.p//////////////////////////////////////// -#elif BOOST_PP_IS_ITERATING // //////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-///////////////////////////mpp.p//////////////////////////////////////// +#elif BOOST_PP_IS_ITERATING //-//////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Local Macros // => template @@ -82,17 +82,17 @@ #define mpp_CallParamsKomma2() \ BOOST_PP_ENUM_TRAILING_PARAMS(BOOST_PP_FRAME_ITERATION(1), b) -// //////////////////////////////////////////////////////////////////////// -#if BOOST_PP_ITERATION_FLAGS()==1 // ////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#if BOOST_PP_ITERATION_FLAGS()==1 //-////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // senf::ppi::module::MultiConnectorMixin member declaration 1..MAX_ARGS mpp_TplParams() ConnectorType_ & newConnector( mpp_FnParams() ); -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==2 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==2 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // senf::ppi namespace member declaration 1..MAX_ARGS // Here the reference to Source::ConnectorType / Target::ConnectorType @@ -121,9 +121,9 @@ connect(Source & source, Target & target mpp_FnParamsKomma()); 4 )) #include BOOST_PP_ITERATE() -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==4 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==4 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // senf::ppi namespace member declaration 1..MAX_ARGS x 1..MAX_ARGS template @@ -134,21 +134,21 @@ typename boost::enable_if< boost::tuple >::type connect(Source & source mpp_FnParamsKomma(), Target & target mpp_FnParamsKomma2()); -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==8 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==8 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // senf::ppi::module::detail::MultiConnectorMixinAccess member declaration 1..MAX_ARGS template static typename Module::ConnectorType & newConnector(Module & module mpp_FnParamsKomma()); -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==3 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==3 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Implementation 1..MAX_ARGS -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Map container template @@ -162,7 +162,7 @@ newConnector(mpp_FnParams()) return * connectors_.insert(key, conn).first->second; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Vector container template @@ -178,7 +178,7 @@ newConnector(mpp_FnParams()) return conn; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // User managed container template @@ -193,7 +193,7 @@ newConnector(mpp_FnParams()) return cref; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::connect template @@ -224,7 +224,7 @@ senf::ppi::connect(Source & source, Target & target mpp_FnParamsKomma()) return c; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::detail::MultiConnectorMixinAccess members template @@ -242,9 +242,9 @@ senf::ppi::module::detail::MultiConnectorMixinAccess::newConnector( 5 )) #include BOOST_PP_ITERATE() -//////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==5 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==5 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Implementation 1..MAX_ARGS x 1..MAX_ARGS template @@ -263,9 +263,9 @@ senf::ppi::connect(Source & source mpp_FnParamsKomma(), Target & target mpp_FnPa return boost::tie(s,t); } -// //////////////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#endif //-///////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Undefine local Macros #undef mpp_CallParamsKomma2 @@ -281,14 +281,14 @@ senf::ppi::connect(Source & source mpp_FnParamsKomma(), Target & target mpp_FnPa #undef mpp_TplParams_ #undef mpp_TplParams -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// /* (save-excursion (re-search-backward "^// Undefine local Macros") (forward-line 1) (delete-region (point) (progn (search-forward - "// ////") (forward-line -1) (point))) (insert "\n") (let ((b (point)) + "//-////") (forward-line -1) (point))) (insert "\n") (let ((b (point)) (e (progn (insert (save-excursion (re-search-backward "^// Local Macros") (search-forward "#define") (beginning-of-line) - (buffer-substring (point) (progn (search-forward "// ////") + (buffer-substring (point) (progn (search-forward "//-////") (search-backward "#define") (forward-line 1) (point))))) (point)))) (reverse-region b e) (shell-command-on-region b e "grep -F '#define'" nil t) (goto-char b) (while (looking-at "#define") (delete-char 7) (insert @@ -296,9 +296,9 @@ senf::ppi::connect(Source & source mpp_FnParamsKomma(), Target & target mpp_FnPa (delete-region (1- (point)) (progn (end-of-line) (point))) (forward-line 1)))) */ -// //////////////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// -// ///////////////////////////mpp.e//////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#endif //-///////////////////////////////////////////////////////////////// +//-///////////////////////////mpp.e//////////////////////////////////////// // Local Variables: diff --git a/senf/PPI/MultiConnectorMixin.test.cc b/senf/PPI/MultiConnectorMixin.test.cc index b387e24..998a5c7 100644 --- a/senf/PPI/MultiConnectorMixin.test.cc +++ b/senf/PPI/MultiConnectorMixin.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; namespace module = ppi::module; @@ -220,7 +220,7 @@ SENF_AUTO_UNIT_TEST(multiConnectorMixin_multipleModules) BOOST_CHECK( sink.pop_front() == p ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/PassiveQueue.cc b/senf/PPI/PassiveQueue.cc index 144c30e..f26f0ad 100644 --- a/senf/PPI/PassiveQueue.cc +++ b/senf/PPI/PassiveQueue.cc @@ -30,12 +30,12 @@ //#include "PassiveQueue.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveQueue -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::module::PassiveQueue::v_init() @@ -57,7 +57,7 @@ prefix_ void senf::ppi::module::PassiveQueue::onOutput() output.throttle(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PassiveQueue.mpp" diff --git a/senf/PPI/PassiveQueue.cci b/senf/PPI/PassiveQueue.cci index 60df34a..ad72bb5 100644 --- a/senf/PPI/PassiveQueue.cci +++ b/senf/PPI/PassiveQueue.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveQueue prefix_ senf::ppi::module::PassiveQueue::PassiveQueue() @@ -38,7 +38,7 @@ prefix_ senf::ppi::module::PassiveQueue::PassiveQueue() output.onRequest(&PassiveQueue::onOutput); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/PassiveQueue.cti b/senf/PPI/PassiveQueue.cti index a397e7d..5065606 100644 --- a/senf/PPI/PassiveQueue.cti +++ b/senf/PPI/PassiveQueue.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveQueue template @@ -39,7 +39,7 @@ prefix_ void senf::ppi::module::PassiveQueue::qdisc(QDiscipline const & disc) input.qdisc(disc); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/PassiveQueue.hh b/senf/PPI/PassiveQueue.hh index 12cb25a..d613d85 100644 --- a/senf/PPI/PassiveQueue.hh +++ b/senf/PPI/PassiveQueue.hh @@ -32,7 +32,7 @@ #include "predecl.hh" //#include "PassiveQueue.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -78,7 +78,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "PassiveQueue.cci" //#include "PassiveQueue.ct" #include "PassiveQueue.cti" diff --git a/senf/PPI/PassiveQueue.test.cc b/senf/PPI/PassiveQueue.test.cc index 6611970..d501d77 100644 --- a/senf/PPI/PassiveQueue.test.cc +++ b/senf/PPI/PassiveQueue.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; @@ -65,7 +65,7 @@ SENF_AUTO_UNIT_TEST(passiveQueue) BOOST_CHECK( ! sink ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Queueing.cc b/senf/PPI/Queueing.cc index 0b7c773..e26ce52 100644 --- a/senf/PPI/Queueing.cc +++ b/senf/PPI/Queueing.cc @@ -31,9 +31,9 @@ //#include "Queueing.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ThresholdQueueing prefix_ void senf::ppi::ThresholdQueueing::update(connector::GenericPassiveInput & input, Event event) @@ -50,7 +50,7 @@ prefix_ void senf::ppi::ThresholdQueueing::update(connector::GenericPassiveInput } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Queueing.mpp" diff --git a/senf/PPI/Queueing.cci b/senf/PPI/Queueing.cci index ae3598e..b3a8bba 100644 --- a/senf/PPI/Queueing.cci +++ b/senf/PPI/Queueing.cci @@ -26,22 +26,22 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::QueueingDiscipline prefix_ senf::ppi::QueueingDiscipline::~QueueingDiscipline() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ThresholdQueueing prefix_ senf::ppi::ThresholdQueueing::ThresholdQueueing(unsigned high, unsigned low) : high_(high), low_(low) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Queueing.hh b/senf/PPI/Queueing.hh index 9407cae..861351a 100644 --- a/senf/PPI/Queueing.hh +++ b/senf/PPI/Queueing.hh @@ -30,7 +30,7 @@ #include "predecl.hh" //#include "Queueing.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -94,7 +94,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Queueing.cci" //#include "Queueing.ct" //#include "Queueing.cti" diff --git a/senf/PPI/Queueing.test.cc b/senf/PPI/Queueing.test.cc index 839d150..8344d52 100644 --- a/senf/PPI/Queueing.test.cc +++ b/senf/PPI/Queueing.test.cc @@ -38,7 +38,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; @@ -112,7 +112,7 @@ SENF_AUTO_UNIT_TEST(PPI_Queueing) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/QueueingSocketSink.cc b/senf/PPI/QueueingSocketSink.cc index 7d0dc86..a12a664 100644 --- a/senf/PPI/QueueingSocketSink.cc +++ b/senf/PPI/QueueingSocketSink.cc @@ -31,11 +31,11 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PPI_REGISTER_QALGORITHM( "FIFOQueueingAlgorithm", senf::ppi::FIFOQueueingAlgorithm); -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::QueueingAlgorithm prefix_ senf::ppi::QueueingAlgorithm::QueueingAlgorithm() @@ -51,7 +51,7 @@ prefix_ senf::console::DirectoryNode & senf::ppi::QueueingAlgorithm::consoleDir( return dir_; } -///////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::QueueingAlgorithmRegistry prefix_ void senf::ppi::QueueingAlgorithmRegistry::dump(std::ostream & os) @@ -72,7 +72,7 @@ prefix_ senf::ppi::QueueingAlgorithm::ptr senf::ppi::QueueingAlgorithmRegistry:: throw Exception("QueueingAlgorithm not registered: ") << key; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::FIFOQueueingAlgorithm prefix_ senf::ppi::FIFOQueueingAlgorithm::FIFOQueueingAlgorithm() @@ -110,5 +110,5 @@ prefix_ senf::ppi::QueueingAlgorithm::ptr senf::ppi::FIFOQueueingAlgorithm::crea return new FIFOQueueingAlgorithm(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/QueueingSocketSink.cci b/senf/PPI/QueueingSocketSink.cci index 965302c..4d812c2 100644 --- a/senf/PPI/QueueingSocketSink.cci +++ b/senf/PPI/QueueingSocketSink.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::QueueingAlgorithm prefix_ unsigned senf::ppi::QueueingAlgorithm::size() @@ -54,7 +54,7 @@ prefix_ bool senf::ppi::QueueingAlgorithm::enqueue(Packet const & packet) } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::FIFOQueueingAlgorithm prefix_ unsigned senf::ppi::FIFOQueueingAlgorithm::v_size() @@ -64,7 +64,7 @@ prefix_ unsigned senf::ppi::FIFOQueueingAlgorithm::v_size() } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/QueueingSocketSink.ct b/senf/PPI/QueueingSocketSink.ct index b20a961..836c1cd 100644 --- a/senf/PPI/QueueingSocketSink.ct +++ b/senf/PPI/QueueingSocketSink.ct @@ -29,9 +29,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::QueueingAlgorithmRegistry template @@ -43,7 +43,7 @@ prefix_ void senf::ppi::QueueingAlgorithmRegistry::registerQAlgorithm(std::strin throw Exception("Duplicated QAlgorithm Registration ") << key; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::QueueingAlgorithmRegistry_Entry template @@ -53,7 +53,7 @@ prefix_ senf::ppi::QueueingAlgorithm::ptr senf::ppi::detail::QueueingAlgorithmRe return QAlgorithm::create(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveQueueingSocketSink template @@ -137,7 +137,7 @@ prefix_ void senf::ppi::module::PassiveQueueingSocketSink::setQAlgorithm qAlgorithm( QueueingAlgorithmRegistry::instance().createQAlgorithm( key)); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/QueueingSocketSink.cti b/senf/PPI/QueueingSocketSink.cti index 2d43930..eadc126 100644 --- a/senf/PPI/QueueingSocketSink.cti +++ b/senf/PPI/QueueingSocketSink.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::QueueingAlgorithmRegistry::RegistrationProxy template @@ -40,7 +40,7 @@ prefix_ senf::ppi::QueueingAlgorithmRegistry::RegistrationProxy::Reg }; -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveQueueingSocketSink template @@ -62,7 +62,7 @@ prefix_ senf::ppi::QueueingAlgorithm & senf::ppi::module::PassiveQueueingSocketS } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/QueueingSocketSink.hh b/senf/PPI/QueueingSocketSink.hh index 9bfc88d..8c6025e 100644 --- a/senf/PPI/QueueingSocketSink.hh +++ b/senf/PPI/QueueingSocketSink.hh @@ -32,7 +32,7 @@ #include //#include "QueueingSocketSink.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -171,7 +171,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "QueueingSocketSink.cci" #include "QueueingSocketSink.ct" #include "QueueingSocketSink.cti" diff --git a/senf/PPI/QueueingSocketSink.test.cc b/senf/PPI/QueueingSocketSink.test.cc index 3c46d4a..cdf60b0 100644 --- a/senf/PPI/QueueingSocketSink.test.cc +++ b/senf/PPI/QueueingSocketSink.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace module = ppi::module; namespace debug = module::debug; @@ -138,7 +138,7 @@ SENF_AUTO_UNIT_TEST(passiveQueueingSocketSink) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/RateAnalyzer.cc b/senf/PPI/RateAnalyzer.cc index 2094a35..96e21b8 100644 --- a/senf/PPI/RateAnalyzer.cc +++ b/senf/PPI/RateAnalyzer.cc @@ -30,7 +30,7 @@ //#include "RateAnalyzer.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ppi::module::RateAnalyzer::RateAnalyzer() : packets_ (0u), bytes_ (0u), minSize_ (0u), maxSize_ (0u), factor_ (0.0f) @@ -64,7 +64,7 @@ prefix_ void senf::ppi::module::RateAnalyzer::tick() packets_ = bytes_ = minSize_ = maxSize_ = 0; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "RateAnalyzer.mpp" diff --git a/senf/PPI/RateAnalyzer.hh b/senf/PPI/RateAnalyzer.hh index b19fd76..2cbc704 100644 --- a/senf/PPI/RateAnalyzer.hh +++ b/senf/PPI/RateAnalyzer.hh @@ -33,7 +33,7 @@ #include "IntervalTimer.hh" //#include "RateAnalyzer.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -70,14 +70,14 @@ namespace module { { SENF_PPI_MODULE(RateAnalyzer); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///\{ + //\{ RateAnalyzer(); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// // Statistics signals struct Statistics { @@ -103,7 +103,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "RateAnalyzer.cci" //#include "RateAnalyzer.ct" //#include "RateAnalyzer.cti" diff --git a/senf/PPI/RateAnalyzer.test.cc b/senf/PPI/RateAnalyzer.test.cc index bcf6e54..b1d3e7c 100644 --- a/senf/PPI/RateAnalyzer.test.cc +++ b/senf/PPI/RateAnalyzer.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -105,7 +105,7 @@ SENF_AUTO_UNIT_TEST(rateAnalyzer) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/RateFilter.cc b/senf/PPI/RateFilter.cc index 63cdcbe..b637a72 100644 --- a/senf/PPI/RateFilter.cc +++ b/senf/PPI/RateFilter.cc @@ -30,7 +30,7 @@ //#include "RateFilter.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// senf::ppi::module::RateFilter::RateFilter(senf::ClockService::clock_type interval) : timer_(interval) @@ -57,7 +57,7 @@ void senf::ppi::module::RateFilter::interval(senf::ClockService::clock_type inte } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "RateFilter.mpp" diff --git a/senf/PPI/RateFilter.hh b/senf/PPI/RateFilter.hh index cedea96..c0b77de 100644 --- a/senf/PPI/RateFilter.hh +++ b/senf/PPI/RateFilter.hh @@ -32,7 +32,7 @@ #include "IntervalTimer.hh" //#include "RateFilter.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -58,7 +58,7 @@ private: }}} //namespaces -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "RateFilter.cci" //#include "RateFilter.ct" //#include "RateFilter.cti" diff --git a/senf/PPI/RateFilter.test.cc b/senf/PPI/RateFilter.test.cc index 35ec9bc..3a6f54a 100644 --- a/senf/PPI/RateFilter.test.cc +++ b/senf/PPI/RateFilter.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace module = ppi::module; namespace debug = module::debug; @@ -115,7 +115,7 @@ SENF_AUTO_UNIT_TEST(rateFilter_changeInterval) BOOST_CHECK_EQUAL( sink.size(), 4); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Route.cci b/senf/PPI/Route.cci index 4c45f95..a99873a 100644 --- a/senf/PPI/Route.cci +++ b/senf/PPI/Route.cci @@ -28,9 +28,9 @@ #include "Events.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::RouteBase prefix_ senf::ppi::RouteBase::~RouteBase() @@ -48,14 +48,14 @@ prefix_ bool senf::ppi::RouteBase::hasEvent(EventDescriptor const & event) return v_hasEvent(event); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::RouteBase::RouteBase(module::Module & module) : module_(&module) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ForwardingRoute prefix_ bool senf::ppi::ForwardingRoute::autoThrottling() @@ -75,14 +75,14 @@ prefix_ bool senf::ppi::ForwardingRoute::throttled() return v_throttled(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::ForwardingRoute::ForwardingRoute(module::Module & module) : RouteBase(module), autoThrottling_(true) {} -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::ForwardingRoute::notifyThrottle() @@ -95,7 +95,7 @@ prefix_ void senf::ppi::ForwardingRoute::notifyUnthrottle() v_notifyUnthrottle(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Route.ct b/senf/PPI/Route.ct index 4482f7c..738d98f 100644 --- a/senf/PPI/Route.ct +++ b/senf/PPI/Route.ct @@ -28,12 +28,12 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::ForwardingRouteImplementation -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -64,7 +64,7 @@ prefix_ bool senf::ppi::detail::ForwardingRouteImplementation::v_ throttled(this->target(),boost::mpl::bool_::notifySource>()) ); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Route.cti b/senf/PPI/Route.cti index d6ed64e..9708c22 100644 --- a/senf/PPI/Route.cti +++ b/senf/PPI/Route.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::Route template @@ -39,10 +39,10 @@ prefix_ senf::ppi::Route::Route(module::Module & module, Source & : Base(module,source,target) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ForwardingRoute -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -69,7 +69,7 @@ prefix_ void senf::ppi::ForwardingRoute::notifyUnthrottle(T & ob) ob.notifyUnthrottle(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::BaseRouteImplementation template @@ -86,7 +86,7 @@ prefix_ Target & senf::ppi::detail::BaseRouteImplementation: return *target_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -95,7 +95,7 @@ BaseRouteImplementation(module::Module & module, Source & source, Target & targe : Base(module), source_(&source), target_(&target) {} -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -146,10 +146,10 @@ isSame(EventDescriptor const & event, EventDescriptor const & other) return &event == &other; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::ForwardingRouteImplementation -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -171,7 +171,7 @@ senf::ppi::detail::ForwardingRouteImplementation:: unregisterRoute(this->target()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -220,10 +220,10 @@ throttled(T & ob, boost::mpl::bool_ const &) return false; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::RouteImplementation2 -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -232,10 +232,10 @@ RouteImplementation2(module::Module & module, Source & source, Target & target) : Base(module,source,target) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::RouteImplementation -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -244,7 +244,7 @@ RouteImplementation(module::Module & module, Source & source, Target & target) : Base(module,source,target) {} -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Route.hh b/senf/PPI/Route.hh index 9838826..2e20140 100644 --- a/senf/PPI/Route.hh +++ b/senf/PPI/Route.hh @@ -31,7 +31,7 @@ #include "predecl.hh" //#include "Route.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -166,7 +166,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Route.cci" #include "Route.ct" #include "Route.cti" diff --git a/senf/PPI/Route.ih b/senf/PPI/Route.ih index 61d2ed8..b57f520 100644 --- a/senf/PPI/Route.ih +++ b/senf/PPI/Route.ih @@ -33,7 +33,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN @@ -216,7 +216,7 @@ namespace detail { #endif -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/PPI/Route.test.cc b/senf/PPI/Route.test.cc index 6d81ba1..9f03d29 100644 --- a/senf/PPI/Route.test.cc +++ b/senf/PPI/Route.test.cc @@ -43,7 +43,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace connector = ppi::connector; @@ -178,7 +178,7 @@ SENF_AUTO_UNIT_TEST(route) BOOST_CHECK( activeSink ); } -/////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // test connection new modules on runtime namespace { @@ -240,7 +240,7 @@ SENF_AUTO_UNIT_TEST(connect_runtime) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Setup.cci b/senf/PPI/Setup.cci index 127a45f..5ca16cd 100644 --- a/senf/PPI/Setup.cci +++ b/senf/PPI/Setup.cci @@ -31,7 +31,7 @@ #include "ModuleManager.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN @@ -59,7 +59,7 @@ prefix_ void senf::ppi::init() #endif -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Setup.cti b/senf/PPI/Setup.cti index 7245c5c..5e6bee1 100644 --- a/senf/PPI/Setup.cti +++ b/senf/PPI/Setup.cti @@ -29,7 +29,7 @@ #include "Jack.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN @@ -66,7 +66,7 @@ connect(T1 & source, T2 & target, #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/Setup.hh b/senf/PPI/Setup.hh index 62ecd23..7f0c7ab 100644 --- a/senf/PPI/Setup.hh +++ b/senf/PPI/Setup.hh @@ -32,7 +32,7 @@ #include "predecl.hh" //#include "Setup.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -125,7 +125,7 @@ namespace detail { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Setup.cci" //#include "Setup.ct" #include "Setup.cti" diff --git a/senf/PPI/Setup.test.cc b/senf/PPI/Setup.test.cc index dac7976..b8fc93f 100644 --- a/senf/PPI/Setup.test.cc +++ b/senf/PPI/Setup.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(setup) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(setup) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSink.cci b/senf/PPI/SocketSink.cci index 80897f7..7e54708 100644 --- a/senf/PPI/SocketSink.cci +++ b/senf/PPI/SocketSink.cci @@ -28,9 +28,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::ConnectedDgramWriter prefix_ bool senf::ppi::ConnectedDgramWriter::operator()(Handle & handle, @@ -39,7 +39,7 @@ prefix_ bool senf::ppi::ConnectedDgramWriter::operator()(Handle & handle, return handle.write(packet.data()) != packet.data().begin(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSink.ct b/senf/PPI/SocketSink.ct index 1936ea3..1bb1dba 100644 --- a/senf/PPI/SocketSink.ct +++ b/senf/PPI/SocketSink.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveSocketSink template @@ -65,7 +65,7 @@ prefix_ senf::ppi::module::ActiveSocketSink::ActiveSocketSink(Handle con route(input, event_); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -74,7 +74,7 @@ prefix_ void senf::ppi::module::ActiveSocketSink::write() writer_(handle_,input()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveSocketSink template @@ -113,7 +113,7 @@ prefix_ senf::ppi::module::PassiveSocketSink::PassiveSocketSink(Handle c checkThrottle(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -131,7 +131,7 @@ prefix_ void senf::ppi::module::PassiveSocketSink::checkThrottle() input.throttle(); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSink.cti b/senf/PPI/SocketSink.cti index 2b11387..a46535e 100644 --- a/senf/PPI/SocketSink.cti +++ b/senf/PPI/SocketSink.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::TargetDgramWriter template @@ -67,7 +67,7 @@ prefix_ bool senf::ppi::TargetDgramWriter::operator()(Handle & handl return false; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveSocketSink template @@ -90,7 +90,7 @@ prefix_ void senf::ppi::module::ActiveSocketSink::handle(Handle const & event_.set(handle_, IOEvent::Write); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::PassiveSocketSink template @@ -120,7 +120,7 @@ prefix_ void senf::ppi::module::PassiveSocketSink::replaceHandle(Handle } #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSink.hh b/senf/PPI/SocketSink.hh index 7ee3b8e..3116052 100644 --- a/senf/PPI/SocketSink.hh +++ b/senf/PPI/SocketSink.hh @@ -39,7 +39,7 @@ #include "IOEvent.hh" //#include "SocketSink.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -323,7 +323,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SocketSink.cci" #include "SocketSink.ct" #include "SocketSink.cti" diff --git a/senf/PPI/SocketSink.test.cc b/senf/PPI/SocketSink.test.cc index c732086..ee4e2fe 100644 --- a/senf/PPI/SocketSink.test.cc +++ b/senf/PPI/SocketSink.test.cc @@ -38,7 +38,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace module = ppi::module; namespace debug = module::debug; @@ -111,7 +111,7 @@ SENF_AUTO_UNIT_TEST(activeSocketSink) BOOST_CHECK_EQUAL( data, input ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSource.ct b/senf/PPI/SocketSource.ct index 8429bd9..1c224c6 100644 --- a/senf/PPI/SocketSource.ct +++ b/senf/PPI/SocketSource.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::DgramReader template @@ -41,7 +41,7 @@ prefix_ Packet senf::ppi::DgramReader::operator()(Handle & handl return packet; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveSocketSource template @@ -76,7 +76,7 @@ prefix_ senf::ppi::module::ActiveSocketSource::ActiveSocketSource(Handle route(event_, output); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveBurstSocketSource template @@ -138,7 +138,7 @@ prefix_ void senf::ppi::module::ActiveBurstSocketSource::read() } } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSource.cti b/senf/PPI/SocketSource.cti index 6403b03..f5cccf1 100644 --- a/senf/PPI/SocketSource.cti +++ b/senf/PPI/SocketSource.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveSocketSource template @@ -59,7 +59,7 @@ prefix_ void senf::ppi::module::ActiveSocketSource::read() output(reader_(handle_)); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::module::ActiveBurstSocketSource template @@ -82,7 +82,7 @@ prefix_ void senf::ppi::module::ActiveBurstSocketSource::handle(Handle c event_.set(handle_, IOEvent::Read); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSource.hh b/senf/PPI/SocketSource.hh index 94ce023..185aade 100644 --- a/senf/PPI/SocketSource.hh +++ b/senf/PPI/SocketSource.hh @@ -37,7 +37,7 @@ #include "IOEvent.hh" //#include "SocketSource.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -188,7 +188,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "SocketSource.cci" #include "SocketSource.ct" #include "SocketSource.cti" diff --git a/senf/PPI/SocketSource.test.cc b/senf/PPI/SocketSource.test.cc index 459a9a5..cd4211f 100644 --- a/senf/PPI/SocketSource.test.cc +++ b/senf/PPI/SocketSource.test.cc @@ -38,7 +38,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace ppi = senf::ppi; namespace module = ppi::module; namespace debug = module::debug; @@ -92,7 +92,7 @@ SENF_AUTO_UNIT_TEST(socketSource) data.begin()) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/ThrottleBarrier.cc b/senf/PPI/ThrottleBarrier.cc index 8e8b39b..11656b6 100644 --- a/senf/PPI/ThrottleBarrier.cc +++ b/senf/PPI/ThrottleBarrier.cc @@ -30,7 +30,7 @@ //#include "ThrottleBarrier.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ppi::module::ThrottleBarrier::ThrottleBarrier() { @@ -45,7 +45,7 @@ prefix_ void senf::ppi::module::ThrottleBarrier::request() output(p); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ThrottleBarrier.mpp" diff --git a/senf/PPI/ThrottleBarrier.hh b/senf/PPI/ThrottleBarrier.hh index 80eab91..809cb2a 100644 --- a/senf/PPI/ThrottleBarrier.hh +++ b/senf/PPI/ThrottleBarrier.hh @@ -31,7 +31,7 @@ #include "Module.hh" //#include "ThrottleBarrier.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -64,7 +64,7 @@ namespace module { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ThrottleBarrier.cci" //#include "ThrottleBarrier.ct" //#include "ThrottleBarrier.cti" diff --git a/senf/PPI/ThrottleBarrier.test.cc b/senf/PPI/ThrottleBarrier.test.cc index 18edff7..3c0dac1 100644 --- a/senf/PPI/ThrottleBarrier.test.cc +++ b/senf/PPI/ThrottleBarrier.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(throttleBarrier) { @@ -57,7 +57,7 @@ SENF_AUTO_UNIT_TEST(throttleBarrier) BOOST_CHECK_EQUAL( sink.size(), 1u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/detail/Callback.cti b/senf/PPI/detail/Callback.cti index f645d9b..5c14a99 100644 --- a/senf/PPI/detail/Callback.cti +++ b/senf/PPI/detail/Callback.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::Callback template @@ -66,7 +66,7 @@ senf::ppi::detail::Callback::make(boost::function callable, Owner & return boost::bind(callable); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::Callback template @@ -83,7 +83,7 @@ senf::ppi::detail::Callback::make(type callable, Owner &) return callable; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/detail/Callback.hh b/senf/PPI/detail/Callback.hh index 015c20f..86f3519 100644 --- a/senf/PPI/detail/Callback.hh +++ b/senf/PPI/detail/Callback.hh @@ -30,7 +30,7 @@ #include //#include "Callback.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -82,7 +82,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Callback.cci" //#include "Callback.ct" #include "Callback.cti" diff --git a/senf/PPI/detail/EventBinding.cc b/senf/PPI/detail/EventBinding.cc index e1d5a4f..f0cefc7 100644 --- a/senf/PPI/detail/EventBinding.cc +++ b/senf/PPI/detail/EventBinding.cc @@ -32,7 +32,7 @@ //#include "EventBinding.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ppi::detail::EventBindingBase::~EventBindingBase() { @@ -47,7 +47,7 @@ prefix_ void senf::ppi::detail::EventBindingBase::eventTime(ClockService::clock_ manager_->eventTime(time); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "EventBinding.mpp" diff --git a/senf/PPI/detail/EventBinding.cci b/senf/PPI/detail/EventBinding.cci index 6a4cffc..77df4e8 100644 --- a/senf/PPI/detail/EventBinding.cci +++ b/senf/PPI/detail/EventBinding.cci @@ -27,9 +27,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::EventBindingBase prefix_ senf::ppi::EventManager & senf::ppi::detail::EventBindingBase::manager() @@ -44,7 +44,7 @@ prefix_ senf::ppi::module::Module & senf::ppi::detail::EventBindingBase::module( return *module_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::ppi::detail::EventBindingBase::EventBindingBase(EventManager & manager, @@ -55,7 +55,7 @@ prefix_ senf::ppi::detail::EventBindingBase::EventBindingBase(EventManager & man descriptor_->binding_ = this; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/detail/EventBinding.cti b/senf/PPI/detail/EventBinding.cti index 96a81a6..13f8149 100644 --- a/senf/PPI/detail/EventBinding.cti +++ b/senf/PPI/detail/EventBinding.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::EventBindingHelper template @@ -49,7 +49,7 @@ prefix_ void senf::ppi::detail::EventBindingHelper::callback(Eve callback(event, self().manager().now()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -58,7 +58,7 @@ prefix_ Self & senf::ppi::detail::EventBindingHelper::self() return * static_cast(this); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::EventBindingHelper template @@ -75,7 +75,7 @@ prefix_ void senf::ppi::detail::EventBindingHelper::callback() callback(self().manager().now()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members template @@ -84,7 +84,7 @@ prefix_ Self & senf::ppi::detail::EventBindingHelper::self() return * static_cast(this); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::EventBinding template @@ -95,7 +95,7 @@ prefix_ senf::ppi::detail::EventBinding::EventBinding(EventManager & : EventBindingBase(manager, module, descriptor), callback_(callback) {} -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/detail/EventBinding.hh b/senf/PPI/detail/EventBinding.hh index 7cbbeaf..848a570 100644 --- a/senf/PPI/detail/EventBinding.hh +++ b/senf/PPI/detail/EventBinding.hh @@ -32,7 +32,7 @@ #include "Callback.hh" //#include "EventBinding.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace ppi { @@ -114,7 +114,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "EventBinding.cci" //#include "EventBinding.ct" #include "EventBinding.cti" diff --git a/senf/PPI/main.test.cc b/senf/PPI/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/PPI/main.test.cc +++ b/senf/PPI/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/predecl.hh b/senf/PPI/predecl.hh index 0e96631..befc7c7 100644 --- a/senf/PPI/predecl.hh +++ b/senf/PPI/predecl.hh @@ -29,7 +29,7 @@ // Custom includes //#include "predecl.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -106,7 +106,7 @@ namespace ppi { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "predecl.cci" //#include "predecl.ct" //#include "predecl.cti" diff --git a/senf/Packets/80211Bundle/InformationElements.cc b/senf/Packets/80211Bundle/InformationElements.cc index bd47a1e..5435677 100644 --- a/senf/Packets/80211Bundle/InformationElements.cc +++ b/senf/Packets/80211Bundle/InformationElements.cc @@ -30,7 +30,7 @@ //#include "InformationElements.cc.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PACKET_TLV_REGISTRY_REGISTER( senf::WLANSSIDInfoElementParser ); SENF_PACKET_TLV_REGISTRY_REGISTER( senf::WLANPowerConstraintInfoElementParser ); @@ -64,7 +64,7 @@ prefix_ void senf::WLANSupportedRatesInfoElementParser::dump(std::ostream & os) << " value: ToDo!\n"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80211Bundle/InformationElements.hh b/senf/Packets/80211Bundle/InformationElements.hh index d8bce47..396b62a 100644 --- a/senf/Packets/80211Bundle/InformationElements.hh +++ b/senf/Packets/80211Bundle/InformationElements.hh @@ -30,7 +30,7 @@ #include //#include "InformationElements.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -101,7 +101,7 @@ namespace senf { }; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "InformationElements.cci" //#include "InformationElements.ct" //#include "InformationElements.cti" diff --git a/senf/Packets/80211Bundle/RadiotapPacket.cc b/senf/Packets/80211Bundle/RadiotapPacket.cc index 8632f3d..3d17391 100644 --- a/senf/Packets/80211Bundle/RadiotapPacket.cc +++ b/senf/Packets/80211Bundle/RadiotapPacket.cc @@ -36,9 +36,9 @@ extern "C" { } #define prefix_ -///////////////////////////////cc.p////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Offset table management prefix_ senf::RadiotapPacketParser::OffsetTable & @@ -94,7 +94,7 @@ prefix_ void senf::RadiotapPacketParser::buildOffsetTable(boost::uint32_t presen parseOffsetTable((boost::uint8_t*)&header, header.it_len, table); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::RadiotapPacketParser unsigned const senf::RadiotapPacketParser_Header::FIELD_SIZE[] = { @@ -188,7 +188,7 @@ prefix_ void senf::RadiotapPacketParser::updatePresentFlags(boost::uint32_t flag currentTable_ = &newTable; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::RadiotapPacketType prefix_ void senf::RadiotapPacketType::dump(packet p, std::ostream &os) @@ -315,7 +315,7 @@ senf::RadiotapPacketType::nextPacketRange(packet p) : optional_range( range(p.data().begin() + h, p.data().end() - t) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80211Bundle/RadiotapPacket.cci b/senf/Packets/80211Bundle/RadiotapPacket.cci index 606d6ce..15ffad7 100644 --- a/senf/Packets/80211Bundle/RadiotapPacket.cci +++ b/senf/Packets/80211Bundle/RadiotapPacket.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::RadiotapPacketParser prefix_ senf::RadiotapPacketParser::RadiotapPacketParser(data_iterator i, state_type s) @@ -63,7 +63,7 @@ prefix_ unsigned senf::RadiotapPacketParser::frameType() { return parse(length()).frameType(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::RadiotapPacketParser::initField(unsigned index) @@ -89,7 +89,7 @@ senf::RadiotapPacketParser::currentTable() return *currentTable_; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80211Bundle/RadiotapPacket.cti b/senf/Packets/80211Bundle/RadiotapPacket.cti index d1ba44c..315fc75 100644 --- a/senf/Packets/80211Bundle/RadiotapPacket.cti +++ b/senf/Packets/80211Bundle/RadiotapPacket.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ Parser senf::RadiotapPacketParser::parseField(unsigned index) @@ -36,7 +36,7 @@ prefix_ Parser senf::RadiotapPacketParser::parseField(unsigned index) return parse(currentTable()[index]); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80211Bundle/RadiotapPacket.hh b/senf/Packets/80211Bundle/RadiotapPacket.hh index e59f02d..c6a0e72 100644 --- a/senf/Packets/80211Bundle/RadiotapPacket.hh +++ b/senf/Packets/80211Bundle/RadiotapPacket.hh @@ -31,7 +31,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /** \brief Parse Flag field in Radiotap header @@ -215,7 +215,7 @@ namespace senf { size_type bytes() const; - // //////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// # define FIELD(name,type,index) \ typedef type name ## _t; \ @@ -267,7 +267,7 @@ namespace senf { typedef boost::array OffsetTable; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Offset table handling static OffsetTable & offsetTable(boost::uint32_t presentFlags); @@ -276,7 +276,7 @@ namespace senf { // Generate an offset table just from the present flags static void buildOffsetTable(boost::uint32_t presentFlags, OffsetTable & table); - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// OffsetTable const & currentTable() const; OffsetTable const & getTable(boost::uint32_t presentFlags) const; @@ -329,7 +329,7 @@ namespace senf { typedef ConcretePacket RadiotapPacket; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "RadiotapPacket.cci" //#include "RadiotapPacket.ct" #include "RadiotapPacket.cti" diff --git a/senf/Packets/80211Bundle/RadiotapPacket.test.cc b/senf/Packets/80211Bundle/RadiotapPacket.test.cc index 93051e3..654fb10 100644 --- a/senf/Packets/80211Bundle/RadiotapPacket.test.cc +++ b/senf/Packets/80211Bundle/RadiotapPacket.test.cc @@ -31,7 +31,7 @@ #include #include -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(RadiotapPacket_fieldSizes) { diff --git a/senf/Packets/80211Bundle/WLANBeaconPacket.cc b/senf/Packets/80211Bundle/WLANBeaconPacket.cc index c0698f9..63a6abb 100644 --- a/senf/Packets/80211Bundle/WLANBeaconPacket.cc +++ b/senf/Packets/80211Bundle/WLANBeaconPacket.cc @@ -30,7 +30,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::WLANBeaconPacketType::dump(packet p, std::ostream &os) { @@ -47,7 +47,7 @@ prefix_ void senf::WLANBeaconPacketType::dump(packet p, std::ostream &os) i->dump( os); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80211Bundle/WLANBeaconPacket.hh b/senf/Packets/80211Bundle/WLANBeaconPacket.hh index 72158a3..25b631b 100644 --- a/senf/Packets/80211Bundle/WLANBeaconPacket.hh +++ b/senf/Packets/80211Bundle/WLANBeaconPacket.hh @@ -30,7 +30,7 @@ // Custom includes #include "InformationElements.hh" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { struct WLANBeaconPacketParser : public PacketParserBase @@ -83,7 +83,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "WLANBeaconPacket.cci" //#include "WLANBeaconPacket.ct" //#include "WLANBeaconPacket.cti" diff --git a/senf/Packets/80211Bundle/WLANBeaconPacket.test.cc b/senf/Packets/80211Bundle/WLANBeaconPacket.test.cc index 659552a..a298f66 100644 --- a/senf/Packets/80211Bundle/WLANBeaconPacket.test.cc +++ b/senf/Packets/80211Bundle/WLANBeaconPacket.test.cc @@ -30,7 +30,7 @@ #include #include -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(WLANBeaconPacket_parse) { @@ -119,7 +119,7 @@ SENF_AUTO_UNIT_TEST(WLANBeaconPacket_create) data, data+sizeof(data) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Local Variables: diff --git a/senf/Packets/80211Bundle/WLANPacket.cc b/senf/Packets/80211Bundle/WLANPacket.cc index 141dcd1..f59acbc 100644 --- a/senf/Packets/80211Bundle/WLANPacket.cc +++ b/senf/Packets/80211Bundle/WLANPacket.cc @@ -29,7 +29,7 @@ #include #define prefix_ -///////////////////////////////cc.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { void dumpBase(senf::WLANPacketParser const & p, std::ostream & os) @@ -150,7 +150,7 @@ prefix_ void senf::WLANPacket_DataFrameType::dump(packet p, std::ostream &os) os << senf::fieldName("QOS data") << p->qosField() << "\n"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80211Bundle/WLANPacket.hh b/senf/Packets/80211Bundle/WLANPacket.hh index 814263e..fa175a9 100644 --- a/senf/Packets/80211Bundle/WLANPacket.hh +++ b/senf/Packets/80211Bundle/WLANPacket.hh @@ -30,7 +30,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -66,7 +66,7 @@ namespace senf SENF_PARSER_FINALIZE(WLANPacketParser); }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// /** \brief Management frame parser Re-ordering of bits due to LSB byte order @@ -128,7 +128,7 @@ namespace senf */ typedef WLANPacket_MgtFrameType::packet WLANPacket_MgtFrame; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// /** \brief Control frame parser Re-ordering of bits due to LSB byte order @@ -186,7 +186,7 @@ namespace senf */ typedef WLANPacket_CtrlFrameType::packet WLANPacket_CtrlFrame; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// /** \brief Data frame parser Re-ordering of bits due to LSB byte order @@ -291,7 +291,7 @@ namespace senf typedef WLANPacket_DataFrameType::packet WLANPacket_DataFrame; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "WLANPacket.cci" //#include "WLANPacket.ct" //#include "WLANPacket.cti" diff --git a/senf/Packets/80211Bundle/WLANPacket.test.cc b/senf/Packets/80211Bundle/WLANPacket.test.cc index 08e7c80..7a070e7 100644 --- a/senf/Packets/80211Bundle/WLANPacket.test.cc +++ b/senf/Packets/80211Bundle/WLANPacket.test.cc @@ -29,7 +29,7 @@ #include #include -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /* test parser with a data frame */ SENF_AUTO_UNIT_TEST(WLANPacket_dataFrame_packet) { @@ -209,7 +209,7 @@ SENF_AUTO_UNIT_TEST(WLANPacket_ctrlFrame_create) BOOST_CHECK_EQUAL( p->subtype(), 13u); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Local Variables: diff --git a/senf/Packets/80211Bundle/main.test.cc b/senf/Packets/80211Bundle/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Packets/80211Bundle/main.test.cc +++ b/senf/Packets/80211Bundle/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/MIHMessageRegistry.hh b/senf/Packets/80221Bundle/MIHMessageRegistry.hh index a22178e..8db289e 100644 --- a/senf/Packets/80221Bundle/MIHMessageRegistry.hh +++ b/senf/Packets/80221Bundle/MIHMessageRegistry.hh @@ -30,7 +30,7 @@ #include //#include "MIHPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -44,7 +44,7 @@ namespace senf { senf::MIHMessageRegistry, packet::type::MESSAGE_ID, packet ) } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "MIHPacket.cci" //#include "MIHPacket.ct" //#include "MIHPacket.cti" diff --git a/senf/Packets/80221Bundle/MIHPacket.cc b/senf/Packets/80221Bundle/MIHPacket.cc index ca896dd..7046412 100644 --- a/senf/Packets/80221Bundle/MIHPacket.cc +++ b/senf/Packets/80221Bundle/MIHPacket.cc @@ -31,12 +31,12 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x8917, senf::MIHPacket); -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHPacketType prefix_ void senf::MIHPacketType::dump(packet p, std::ostream &os) @@ -77,7 +77,7 @@ prefix_ senf::PacketInterpreterBase::factory_t senf::MIHPacketType::nextPacketTy return e ? e->factory() : MIHGenericPayloadPacket::factory(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHGenericPayloadPacketType prefix_ void senf::MIHGenericPayloadPacketType::dump(packet p, std::ostream &os) @@ -101,7 +101,7 @@ prefix_ void senf::MIHGenericPayloadPacketType::finalize(packet p) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/MIHPacket.hh b/senf/Packets/80221Bundle/MIHPacket.hh index 1efe4b6..8705a65 100644 --- a/senf/Packets/80221Bundle/MIHPacket.hh +++ b/senf/Packets/80221Bundle/MIHPacket.hh @@ -32,7 +32,7 @@ #include "MIHMessageRegistry.hh" //#include "MIHPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -152,7 +152,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "MIHPacket.cci" //#include "MIHPacket.ct" //#include "MIHPacket.cti" diff --git a/senf/Packets/80221Bundle/MIHPacket.test.cc b/senf/Packets/80221Bundle/MIHPacket.test.cc index f339826..bbc85b3 100644 --- a/senf/Packets/80221Bundle/MIHPacket.test.cc +++ b/senf/Packets/80221Bundle/MIHPacket.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; SENF_AUTO_UNIT_TEST(MIHPacket_msgId) @@ -345,7 +345,7 @@ SENF_AUTO_UNIT_TEST(Test_MIHFIdTLV) BOOST_CHECK( mihPacket->dst_mihfId().valueEquals( MIHFId::Multicast) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/MIHTypes.cc b/senf/Packets/80221Bundle/MIHTypes.cc index bd0259f..1511427 100644 --- a/senf/Packets/80221Bundle/MIHTypes.cc +++ b/senf/Packets/80221Bundle/MIHTypes.cc @@ -29,11 +29,11 @@ // Custom includes #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// senf::MIHFId const senf::MIHFId::Multicast; -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/MIHTypes.cci b/senf/Packets/80221Bundle/MIHTypes.cci index ef2662c..e53a59e 100644 --- a/senf/Packets/80221Bundle/MIHTypes.cci +++ b/senf/Packets/80221Bundle/MIHTypes.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHFId prefix_ senf::MIHFId::MIHFId() : boost::variant< boost::blank, senf::MACAddress, senf::INet4Address, @@ -82,7 +82,7 @@ prefix_ bool senf::MIHFId::operator<(senf::MIHFId const & other) } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/MIHTypes.hh b/senf/Packets/80221Bundle/MIHTypes.hh index ea901bf..d32a00f 100644 --- a/senf/Packets/80221Bundle/MIHTypes.hh +++ b/senf/Packets/80221Bundle/MIHTypes.hh @@ -35,7 +35,7 @@ #include //#include "MIHTypes.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -93,7 +93,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "MIHTypes.cci" //#include "MIHTypes.ct" //#include "MIHTypes.cti" diff --git a/senf/Packets/80221Bundle/MIHTypes.test.cc b/senf/Packets/80221Bundle/MIHTypes.test.cc index 01213fb..e51734e 100644 --- a/senf/Packets/80221Bundle/MIHTypes.test.cc +++ b/senf/Packets/80221Bundle/MIHTypes.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; SENF_AUTO_UNIT_TEST(mihfId) @@ -47,7 +47,7 @@ SENF_AUTO_UNIT_TEST(mihfId) BOOST_CHECK( id < MIHFId( INet4Address::from_string("128.129.130.131"))); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/TLVParser.cc b/senf/Packets/80221Bundle/TLVParser.cc index 78c43c0..cf2e41d 100644 --- a/senf/Packets/80221Bundle/TLVParser.cc +++ b/senf/Packets/80221Bundle/TLVParser.cc @@ -32,14 +32,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PACKET_TLV_REGISTRY_REGISTER( senf::MIHFSrcIdTLVParser ); SENF_PACKET_TLV_REGISTRY_REGISTER( senf::MIHFDstIdTLVParser ); SENF_PACKET_TLV_REGISTRY_REGISTER( senf::MIHStatusTLVParser ); SENF_PACKET_TLV_REGISTRY_REGISTER( senf::MIHValidTimeIntervalTLVParser ); -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHBaseListTLVParser prefix_ void senf::MIHBaseListTLVParser::maxListSize(MIHTLVLengthParser::value_type maxl) @@ -49,7 +49,7 @@ prefix_ void senf::MIHBaseListTLVParser::maxListSize(MIHTLVLengthParser::value_t maxLength( maxl + senf::bytes(listSize_())); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHFIdTLVParser prefix_ void senf::MIHFIdTLVParser::dump(std::ostream & os) @@ -156,7 +156,7 @@ prefix_ senf::MIHFId senf::MIHFIdTLVParser::valueAs(MIHFId::Type type) } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHFSrcIdTLVParser prefix_ void senf::MIHFSrcIdTLVParser::dump(std::ostream & os) @@ -167,7 +167,7 @@ prefix_ void senf::MIHFSrcIdTLVParser::dump(std::ostream & os) MIHFIdTLVParser::dump(os); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHFDstIdTLVParser prefix_ void senf::MIHFDstIdTLVParser::dump(std::ostream & os) @@ -178,7 +178,7 @@ prefix_ void senf::MIHFDstIdTLVParser::dump(std::ostream & os) MIHFIdTLVParser::dump(os); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHStatusTLVParser prefix_ void senf::MIHStatusTLVParser::dump(std::ostream & os) @@ -210,7 +210,7 @@ prefix_ void senf::MIHStatusTLVParser::dump(std::ostream & os) os << " (???; invalid value!)" << std::endl; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHRegisterReqCodeTLVParser prefix_ void senf::MIHRegisterReqCodeTLVParser::dump(std::ostream & os) @@ -233,7 +233,7 @@ prefix_ void senf::MIHRegisterReqCodeTLVParser::dump(std::ostream & os) os << " (???; invalid value!)" << std::endl; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHValidTimeIntervalTLVParser prefix_ void senf::MIHValidTimeIntervalTLVParser::dump(std::ostream & os) @@ -248,7 +248,7 @@ prefix_ void senf::MIHValidTimeIntervalTLVParser::dump(std::ostream & os) << ( value()==0 ? " (infinite)" : " seconds") << std::endl; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHTLVLengthParser prefix_ senf::MIHTLVLengthParser::value_type senf::MIHTLVLengthParser::value() const @@ -385,7 +385,7 @@ prefix_ void senf::MIHTLVLengthParser::resize_(size_type size) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/TLVParser.cci b/senf/Packets/80221Bundle/TLVParser.cci index 359aae3..0081102 100644 --- a/senf/Packets/80221Bundle/TLVParser.cci +++ b/senf/Packets/80221Bundle/TLVParser.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHTLVLengthParser prefix_ senf::MIHTLVLengthParser::size_type senf::MIHTLVLengthParser::bytes() const @@ -38,7 +38,7 @@ prefix_ senf::MIHTLVLengthParser::size_type senf::MIHTLVLengthParser::bytes() co return 1 + ( length_field()<=128 ? 0 : fixed_length_field()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHFIdTLVParser::binaryNAIDecoder prefix_ senf::MIHFIdTLVParser::binaryNAIDecoder::binaryNAIDecoder() @@ -51,7 +51,7 @@ prefix_ bool senf::MIHFIdTLVParser::binaryNAIDecoder::operator()(boost::uint8_t return readNextByte_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHFIdTLVParser prefix_ senf::PacketParserBase::data_iterator senf::MIHFIdTLVParser::valueBegin() @@ -141,7 +141,7 @@ prefix_ bool senf::MIHFIdTLVParser::valueEquals( MIHFId const & id) } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // MIHBaseTLVParser prefix_ void senf::MIHBaseTLVParser::maxLength(MIHTLVLengthParser::value_type maxl) @@ -156,7 +156,7 @@ prefix_ void senf::MIHBaseTLVParser::finalize() }; -///////////////////////////////cci.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/TLVParser.ct b/senf/Packets/80221Bundle/TLVParser.ct index baa4bb1..bbd950d 100644 --- a/senf/Packets/80221Bundle/TLVParser.ct +++ b/senf/Packets/80221Bundle/TLVParser.ct @@ -26,9 +26,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHListTLVParserMixin template @@ -43,7 +43,7 @@ prefix_ void senf::MIHListTLVParserMixin::finalize() } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/TLVParser.cti b/senf/Packets/80221Bundle/TLVParser.cti index e39e559..b798375 100644 --- a/senf/Packets/80221Bundle/TLVParser.cti +++ b/senf/Packets/80221Bundle/TLVParser.cti @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHFIdTLVParser::binaryNAIEncoder template @@ -43,7 +43,7 @@ prefix_ void senf::MIHFIdTLVParser::binaryNAIEncoder::operator() *i_++ = v; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MIHFIdTLVParser template @@ -61,7 +61,7 @@ senf::MIHFIdTLVParser::getNAIDecodedIterator(Iterator begin, Iterator end) } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/TLVParser.hh b/senf/Packets/80221Bundle/TLVParser.hh index 5faf9eb..68fa4db 100644 --- a/senf/Packets/80221Bundle/TLVParser.hh +++ b/senf/Packets/80221Bundle/TLVParser.hh @@ -32,7 +32,7 @@ #include "MIHTypes.hh" //#include "TLVParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -192,7 +192,7 @@ namespace senf { public: ///\name Value setters - ///@{ + //\{ void value( MIHFId const & id); void value( std::string const & id ); @@ -200,10 +200,10 @@ namespace senf { void value( senf::INet4Address const & addr); void value( senf::INet6Address const & addr); void value( senf::EUI64 const & addr); - ///@} + //\} ///\name Value getters - ///@{ + //\{ MIHFId valueAs( MIHFId::Type type) const; std::string valueAsString() const; @@ -211,10 +211,10 @@ namespace senf { senf::INet4Address valueAsINet4Address() const; senf::INet6Address valueAsINet6Address() const; senf::EUI64 valueAsEUI64() const; - ///@} + //\} ///\name Value comparisons - ///@{ + //\{ bool valueEquals( MIHFId const & id) const; bool valueEquals( std::string const & id ) const; @@ -222,7 +222,7 @@ namespace senf { bool valueEquals( senf::INet4Address const & addr) const; bool valueEquals( senf::INet6Address const & addr) const; bool valueEquals( senf::EUI64 const & addr) const; - ///@} + //\} void dump(std::ostream & os) const; void maxIdLength(boost::uint8_t maxl) const; @@ -367,7 +367,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "TLVParser.cci" #include "TLVParser.ct" #include "TLVParser.cti" diff --git a/senf/Packets/80221Bundle/TLVParser.test.cc b/senf/Packets/80221Bundle/TLVParser.test.cc index 92788e5..81e7831 100644 --- a/senf/Packets/80221Bundle/TLVParser.test.cc +++ b/senf/Packets/80221Bundle/TLVParser.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -212,7 +212,7 @@ SENF_AUTO_UNIT_TEST(TestMacAddressTLVPacket_create) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/80221Bundle/main.test.cc b/senf/Packets/80221Bundle/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Packets/80221Bundle/main.test.cc +++ b/senf/Packets/80221Bundle/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ArrayParser.ct b/senf/Packets/ArrayParser.ct index f95c0e9..2b11e71 100644 --- a/senf/Packets/ArrayParser.ct +++ b/senf/Packets/ArrayParser.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ArrayParser template @@ -43,7 +43,7 @@ prefix_ void senf::ArrayParser::init() (*i).init(); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ArrayParser.cti b/senf/Packets/ArrayParser.cti index da31433..28f1699 100644 --- a/senf/Packets/ArrayParser.cti +++ b/senf/Packets/ArrayParser.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ArrayParser template @@ -74,7 +74,7 @@ senf::ArrayParser::operator[](difference_type i) return begin()[i]; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ArrayParser_iterator template @@ -149,7 +149,7 @@ prefix_ void senf::detail::ArrayParser_iterator::advance(int n) i_ += n*ElementParser::fixed_bytes; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ArrayParser.hh b/senf/Packets/ArrayParser.hh index 0c11337..1a41660 100644 --- a/senf/Packets/ArrayParser.hh +++ b/senf/Packets/ArrayParser.hh @@ -54,7 +54,7 @@ #include "PacketParser.hh" //#include "ArrayParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -80,7 +80,7 @@ namespace senf { void init() const; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Container interface typedef ElementParser value_type; @@ -112,7 +112,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_ArrayParser_i_) #define HH_SENF_Packets_ArrayParser_i_ diff --git a/senf/Packets/ArrayParser.ih b/senf/Packets/ArrayParser.ih index bb97cef..4cd9275 100644 --- a/senf/Packets/ArrayParser.ih +++ b/senf/Packets/ArrayParser.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \brief Internal: Array and Vector iterator @@ -75,7 +75,7 @@ private: PacketParserBase::state_type s_; }; -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/ArrayParser.test.cc b/senf/Packets/ArrayParser.test.cc index c7e6829..3e4676a 100644 --- a/senf/Packets/ArrayParser.test.cc +++ b/senf/Packets/ArrayParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase @@ -96,7 +96,7 @@ SENF_AUTO_UNIT_TEST(ArrayParser_test) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/AuxParser.cci b/senf/Packets/AuxParser.cci index 454bf8d..f566e2e 100644 --- a/senf/Packets/AuxParser.cci +++ b/senf/Packets/AuxParser.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketSizeAuxParserPolicy prefix_ senf::PacketParserBase::size_type @@ -55,7 +55,7 @@ senf::detail::PacketSizeAuxParserPolicy::adjust(PacketParserBase::data_iterator return i; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/AuxParser.cti b/senf/Packets/AuxParser.cti index cad2c32..d3e4b60 100644 --- a/senf/Packets/AuxParser.cti +++ b/senf/Packets/AuxParser.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PrefixAuxParserPolicy

template @@ -60,7 +60,7 @@ senf::detail::PrefixAuxParserPolicy

::adjust(PacketParserBase::data_iterator i return i+P::fixed_bytes; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::FixedAuxParserPolicy

template @@ -90,7 +90,7 @@ senf::detail::FixedAuxParserPolicy::adjust(PacketParserBase::data_iterat return i; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::DynamicAuxParserPolicy

template @@ -131,7 +131,7 @@ senf::detail::DynamicAuxParserPolicy

::adjust(PacketParserBase::data_iterator return i; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::DynamicWrapperAuxParserPolicy

template @@ -168,7 +168,7 @@ senf::detail::DynamicWrapperAuxParserPolicy

::adjust(PacketParserBase::data_it return i; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::TransformAuxParserPolicy template @@ -200,7 +200,7 @@ aux(typename Transform::value_type const & v, PacketParserBase::data_iterator i, Policy::aux(Transform::set(v), i, s); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/AuxParser.hh b/senf/Packets/AuxParser.hh index a3e68ba..b92bff7 100644 --- a/senf/Packets/AuxParser.hh +++ b/senf/Packets/AuxParser.hh @@ -35,7 +35,7 @@ #include "SafeIterator.hh" //#include "AuxParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -161,7 +161,7 @@ namespace detail { }; }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_AuxParser_i_) #define HH_SENF_Packets_AuxParser_i_ diff --git a/senf/Packets/AuxParser.test.cc b/senf/Packets/AuxParser.test.cc index 241472e..90b0b7e 100644 --- a/senf/Packets/AuxParser.test.cc +++ b/senf/Packets/AuxParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // The other aux policies are tested with the corresponding container classes @@ -162,7 +162,7 @@ SENF_AUTO_UNIT_TEST(listPacketSizeAuxPolicy) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DataPacket.cc b/senf/Packets/DataPacket.cc index 4f034cd..49944ea 100644 --- a/senf/Packets/DataPacket.cc +++ b/senf/Packets/DataPacket.cc @@ -30,14 +30,14 @@ //#include "DataPacket.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::DataPacketType::dump(packet p, std::ostream & os) { os << "Payload data (" << p.size() << " bytes)\n"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DataPacket.mpp" diff --git a/senf/Packets/DataPacket.hh b/senf/Packets/DataPacket.hh index fc8cd04..4db82cf 100644 --- a/senf/Packets/DataPacket.hh +++ b/senf/Packets/DataPacket.hh @@ -31,7 +31,7 @@ #include "Packet.hh" //#include "DataPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -56,7 +56,7 @@ namespace senf { typedef ConcretePacket DataPacket; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_DataPacket_impl_) #define HH_SENF_Packets_DataPacket_impl_ diff --git a/senf/Packets/DefaultBundle/EthernetPacket.cc b/senf/Packets/DefaultBundle/EthernetPacket.cc index 04a87af..b220729 100644 --- a/senf/Packets/DefaultBundle/EthernetPacket.cc +++ b/senf/Packets/DefaultBundle/EthernetPacket.cc @@ -33,13 +33,13 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x8100, senf::EthVLanPacket); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::EthernetPacketType prefix_ void senf::EthernetPacketType::dump(packet p, std::ostream & os) @@ -94,7 +94,7 @@ prefix_ void senf::EthVLanPacketType::finalize(packet p) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/EthernetPacket.hh b/senf/Packets/DefaultBundle/EthernetPacket.hh index 5a38c98..08e96ee 100644 --- a/senf/Packets/DefaultBundle/EthernetPacket.hh +++ b/senf/Packets/DefaultBundle/EthernetPacket.hh @@ -32,7 +32,7 @@ #include //#include "EthernetPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -193,7 +193,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "EthernetPacket.cci" //#include "EthernetPacket.ct" //#include "EthernetPacket.cti" diff --git a/senf/Packets/DefaultBundle/EthernetPacket.test.cc b/senf/Packets/DefaultBundle/EthernetPacket.test.cc index 79414ba..9a36ed0 100644 --- a/senf/Packets/DefaultBundle/EthernetPacket.test.cc +++ b/senf/Packets/DefaultBundle/EthernetPacket.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(ethernetPacket_parse) { @@ -122,7 +122,7 @@ SENF_AUTO_UNIT_TEST(ethernetPacket_llcsnap) BOOST_CHECK_EQUAL(llcsnap->type_length(), 0x0800u); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/ICMPv6Packet.cc b/senf/Packets/DefaultBundle/ICMPv6Packet.cc index fa59596..7f38e57 100644 --- a/senf/Packets/DefaultBundle/ICMPv6Packet.cc +++ b/senf/Packets/DefaultBundle/ICMPv6Packet.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PACKET_REGISTRY_REGISTER( senf::IpTypes, 58, senf::ICMPv6Packet); @@ -45,7 +45,7 @@ prefix_ boost::uint16_t senf::ICMPv6PacketParser::calcChecksum() senf::IpChecksum summer; - //////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // IPv6 pseudo header summer.feed( ipv6->source().i(), ipv6->source().i() + senf::IPv6Packet::Parser::source_t::fixed_bytes ); @@ -65,7 +65,7 @@ prefix_ boost::uint16_t senf::ICMPv6PacketParser::calcChecksum() summer.feed( 0u ); summer.feed( 58u ); - //////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // ICMP Packet summer.feed( i(), i()+checksum_offset ); // checksum @@ -86,7 +86,7 @@ prefix_ void senf::ICMPv6PacketType::dump(packet p, std::ostream &os) << "0x" << std::hex << std::setw(4) << unsigned(p->checksum()) << "\n"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/ICMPv6Packet.hh b/senf/Packets/DefaultBundle/ICMPv6Packet.hh index 7cba25e..91aea0b 100644 --- a/senf/Packets/DefaultBundle/ICMPv6Packet.hh +++ b/senf/Packets/DefaultBundle/ICMPv6Packet.hh @@ -30,7 +30,7 @@ #include //#include "ICMPv6Packet.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { struct ICMPv6PacketParser : public PacketParserBase @@ -95,7 +95,7 @@ namespace senf typedef ConcretePacket ICMPv6Packet; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IPv4Packet.cci" //#include "IPv4Packet.ct" //#include "IPv4Packet.cti" diff --git a/senf/Packets/DefaultBundle/ICMPv6Packet.test.cc b/senf/Packets/DefaultBundle/ICMPv6Packet.test.cc index 228606b..ef39e8f 100644 --- a/senf/Packets/DefaultBundle/ICMPv6Packet.test.cc +++ b/senf/Packets/DefaultBundle/ICMPv6Packet.test.cc @@ -32,7 +32,7 @@ #include #include -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(ICMPv6Packet_packet) { @@ -337,7 +337,7 @@ SENF_AUTO_UNIT_TEST(ICMPv6Packet_create) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Local Variables: diff --git a/senf/Packets/DefaultBundle/ICMPv6TypePacket.cc b/senf/Packets/DefaultBundle/ICMPv6TypePacket.cc index c5950f1..fe35c11 100644 --- a/senf/Packets/DefaultBundle/ICMPv6TypePacket.cc +++ b/senf/Packets/DefaultBundle/ICMPv6TypePacket.cc @@ -28,7 +28,7 @@ #include "ICMPv6TypePacket.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::ICMPTypes, 1, senf::ICMPv6ErrDestUnreachable ); @@ -192,5 +192,5 @@ prefix_ void senf::NDPRedirectMessageType::dump(packet p, std::ostream & os) listIter->dump(os); } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/ICMPv6TypePacket.hh b/senf/Packets/DefaultBundle/ICMPv6TypePacket.hh index a51fca2..f850c4f 100644 --- a/senf/Packets/DefaultBundle/ICMPv6TypePacket.hh +++ b/senf/Packets/DefaultBundle/ICMPv6TypePacket.hh @@ -32,7 +32,7 @@ #include "ListOptionTypeParser.hh" #include "NDPOptions.hh" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { //############################################################# @@ -658,7 +658,7 @@ namespace senf { typedef ConcretePacket NDPRedirectMessage; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ICMPv6TypePacket.cci" //#include "ICMPv6TypePacket.ct" //#include "ICMPv6TypePacket.cti" diff --git a/senf/Packets/DefaultBundle/IPv4Packet.cc b/senf/Packets/DefaultBundle/IPv4Packet.cc index 5ef86f3..3c5d9be 100644 --- a/senf/Packets/DefaultBundle/IPv4Packet.cc +++ b/senf/Packets/DefaultBundle/IPv4Packet.cc @@ -36,14 +36,14 @@ #include "EthernetPacket.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x0800, senf::IPv4Packet); SENF_PACKET_REGISTRY_REGISTER( senf::IpTypes, 4, senf::IPv4Packet); // IP-in-IP encapsulation } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::IPv4PacketParser prefix_ boost::uint16_t senf::IPv4PacketParser::calcChecksum() @@ -56,7 +56,7 @@ prefix_ boost::uint16_t senf::IPv4PacketParser::calcChecksum() return summer.sum(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::IPv4PacketType prefix_ void senf::IPv4PacketType::dump(packet p, std::ostream & os) @@ -86,7 +86,7 @@ prefix_ void senf::IPv4PacketType::finalize(packet p) p->checksum() << p->calcChecksum(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/IPv4Packet.hh b/senf/Packets/DefaultBundle/IPv4Packet.hh index 39eaffb..9643149 100644 --- a/senf/Packets/DefaultBundle/IPv4Packet.hh +++ b/senf/Packets/DefaultBundle/IPv4Packet.hh @@ -31,7 +31,7 @@ #include //#include "IPv4Packet.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -196,7 +196,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IPv4Packet.cci" //#include "IPv4Packet.ct" //#include "IPv4Packet.cti" diff --git a/senf/Packets/DefaultBundle/IPv4Packet.test.cc b/senf/Packets/DefaultBundle/IPv4Packet.test.cc index 2447f5b..29a9b16 100644 --- a/senf/Packets/DefaultBundle/IPv4Packet.test.cc +++ b/senf/Packets/DefaultBundle/IPv4Packet.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -90,7 +90,7 @@ SENF_AUTO_UNIT_TEST(ipV4Packet_create) BOOST_CHECK( ip->validateChecksum() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/IPv6ExtOptions.hh b/senf/Packets/DefaultBundle/IPv6ExtOptions.hh index 0ed194e..7e78c4b 100644 --- a/senf/Packets/DefaultBundle/IPv6ExtOptions.hh +++ b/senf/Packets/DefaultBundle/IPv6ExtOptions.hh @@ -30,7 +30,7 @@ #include //#include "IPv6ExtOptions.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /** \brief IPv6 Extension Option parser @@ -65,7 +65,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IPv6ExtOptions.cci" //#include "IPv6ExtOptions.ct" //#include "IPv6ExtOptions.cti" diff --git a/senf/Packets/DefaultBundle/IPv6Extensions.cc b/senf/Packets/DefaultBundle/IPv6Extensions.cc index 03ab5be..a777f6f 100644 --- a/senf/Packets/DefaultBundle/IPv6Extensions.cc +++ b/senf/Packets/DefaultBundle/IPv6Extensions.cc @@ -32,7 +32,7 @@ //#include "IPv6Extensions.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::IpTypes, 44, senf::IPv6FragmentPacket ); @@ -132,7 +132,7 @@ prefix_ void senf::IPv6DestinationOptionsPacketType::finalize(packet p) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IPv6Extensions.mpp" diff --git a/senf/Packets/DefaultBundle/IPv6Extensions.hh b/senf/Packets/DefaultBundle/IPv6Extensions.hh index 913d09a..f2f3a47 100644 --- a/senf/Packets/DefaultBundle/IPv6Extensions.hh +++ b/senf/Packets/DefaultBundle/IPv6Extensions.hh @@ -33,7 +33,7 @@ #include "IPv6Packet.hh" //#include "IPv6Extensions.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -362,7 +362,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IPv6Extensions.cci" //#include "IPv6Extensions.ct" //#include "IPv6Extensions.cti" diff --git a/senf/Packets/DefaultBundle/IPv6Extensions.test.cc b/senf/Packets/DefaultBundle/IPv6Extensions.test.cc index f7ec069..d64adb0 100644 --- a/senf/Packets/DefaultBundle/IPv6Extensions.test.cc +++ b/senf/Packets/DefaultBundle/IPv6Extensions.test.cc @@ -39,7 +39,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(ipv6Extensions_fragment) { @@ -384,7 +384,7 @@ SENF_AUTO_UNIT_TEST(ipv6Extensions_hopByHop_parse_SN) SENF_CHECK_NO_THROW( p.dump( oss)); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/IPv6Packet.cc b/senf/Packets/DefaultBundle/IPv6Packet.cc index 40bb523..b7e4dd7 100644 --- a/senf/Packets/DefaultBundle/IPv6Packet.cc +++ b/senf/Packets/DefaultBundle/IPv6Packet.cc @@ -33,7 +33,7 @@ //#include "IPv6Packet.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x86dd, senf::IPv6Packet); @@ -67,7 +67,7 @@ prefix_ void senf::IPv6PacketType::finalize(packet p) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IPv6Packet.mpp" diff --git a/senf/Packets/DefaultBundle/IPv6Packet.hh b/senf/Packets/DefaultBundle/IPv6Packet.hh index ac9560b..590eb99 100644 --- a/senf/Packets/DefaultBundle/IPv6Packet.hh +++ b/senf/Packets/DefaultBundle/IPv6Packet.hh @@ -32,7 +32,7 @@ #include "IPv4Packet.hh" //#include "IPv6Packet.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -152,7 +152,7 @@ namespace senf { typedef ConcretePacket IPv6Packet; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IPv6Packet.cci" //#include "IPv6Packet.ct" //#include "IPv6Packet.cti" diff --git a/senf/Packets/DefaultBundle/IPv6Packet.test.cc b/senf/Packets/DefaultBundle/IPv6Packet.test.cc index 13f2d52..5dd3bca 100644 --- a/senf/Packets/DefaultBundle/IPv6Packet.test.cc +++ b/senf/Packets/DefaultBundle/IPv6Packet.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(ipV6Packet_parse) { @@ -94,7 +94,7 @@ SENF_AUTO_UNIT_TEST(ipV6Packet_create) data, data+sizeof(data), ip.data().begin(), ip.data().end() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/ListOptionTypeParser.cti b/senf/Packets/DefaultBundle/ListOptionTypeParser.cti index 148ec5d..2dad6d2 100644 --- a/senf/Packets/DefaultBundle/ListOptionTypeParser.cti +++ b/senf/Packets/DefaultBundle/ListOptionTypeParser.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ListOptionTypeParser_Policy template @@ -80,7 +80,7 @@ senf::detail::ListOptionTypeParser_Policy::init(data_it AuxPolicy::aux(0, i, s); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ListOptionTypeParser_Policy //constructor @@ -282,7 +282,7 @@ raw(container_type const & c, iterator_data const & d) return container_type::iterator::get(d).i(); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/ListOptionTypeParser.hh b/senf/Packets/DefaultBundle/ListOptionTypeParser.hh index f6fb70b..11be520 100644 --- a/senf/Packets/DefaultBundle/ListOptionTypeParser.hh +++ b/senf/Packets/DefaultBundle/ListOptionTypeParser.hh @@ -29,13 +29,13 @@ // Custom includes //#include "ListOptionTypeParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ListOptionTypeParser.cci" //#include "ListOptionTypeParser.ct" #include "ListOptionTypeParser.cti" diff --git a/senf/Packets/DefaultBundle/ListOptionTypeParser.ih b/senf/Packets/DefaultBundle/ListOptionTypeParser.ih index da5a0d1..78de19b 100644 --- a/senf/Packets/DefaultBundle/ListOptionTypeParser.ih +++ b/senf/Packets/DefaultBundle/ListOptionTypeParser.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -107,7 +107,7 @@ namespace senf { } } -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/DefaultBundle/ListOptionTypeParser.test.cc b/senf/Packets/DefaultBundle/ListOptionTypeParser.test.cc index 28f7f27..bc5b221 100644 --- a/senf/Packets/DefaultBundle/ListOptionTypeParser.test.cc +++ b/senf/Packets/DefaultBundle/ListOptionTypeParser.test.cc @@ -29,7 +29,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase @@ -138,7 +138,7 @@ SENF_AUTO_UNIT_TEST(ListOptionTypeParser_container) BOOST_CHECK_EQUAL( c.empty(), true); } } -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Local Variables: diff --git a/senf/Packets/DefaultBundle/LlcSnapPacket.cc b/senf/Packets/DefaultBundle/LlcSnapPacket.cc index 78762db..1afc7ec 100644 --- a/senf/Packets/DefaultBundle/LlcSnapPacket.cc +++ b/senf/Packets/DefaultBundle/LlcSnapPacket.cc @@ -31,7 +31,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::LlcSnapPacketType::dump(packet p, std::ostream & os) { @@ -69,7 +69,7 @@ prefix_ void senf::LlcSnapPacketType::finalize(packet p) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/LlcSnapPacket.hh b/senf/Packets/DefaultBundle/LlcSnapPacket.hh index ff6104e..39fc1cf 100644 --- a/senf/Packets/DefaultBundle/LlcSnapPacket.hh +++ b/senf/Packets/DefaultBundle/LlcSnapPacket.hh @@ -32,7 +32,7 @@ #include //#include "LlcSnapPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -107,7 +107,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "LlcSnapPacket.cci" //#include "LlcSnapPacket.ct" //#include "LlcSnapPacket.cti" diff --git a/senf/Packets/DefaultBundle/LlcSnapPacket.test.cc b/senf/Packets/DefaultBundle/LlcSnapPacket.test.cc index 7d38335..3a2e8e3 100644 --- a/senf/Packets/DefaultBundle/LlcSnapPacket.test.cc +++ b/senf/Packets/DefaultBundle/LlcSnapPacket.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(llcsnap_parse) { @@ -73,7 +73,7 @@ SENF_AUTO_UNIT_TEST(llcSnapPacket_ethernet) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/NDPMessage.test.cc b/senf/Packets/DefaultBundle/NDPMessage.test.cc index 2b5914c..d356007 100644 --- a/senf/Packets/DefaultBundle/NDPMessage.test.cc +++ b/senf/Packets/DefaultBundle/NDPMessage.test.cc @@ -31,7 +31,7 @@ #include #include -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(NDPMessage_create) { senf::dumpPacketRegistries(std::cout); @@ -67,7 +67,7 @@ SENF_AUTO_UNIT_TEST(NDPMessage_create) senf::NDPSourceLLAddressTLVParser llopt (listIter->as()); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Local Variables: diff --git a/senf/Packets/DefaultBundle/NDPOptions.cc b/senf/Packets/DefaultBundle/NDPOptions.cc index 80d75c6..bd56534 100644 --- a/senf/Packets/DefaultBundle/NDPOptions.cc +++ b/senf/Packets/DefaultBundle/NDPOptions.cc @@ -26,7 +26,7 @@ #include "NDPOptions.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PACKET_TLV_REGISTRY_REGISTER( senf::NDPSourceLLAddressTLVParser ); SENF_PACKET_TLV_REGISTRY_REGISTER( senf::NDPTargetLLAddressTLVParser ); SENF_PACKET_TLV_REGISTRY_REGISTER( senf::NDPPrefixInformationTLVParser ); @@ -65,5 +65,5 @@ prefix_ void senf::NDPMTUTLVParser::dump(std::ostream & os) const } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/NDPOptions.hh b/senf/Packets/DefaultBundle/NDPOptions.hh index 186343b..d4cc4a7 100644 --- a/senf/Packets/DefaultBundle/NDPOptions.hh +++ b/senf/Packets/DefaultBundle/NDPOptions.hh @@ -30,7 +30,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { //############################################################# @@ -141,7 +141,7 @@ namespace senf { }; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "NDPOptions.cci" //#include "NDPOptions.ct" //#include "NDPOptions.cti" diff --git a/senf/Packets/DefaultBundle/TCPPacket.cc b/senf/Packets/DefaultBundle/TCPPacket.cc index 41fabce..f3e3d68 100644 --- a/senf/Packets/DefaultBundle/TCPPacket.cc +++ b/senf/Packets/DefaultBundle/TCPPacket.cc @@ -35,13 +35,13 @@ #include "IPv6Packet.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::IpTypes, 6, senf::TCPPacket); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::TCPPacketParser prefix_ boost::uint16_t senf::TCPPacketParser::calcChecksum() @@ -106,7 +106,7 @@ prefix_ boost::uint16_t senf::TCPPacketParser::calcChecksum() } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::TCPPacketType prefix_ void senf::TCPPacketType::dump(packet p, std::ostream & os) @@ -136,7 +136,7 @@ prefix_ void senf::TCPPacketType::finalize(packet p) p->checksum() << p->calcChecksum(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/TCPPacket.hh b/senf/Packets/DefaultBundle/TCPPacket.hh index f3ebf2e..13b6924 100644 --- a/senf/Packets/DefaultBundle/TCPPacket.hh +++ b/senf/Packets/DefaultBundle/TCPPacket.hh @@ -30,7 +30,7 @@ #include //#include "TCPPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -170,7 +170,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TCPPacket.cci" //#include "TCPPacket.ct" //#include "TCPPacket.cti" diff --git a/senf/Packets/DefaultBundle/TCPPacket.test.cc b/senf/Packets/DefaultBundle/TCPPacket.test.cc index 7466c9f..a85c35b 100644 --- a/senf/Packets/DefaultBundle/TCPPacket.test.cc +++ b/senf/Packets/DefaultBundle/TCPPacket.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(tcpPacket_parse) { @@ -173,7 +173,7 @@ SENF_AUTO_UNIT_TEST(tcpPacket_in_ipv6_create) BOOST_CHECK( tcp->validateChecksum() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/UDPPacket.cc b/senf/Packets/DefaultBundle/UDPPacket.cc index 4e30c47..a867f28 100644 --- a/senf/Packets/DefaultBundle/UDPPacket.cc +++ b/senf/Packets/DefaultBundle/UDPPacket.cc @@ -35,13 +35,13 @@ #include "IPv6Packet.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { SENF_PACKET_REGISTRY_REGISTER( senf::IpTypes, 17, senf::UDPPacket); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::UDPPacketParser prefix_ boost::uint16_t senf::UDPPacketParser::calcChecksum() @@ -92,7 +92,7 @@ prefix_ boost::uint16_t senf::UDPPacketParser::calcChecksum() return rv ? rv : 0xffffu; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::UDPPacketType prefix_ void senf::UDPPacketType::dump(packet p, std::ostream & os) @@ -112,7 +112,7 @@ prefix_ void senf::UDPPacketType::finalize(packet p) p->checksum() << p->calcChecksum(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/UDPPacket.hh b/senf/Packets/DefaultBundle/UDPPacket.hh index 77788d8..ff8fc48 100644 --- a/senf/Packets/DefaultBundle/UDPPacket.hh +++ b/senf/Packets/DefaultBundle/UDPPacket.hh @@ -30,7 +30,7 @@ #include //#include "UDPPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -120,7 +120,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UDPPacket.cci" //#include "UDPPacket.ct" //#include "UDPPacket.cti" diff --git a/senf/Packets/DefaultBundle/UDPPacket.test.cc b/senf/Packets/DefaultBundle/UDPPacket.test.cc index 907c180..a2bff8c 100644 --- a/senf/Packets/DefaultBundle/UDPPacket.test.cc +++ b/senf/Packets/DefaultBundle/UDPPacket.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(udpPacket_parse) { @@ -128,7 +128,7 @@ SENF_AUTO_UNIT_TEST(udpPacket_in_ipv6_parse) BOOST_CHECK( udp->validateChecksum() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc b/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc index fa0f290..229bdc0 100644 --- a/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc +++ b/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(packetLink) { @@ -61,7 +61,7 @@ SENF_AUTO_UNIT_TEST(packetLink) BOOST_CHECK( p.next().is() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/extra_tests/main.test.cc b/senf/Packets/DefaultBundle/extra_tests/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Packets/DefaultBundle/extra_tests/main.test.cc +++ b/senf/Packets/DefaultBundle/extra_tests/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DefaultBundle/main.test.cc b/senf/Packets/DefaultBundle/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Packets/DefaultBundle/main.test.cc +++ b/senf/Packets/DefaultBundle/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/DumpFormat.cc b/senf/Packets/DumpFormat.cc index 3c41aba..8779cbe 100644 --- a/senf/Packets/DumpFormat.cc +++ b/senf/Packets/DumpFormat.cc @@ -32,7 +32,7 @@ //#include "DumpFormat.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef SENF_PACKET_DUMP_COLON_COLUMN #define SENF_PACKET_DUMP_COLON_COLUMN 27 @@ -46,7 +46,7 @@ prefix_ std::string senf::fieldName(std::string const & s) return t; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DumpFormat.mpp" diff --git a/senf/Packets/DumpFormat.hh b/senf/Packets/DumpFormat.hh index 79a832f..ba0f725 100644 --- a/senf/Packets/DumpFormat.hh +++ b/senf/Packets/DumpFormat.hh @@ -36,7 +36,7 @@ #include //#include "DumpFormat.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -44,7 +44,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_DumpFormat_i_) #define HH_SENF_Packets_DumpFormat_i_ diff --git a/senf/Packets/DumpFormat.test.cc b/senf/Packets/DumpFormat.test.cc index 3f5dea5..6639342 100644 --- a/senf/Packets/DumpFormat.test.cc +++ b/senf/Packets/DumpFormat.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(dumpFormat) { @@ -42,7 +42,7 @@ SENF_AUTO_UNIT_TEST(dumpFormat) BOOST_CHECK_EQUAL( senf::fieldName("xxxxxxxxxxxxxxxxxxxxxxxx"), " xxxxxxxxxxxxxxxxxxxxxxxx : " ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/GenericTLV.ct b/senf/Packets/GenericTLV.ct index 2153937..3dd6bfd 100644 --- a/senf/Packets/GenericTLV.ct +++ b/senf/Packets/GenericTLV.ct @@ -32,9 +32,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::GenericTLVParserBase template @@ -89,7 +89,7 @@ prefix_ void senf::GenericTLVParserBase::value_(ForwardReadableRange const } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::GenericTLVParserRegistry template @@ -156,7 +156,7 @@ prefix_ senf::PacketParserBase::size_type senf::GenericTLVParserRegistry template @@ -112,7 +112,7 @@ prefix_ void senf::GenericTLVParserBase::value( #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail:GenericTLVParserRegistry_Entry template @@ -132,7 +132,7 @@ senf::detail::GenericTLVParserRegistry_Entry::bytes( return senf::bytes( parser.template as()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::GenericTLVParserRegistry template @@ -152,7 +152,7 @@ prefix_ bool senf::GenericTLVParserRegistry::isRegistered(Ke return i != map_.end(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::GenericTLVParserRegistry::RegistrationProxy template @@ -162,7 +162,7 @@ prefix_ senf::GenericTLVParserRegistry::RegistrationProxy::instance().registerParser(); }; -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/GenericTLV.hh b/senf/Packets/GenericTLV.hh index 2cee061..7792653 100644 --- a/senf/Packets/GenericTLV.hh +++ b/senf/Packets/GenericTLV.hh @@ -33,7 +33,7 @@ #include //#include "GenericTLV.hh.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -310,7 +310,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "GenericTLV.cci" #include "GenericTLV.ct" #include "GenericTLV.cti" diff --git a/senf/Packets/GenericTLV.test.cc b/senf/Packets/GenericTLV.test.cc index 6bdd1c9..76c698d 100644 --- a/senf/Packets/GenericTLV.test.cc +++ b/senf/Packets/GenericTLV.test.cc @@ -31,7 +31,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct MyTLVParserBase @@ -224,7 +224,7 @@ SENF_AUTO_UNIT_TEST(GenericTLV_predicate) BOOST_CHECK( it->is()) ; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/IntParser.hh b/senf/Packets/IntParser.hh index e24f429..5d6b1f3 100644 --- a/senf/Packets/IntParser.hh +++ b/senf/Packets/IntParser.hh @@ -34,7 +34,7 @@ #include "PacketParser.hh" //#include "IntParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IntParser.ih" namespace senf { @@ -76,7 +76,7 @@ namespace senf { { Int8Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int8_t value_type; static size_type const fixed_bytes = 1; @@ -103,7 +103,7 @@ namespace senf { { UInt8Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint8_t value_type; static size_type const fixed_bytes = 1; @@ -130,7 +130,7 @@ namespace senf { { Int16Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int16_t value_type; static size_type const fixed_bytes = 2; @@ -158,7 +158,7 @@ namespace senf { { Int16LSBParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int16_t value_type; static size_type const fixed_bytes = 2; @@ -186,7 +186,7 @@ namespace senf { { UInt16Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint16_t value_type; static size_type const fixed_bytes = 2; @@ -213,7 +213,7 @@ namespace senf { { UInt16LSBParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint16_t value_type; static size_type const fixed_bytes = 2; @@ -240,7 +240,7 @@ namespace senf { { Int24Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int32_t value_type; static size_type const fixed_bytes = 3; @@ -268,7 +268,7 @@ namespace senf { { UInt24Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint32_t value_type; static size_type const fixed_bytes = 3; @@ -295,7 +295,7 @@ namespace senf { { Int32Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int32_t value_type; static size_type const fixed_bytes = 4; @@ -322,7 +322,7 @@ namespace senf { { UInt32Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint32_t value_type; static size_type const fixed_bytes = 4; @@ -345,7 +345,7 @@ namespace senf { { UInt32LSBParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint32_t value_type; static size_type const fixed_bytes = 4; @@ -375,7 +375,7 @@ namespace senf { { Int64Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int64_t value_type; static size_type const fixed_bytes = 8; @@ -401,7 +401,7 @@ namespace senf { { UInt64Parser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint64_t value_type; static size_type const fixed_bytes = 8; @@ -426,7 +426,7 @@ namespace senf { { UInt64LSBParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint64_t value_type; static size_type const fixed_bytes = 8; @@ -470,7 +470,7 @@ namespace senf { { IntFieldParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::int32_t value_type; static size_type const start_bit = Start; @@ -528,7 +528,7 @@ namespace senf { { UIntFieldParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef boost::uint32_t value_type; static size_type const start_bit = Start; @@ -573,7 +573,7 @@ namespace senf { { FlagParser(data_iterator i, state_type s) : PacketParserBase(i,s,fixed_bytes) {} - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// typedef bool value_type; static size_type const bit = Bit; @@ -597,7 +597,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_IntParser_i_) #define HH_SENF_Packets_IntParser_i_ diff --git a/senf/Packets/IntParser.ih b/senf/Packets/IntParser.ih index 0093f05..8b3ceaa 100644 --- a/senf/Packets/IntParser.ih +++ b/senf/Packets/IntParser.ih @@ -29,13 +29,13 @@ // Custom includes #include "PacketTypes.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { namespace packet { - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // Integer operators /** \brief Internal: Integer operation mixin for integer parsers @@ -92,7 +92,7 @@ namespace packet { Derived const & derived() const { return *static_cast(this); }; }; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // Network byte order integer extraction /** \brief Internal: Extract 16bit network byte order value @@ -251,7 +251,7 @@ namespace packet { i[7] = ( v >> 56 ) & 0xff; } - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // bitfield extraction // Doxygen doesn't like this stuff ... @@ -356,7 +356,7 @@ namespace packet { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/IntParser.test.cc b/senf/Packets/IntParser.test.cc index 2c73175..ec43fb6 100644 --- a/senf/Packets/IntParser.test.cc +++ b/senf/Packets/IntParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -191,7 +191,7 @@ SENF_AUTO_UNIT_TEST(parseInt_operators) // up, I'll add a check here ... } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListBParser.ct b/senf/Packets/ListBParser.ct index f430e70..1aa6490 100644 --- a/senf/Packets/ListBParser.ct +++ b/senf/Packets/ListBParser.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ListBParser_Policy::container_policy template @@ -54,7 +54,7 @@ container_policy(parser_policy const & p) container_size_ = selfp.data().size(); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListBParser.cti b/senf/Packets/ListBParser.cti index 9f2dcf4..64c9fbc 100644 --- a/senf/Packets/ListBParser.cti +++ b/senf/Packets/ListBParser.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ListBParser_Policy template @@ -70,7 +70,7 @@ prefix_ void senf::detail::ListBParser_Policy::init(dat AuxPolicy::aux(0,i,s); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ListBParser_Policy template @@ -202,7 +202,7 @@ raw(container_type const & c, iterator_data const & d) return container_type::iterator::get(d).i(); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListBParser.hh b/senf/Packets/ListBParser.hh index 27671d3..a88677d 100644 --- a/senf/Packets/ListBParser.hh +++ b/senf/Packets/ListBParser.hh @@ -30,13 +30,13 @@ #include "ListParser.hh" //#include "ListBParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_ListBParser_i_) #define HH_SENF_Packets_ListBParser_i_ diff --git a/senf/Packets/ListBParser.ih b/senf/Packets/ListBParser.ih index a69e6f9..2faa19c 100644 --- a/senf/Packets/ListBParser.ih +++ b/senf/Packets/ListBParser.ih @@ -29,7 +29,7 @@ // Custom includes #include "ListParser.ih" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -150,7 +150,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/ListBParser.test.cc b/senf/Packets/ListBParser.test.cc index 8825100..2756faa 100644 --- a/senf/Packets/ListBParser.test.cc +++ b/senf/Packets/ListBParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase @@ -379,7 +379,7 @@ SENF_AUTO_UNIT_TEST(listBytesMacro_stress) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListNParser.ct b/senf/Packets/ListNParser.ct index c45d1ec..98caa27 100644 --- a/senf/Packets/ListNParser.ct +++ b/senf/Packets/ListNParser.ct @@ -29,7 +29,7 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void @@ -65,7 +65,7 @@ senf::detail::ListNParser_Policy::raw(container_type co return j; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListNParser.cti b/senf/Packets/ListNParser.cti index 2cf61fa..16c4a33 100644 --- a/senf/Packets/ListNParser.cti +++ b/senf/Packets/ListNParser.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::detail::ListNParser_Policy::ListNParser_Policy() @@ -140,7 +140,7 @@ senf::detail::ListNParser_Policy::next(container_type c : c.data().end(); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListNParser.hh b/senf/Packets/ListNParser.hh index 8ee8124..8cbe977 100644 --- a/senf/Packets/ListNParser.hh +++ b/senf/Packets/ListNParser.hh @@ -32,12 +32,12 @@ //#include "ListNParser.mpp" #include "ListNParser.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_ListNParser_i_) #define HH_SENF_Packets_ListNParser_i_ diff --git a/senf/Packets/ListNParser.ih b/senf/Packets/ListNParser.ih index 20bacec..248098f 100644 --- a/senf/Packets/ListNParser.ih +++ b/senf/Packets/ListNParser.ih @@ -29,7 +29,7 @@ // Custom includes #include "ListParser.ih" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -102,7 +102,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/ListNParser.test.cc b/senf/Packets/ListNParser.test.cc index 8b30ba7..f909cec 100644 --- a/senf/Packets/ListNParser.test.cc +++ b/senf/Packets/ListNParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket_Type : public senf::PacketTypeBase @@ -281,7 +281,7 @@ SENF_AUTO_UNIT_TEST(listMacro_stress) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListParser.ct b/senf/Packets/ListParser.ct index 901d2e0..09d820a 100644 --- a/senf/Packets/ListParser.ct +++ b/senf/Packets/ListParser.ct @@ -29,9 +29,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ListParser template @@ -59,7 +59,7 @@ senf::ListParser::back() return *j; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ListParser_Container template @@ -175,7 +175,7 @@ prefix_ void senf::ListParser_Container::resize(size_type n, push_back(value,n-sz); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListParser.cti b/senf/Packets/ListParser.cti index 20f32da..d6689d9 100644 --- a/senf/Packets/ListParser.cti +++ b/senf/Packets/ListParser.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ListParser template @@ -53,7 +53,7 @@ senf::ListParser::bytes() return ListPolicy::bytes(i(),state()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Container interface template @@ -149,7 +149,7 @@ senf::ListParser::get(ListPolicy const & p) return static_cast(p); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ListParser_Iterator template @@ -214,7 +214,7 @@ prefix_ void senf::detail::ListParser_Iterator::increment() i_ = c_->Container::policy::next(*c_, *this); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ListParser_Container // Structors and default members @@ -381,7 +381,7 @@ prefix_ void senf::ListParser_Container::init() parser().init(); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/ListParser.hh b/senf/Packets/ListParser.hh index 709ed0d..15a00af 100644 --- a/senf/Packets/ListParser.hh +++ b/senf/Packets/ListParser.hh @@ -31,7 +31,7 @@ #include "PacketParser.hh" //#include "ListParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -89,7 +89,7 @@ namespace senf { static const size_type init_bytes = ListPolicy::init_bytes; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Container interface typedef typename ListPolicy::element_type value_type; @@ -138,7 +138,7 @@ namespace senf { : private ListPolicy { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef ListPolicy policy; @@ -151,9 +151,9 @@ namespace senf { typedef iterator const_iterator; typedef PacketParserBase::state_type state_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // no default constructor // default copy @@ -163,11 +163,11 @@ namespace senf { ListParser_Container(parser_type const & list); ~ListParser_Container(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Accessors - ///@{ + //\{ size_type size() const; bool empty() const; @@ -178,9 +178,9 @@ namespace senf { value_type front() const; value_type back() const; - ///@} + //\} ///\name Mutators - ///@{ + //\{ // All these operations can be quite inefficient depending on the list type value_type shift(iterator pos, size_type n=1); @@ -207,10 +207,10 @@ namespace senf { void resize (size_type n); template void resize (size_type n, Value value); - ///@} + //\} ///\name Parser interface - ///@{ + //\{ parser_type parser() const; data_iterator i() const; @@ -220,7 +220,7 @@ namespace senf { size_type bytes() const; void init() const; - ///@} + //\} private: friend class detail::ListParser_Iterator; @@ -320,7 +320,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_ListParser_i_) #define HH_SENF_Packets_ListParser_i_ diff --git a/senf/Packets/ListParser.ih b/senf/Packets/ListParser.ih index e7ee362..3f9b7d3 100644 --- a/senf/Packets/ListParser.ih +++ b/senf/Packets/ListParser.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -99,7 +99,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/ListParser.test.cc b/senf/Packets/ListParser.test.cc index f2a8276..cd62870 100644 --- a/senf/Packets/ListParser.test.cc +++ b/senf/Packets/ListParser.test.cc @@ -33,13 +33,13 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Since the list cannot be instantiated without a policy, there is nothing to test without atleast // a very simple policy. Since ListBParser provides a policy which is as simple as it can get, all // testing is performed in ListBParser.test.cc -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/DTCPPacket.cc b/senf/Packets/MPEGDVBBundle/DTCPPacket.cc index 2fedd7e..39c8d2a 100644 --- a/senf/Packets/MPEGDVBBundle/DTCPPacket.cc +++ b/senf/Packets/MPEGDVBBundle/DTCPPacket.cc @@ -32,7 +32,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::DTCPHelloPacketType::dump(packet p, std::ostream & os) { @@ -77,7 +77,7 @@ prefix_ void senf::DTCPHelloPacketType::dump(packet p, std::ostream & os) #undef prefix_ -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/DTCPPacket.hh b/senf/Packets/MPEGDVBBundle/DTCPPacket.hh index 35550a3..4b9e675 100644 --- a/senf/Packets/MPEGDVBBundle/DTCPPacket.hh +++ b/senf/Packets/MPEGDVBBundle/DTCPPacket.hh @@ -32,7 +32,7 @@ #include //#include "DTCPPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -152,7 +152,7 @@ namespace senf { typedef DTCPHelloPacketType::packet DTCPHelloPacket; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "DTCPPacket.cci" //#include "DTCPPacket.ct" //#include "DTCPPacket.cti" diff --git a/senf/Packets/MPEGDVBBundle/DTCPPacket.test.cc b/senf/Packets/MPEGDVBBundle/DTCPPacket.test.cc index 8d456d6..b36ffb2 100644 --- a/senf/Packets/MPEGDVBBundle/DTCPPacket.test.cc +++ b/senf/Packets/MPEGDVBBundle/DTCPPacket.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(dtcpPacket) { @@ -103,7 +103,7 @@ SENF_AUTO_UNIT_TEST(dtcpPacket) hello2.data().begin(), hello2.data().end() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/GREPacket.cc b/senf/Packets/MPEGDVBBundle/GREPacket.cc index 3e9ef7f..44ff1ac 100644 --- a/senf/Packets/MPEGDVBBundle/GREPacket.cc +++ b/senf/Packets/MPEGDVBBundle/GREPacket.cc @@ -32,7 +32,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x6558, senf::EthernetPacket ); SENF_PACKET_REGISTRY_REGISTER( senf::IpTypes, 47, senf::GREPacket ); @@ -45,7 +45,7 @@ prefix_ void senf::GREPacketType::dump(packet p, std::ostream & os) << senf::fieldName("protocol_type") << "0x" << std::hex << p->protocol_type() << "\n"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/GREPacket.hh b/senf/Packets/MPEGDVBBundle/GREPacket.hh index e3efe73..c5ab551 100644 --- a/senf/Packets/MPEGDVBBundle/GREPacket.hh +++ b/senf/Packets/MPEGDVBBundle/GREPacket.hh @@ -32,7 +32,7 @@ #include //#include "GREPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -114,7 +114,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TransportPacket.cci" //#include "TransportPacket.ct" //#include "TransportPacket.cti" diff --git a/senf/Packets/MPEGDVBBundle/GREPacket.test.cc b/senf/Packets/MPEGDVBBundle/GREPacket.test.cc index 2fe1017..ad7357f 100644 --- a/senf/Packets/MPEGDVBBundle/GREPacket.test.cc +++ b/senf/Packets/MPEGDVBBundle/GREPacket.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -45,7 +45,7 @@ SENF_AUTO_UNIT_TEST(GREPacket_packet) //BOOST_CHECK_EQUAL( p->bytes(), 4u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/MPESection.cc b/senf/Packets/MPEGDVBBundle/MPESection.cc index 626f820..f832d2c 100644 --- a/senf/Packets/MPEGDVBBundle/MPESection.cc +++ b/senf/Packets/MPEGDVBBundle/MPESection.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ boost::uint32_t senf::MPESectionParser::calcCrc() @@ -105,7 +105,7 @@ prefix_ void senf::MPESectionType::finalize(packet p) p->crc() = p->calcCrc(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/MPESection.hh b/senf/Packets/MPEGDVBBundle/MPESection.hh index 92fc4a4..ec56b10 100644 --- a/senf/Packets/MPEGDVBBundle/MPESection.hh +++ b/senf/Packets/MPEGDVBBundle/MPESection.hh @@ -32,7 +32,7 @@ #include //#include "MPESection.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -147,7 +147,7 @@ namespace senf { typedef ConcretePacket MPESection; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "MPESection.cci" //#include "MPESection.ct" //#include "MPESection.cti" diff --git a/senf/Packets/MPEGDVBBundle/MPESection.test.cc b/senf/Packets/MPEGDVBBundle/MPESection.test.cc index 29d7e41..767547b 100644 --- a/senf/Packets/MPEGDVBBundle/MPESection.test.cc +++ b/senf/Packets/MPEGDVBBundle/MPESection.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -191,7 +191,7 @@ SENF_AUTO_UNIT_TEST(MPESection_create) sec_data, sec_data+sizeof(sec_data), sec.data().begin(), sec.data().end() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/SNDUPacket.cc b/senf/Packets/MPEGDVBBundle/SNDUPacket.cc index 6f4e8ea..df35a31 100644 --- a/senf/Packets/MPEGDVBBundle/SNDUPacket.cc +++ b/senf/Packets/MPEGDVBBundle/SNDUPacket.cc @@ -32,7 +32,7 @@ #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ boost::uint32_t senf::SNDUPacketParser::calcCrc() const @@ -107,7 +107,7 @@ prefix_ senf::PacketParserBase::size_type senf::SNDUPacketType::initHeadSize() return 2 + 2; // D-Bit + 15 bits length + 16 bits type field } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/SNDUPacket.hh b/senf/Packets/MPEGDVBBundle/SNDUPacket.hh index 27e1d09..d8633c7 100644 --- a/senf/Packets/MPEGDVBBundle/SNDUPacket.hh +++ b/senf/Packets/MPEGDVBBundle/SNDUPacket.hh @@ -33,7 +33,7 @@ #include //#include "SNDUPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -58,16 +58,16 @@ namespace senf { SENF_PARSER_FINALIZE( SNDUPacketParser ); - MACAddressParser destination() /// Only defined if d_bit() == \c false + MACAddressParser destination() ///< Only defined if d_bit() == \c false { return destination_().get<0>(); } - bool d_bit() /// Destination absent bit + bool d_bit() ///< Destination absent bit { return d_bit_(); } - void withDestination() /// Clear destination absent bit + void withDestination() ///< Clear destination absent bit { destination_().init<0>(); } - void withoutDestination() /// Set destination absent bit + void withoutDestination() ///< Set destination absent bit { destination_().init<1>(); } UInt32Parser crc() @@ -133,7 +133,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "SNDUPacket.cci" //#include "SNDUPacket.ct" //#include "SNDUPacket.cti" diff --git a/senf/Packets/MPEGDVBBundle/TransportPacket.cc b/senf/Packets/MPEGDVBBundle/TransportPacket.cc index 9543327..5f8a6a4 100644 --- a/senf/Packets/MPEGDVBBundle/TransportPacket.cc +++ b/senf/Packets/MPEGDVBBundle/TransportPacket.cc @@ -31,7 +31,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::TransportPacketParser::init_fields() const @@ -74,7 +74,7 @@ prefix_ void senf::TransportPacketType::dump(packet p, std::ostream & os) os << senf::fieldName("pointer field") << "0x" << unsigned(p->pointer_field()) << "\n"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/TransportPacket.hh b/senf/Packets/MPEGDVBBundle/TransportPacket.hh index d1d3f9f..1c5dfeb 100644 --- a/senf/Packets/MPEGDVBBundle/TransportPacket.hh +++ b/senf/Packets/MPEGDVBBundle/TransportPacket.hh @@ -30,7 +30,7 @@ #include //#include "TransportPacket.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -138,7 +138,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TransportPacket.cci" //#include "TransportPacket.ct" //#include "TransportPacket.cti" diff --git a/senf/Packets/MPEGDVBBundle/TransportPacket.test.cc b/senf/Packets/MPEGDVBBundle/TransportPacket.test.cc index aff8bec..348f88b 100644 --- a/senf/Packets/MPEGDVBBundle/TransportPacket.test.cc +++ b/senf/Packets/MPEGDVBBundle/TransportPacket.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -122,7 +122,7 @@ SENF_AUTO_UNIT_TEST(transportPacket_create_with_pusi) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/MPEGDVBBundle/main.test.cc b/senf/Packets/MPEGDVBBundle/main.test.cc index fb7859c..128a5c7 100644 --- a/senf/Packets/MPEGDVBBundle/main.test.cc +++ b/senf/Packets/MPEGDVBBundle/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/Packet.cc b/senf/Packets/Packet.cc index 9c22dd6..df321df 100644 --- a/senf/Packets/Packet.cc +++ b/senf/Packets/Packet.cc @@ -30,7 +30,7 @@ //#include "Packet.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::Packet senf::Packet::getNext() const @@ -54,7 +54,7 @@ prefix_ senf::Packet senf::Packet::getLast() return p; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Packet.mpp" diff --git a/senf/Packets/Packet.cci b/senf/Packets/Packet.cci index ef46112..150bc62 100644 --- a/senf/Packets/Packet.cci +++ b/senf/Packets/Packet.cci @@ -27,9 +27,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Packet // protected members @@ -214,7 +214,7 @@ prefix_ Parser senf::operator<<(Parser target, ConcretePacket const return target; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/Packet.ct b/senf/Packets/Packet.ct index f478535..f3a63ca 100644 --- a/senf/Packets/Packet.ct +++ b/senf/Packets/Packet.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Packet template @@ -59,7 +59,7 @@ prefix_ OtherPacket senf::Packet::rfind(NoThrow_t) return OtherPacket(); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/Packet.cti b/senf/Packets/Packet.cti index 902681b..d8e06c1 100644 --- a/senf/Packets/Packet.cti +++ b/senf/Packets/Packet.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Packet // conversion constructors @@ -158,7 +158,7 @@ prefix_ Annotation const & senf::Packet::annotation() return ptr()->annotation(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ConcretePacket // structors and default members @@ -333,7 +333,7 @@ prefix_ typename senf::ConcretePacket::interpreter * senf::ConcreteP return static_cast< PacketInterpreter *>( Packet::ptr().get()); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/Packet.hh b/senf/Packets/Packet.hh index 8b116e6..65c8965 100644 --- a/senf/Packets/Packet.hh +++ b/senf/Packets/Packet.hh @@ -35,7 +35,7 @@ #include "PacketInterpreter.hh" //#include "Packet.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -96,7 +96,7 @@ namespace senf { template class ConcretePacket; ///\addtogroup packet_module - ///@{ + //\{ /** \brief Main %Packet class @@ -142,7 +142,7 @@ namespace senf { public boost::equality_comparable { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef void type; ///< Type of the packet. @@ -150,9 +150,9 @@ namespace senf { ///< Unsigned type to represent packet size typedef PacketInterpreterBase::factory_t factory_t; ///< Packet factory type (see below) - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default copy constructor // default copy assignment @@ -177,11 +177,11 @@ namespace senf { ConcretePacket into a general Packet, loosing the protocol specific interface. */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Interpreter chain access - ///@{ + //\{ Packet next() const; ///< Get next packet in chain /**< \throws InvalidPacketChainException if no next packet @@ -313,20 +313,20 @@ namespace senf { /**< This member will throw away the packet chain after the current packet. The payload will be reparsed automatically when calling next() */ - ///@} + //\} ///\name Data access - ///@{ + //\{ PacketData & data() const; ///< Access the packets raw data container size_type size() const; ///< Return size of packet in bytes /**< This size does \e not include the size of any preceding headers/packets/interpreters. It does however include \c this packets payload. */ - ///@} + //\} ///\name Annotations - ///@{ + //\{ template Annotation & annotation(); ///< Get packet annotation @@ -394,10 +394,10 @@ namespace senf { the annotations equates to a new created %packet. \warning all references to existing complex annotations become invalid. */ - ///@} + //\} ///\name Other methods - ///@{ + //\{ bool operator==(Packet const & other) const; ///< Check for packet identity /**< Two packet handles compare equal if they really are the @@ -506,7 +506,7 @@ namespace senf { /**< This method returns true if there is any other packet handle pointing to any header in the packet chain. */ - ///@} + //\} protected: explicit Packet(PacketInterpreterBase::ptr const & packet); @@ -566,15 +566,15 @@ namespace senf { : public Packet { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef PacketType type; typedef typename PacketType::parser Parser; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default copy constructor // default copy assignment @@ -736,8 +736,8 @@ namespace senf { ConcretePacket clone() const; - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// // Field access @@ -789,11 +789,11 @@ namespace senf { template Parser operator<<(Parser target, ConcretePacket const & packet); - ///@} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_Packet_i_) #define HH_SENF_Packets_Packet_i_ diff --git a/senf/Packets/Packet.test.cc b/senf/Packets/Packet.test.cc index 62b22c4..49c9ba0 100644 --- a/senf/Packets/Packet.test.cc +++ b/senf/Packets/Packet.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -398,7 +398,7 @@ COMPILE_FAIL(invalidAnnotation) #endif -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketData.cc b/senf/Packets/PacketData.cc index dade5f3..38d65e0 100644 --- a/senf/Packets/PacketData.cc +++ b/senf/Packets/PacketData.cc @@ -30,7 +30,7 @@ //#include "PacketData.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Modifying the raw packet data @@ -42,7 +42,7 @@ prefix_ void senf::PacketData::resize(size_type n, byte v) impl().insert(this,end(),n-size(),v); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PacketData.mpp" diff --git a/senf/Packets/PacketData.cci b/senf/Packets/PacketData.cci index 747c794..e135ce1 100644 --- a/senf/Packets/PacketData.cci +++ b/senf/Packets/PacketData.cci @@ -30,9 +30,9 @@ // #include "PacketParser.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketData prefix_ senf::detail::PacketImpl & senf::PacketData::impl() @@ -134,7 +134,7 @@ prefix_ senf::PacketData::PacketData(size_type b, size_type e) : impl_(), begin_(b), end_(e) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketData.cti b/senf/Packets/PacketData.cti index 5d47afc..635ae90 100644 --- a/senf/Packets/PacketData.cti +++ b/senf/Packets/PacketData.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketData // Modifying the raw packet data @@ -50,7 +50,7 @@ insert(iterator pos, InputIterator f, InputIterator l) {} #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketData.hh b/senf/Packets/PacketData.hh index 6d1b3f7..095c9c5 100644 --- a/senf/Packets/PacketData.hh +++ b/senf/Packets/PacketData.hh @@ -32,7 +32,7 @@ #include //#include "PacketData.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -68,7 +68,7 @@ namespace senf { : boost::noncopyable { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef senf::detail::packet::iterator iterator; @@ -82,18 +82,18 @@ namespace senf { typedef byte * pointer; typedef byte const * const_pointer; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // no public constructors // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Sequence interface to raw data - ///@{ + //\{ iterator begin() const; ///< Return iterator to beginning /**< Returns an random access iterator referring to the @@ -134,7 +134,7 @@ namespace senf { void reserve(size_type n); size_type capacity() const; - ///@} + //\} protected: PacketData(size_type b, size_type e); @@ -165,7 +165,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketData_i_) #define HH_SENF_Packets_PacketData_i_ diff --git a/senf/Packets/PacketData.test.cc b/senf/Packets/PacketData.test.cc index 2da2126..2087a5b 100644 --- a/senf/Packets/PacketData.test.cc +++ b/senf/Packets/PacketData.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase {}; @@ -128,7 +128,7 @@ SENF_AUTO_UNIT_TEST(safePacketIterator) BOOST_CHECK( &d == &i.data() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketImpl.cc b/senf/Packets/PacketImpl.cc index c958d44..291b3f1 100644 --- a/senf/Packets/PacketImpl.cc +++ b/senf/Packets/PacketImpl.cc @@ -35,9 +35,9 @@ //#include "PacketImpl.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketImpl prefix_ senf::detail::PacketImpl::~PacketImpl() @@ -178,7 +178,7 @@ prefix_ void * senf::detail::PacketImpl::complexAnnotation(AnnotationRegistry::k ? 0 : complexAnnotations_[-key-1].get(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::AnnotationRegistry prefix_ void senf::detail::AnnotationRegistry::dump(key_type key, std::ostream & os, @@ -217,7 +217,7 @@ prefix_ void senf::dumpPacketAnnotationRegistry(std::ostream & os) senf::detail::AnnotationRegistry::instance().dumpRegistrations(os); } -/////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PacketImpl.mpp" diff --git a/senf/Packets/PacketImpl.cci b/senf/Packets/PacketImpl.cci index 2cc4f67..40f0b25 100644 --- a/senf/Packets/PacketImpl.cci +++ b/senf/Packets/PacketImpl.cci @@ -28,9 +28,9 @@ // #include "PacketInterpreter.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::AnnotationRegistry prefix_ std::string senf::detail::AnnotationRegistry::name(key_type key) @@ -72,7 +72,7 @@ prefix_ senf::detail::AnnotationRegistry::AnnotationRegistry() : simpleAnnotationCount_ (0), complexAnnotationCount_ (0) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Memory management: // @@ -97,7 +97,7 @@ prefix_ senf::detail::AnnotationRegistry::AnnotationRegistry() // The last three also modify the impl_ member accordingly by calling // PacketInterpreterBase::assign/release -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketImpl prefix_ senf::detail::PacketImpl::PacketImpl() @@ -226,7 +226,7 @@ prefix_ void * senf::detail::PacketImpl::annotation(AnnotationRegistry::key_type return key >= 0 ? & simpleAnnotations_[key] : complexAnnotation(key); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketImpl::Guard prefix_ senf::detail::PacketImpl::Guard::Guard(PacketImpl * impl) @@ -240,7 +240,7 @@ prefix_ senf::detail::PacketImpl::Guard::~Guard() p->release(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketImpl.ct b/senf/Packets/PacketImpl.ct index feb564d..bc2da59 100644 --- a/senf/Packets/PacketImpl.ct +++ b/senf/Packets/PacketImpl.ct @@ -28,7 +28,7 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template senf::detail::AnnotationRegistry::RegistrationProxy @@ -52,7 +52,7 @@ prefix_ void * senf::detail::PacketImpl::complexAnnotation() return rv; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketImpl.cti b/senf/Packets/PacketImpl.cti index 0627756..863c42a 100644 --- a/senf/Packets/PacketImpl.cti +++ b/senf/Packets/PacketImpl.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::AnnotationRegistry template @@ -65,7 +65,7 @@ prefix_ senf::detail::AnnotationRegistry::key_type senf::detail::AnnotationRegis return AnnotationRegistry::Entry::key(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketImpl // Data container @@ -97,7 +97,7 @@ prefix_ Annotation & senf::detail::PacketImpl::annotation() return * static_cast(antn); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketImpl.hh b/senf/Packets/PacketImpl.hh index b41fe23..56e261d 100644 --- a/senf/Packets/PacketImpl.hh +++ b/senf/Packets/PacketImpl.hh @@ -37,7 +37,7 @@ //#include "PacketImpl.mpp" #include "PacketImpl.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -216,7 +216,7 @@ namespace detail { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketImpl_i_) #define HH_SENF_Packets_PacketImpl_i_ diff --git a/senf/Packets/PacketImpl.ih b/senf/Packets/PacketImpl.ih index c04e136..619859f 100644 --- a/senf/Packets/PacketImpl.ih +++ b/senf/Packets/PacketImpl.ih @@ -43,7 +43,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -186,7 +186,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/PacketImpl.test.cc b/senf/Packets/PacketImpl.test.cc index c87accf..11b527d 100644 --- a/senf/Packets/PacketImpl.test.cc +++ b/senf/Packets/PacketImpl.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase {}; @@ -213,7 +213,7 @@ SENF_AUTO_UNIT_TEST(packetImpl_interpreters) #endif } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketInterpreter.cc b/senf/Packets/PacketInterpreter.cc index be6c63d..d0cff20 100644 --- a/senf/Packets/PacketInterpreter.cc +++ b/senf/Packets/PacketInterpreter.cc @@ -30,9 +30,9 @@ //#include "PacketInterpreter.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreterBase // structors and default members @@ -126,13 +126,13 @@ prefix_ void senf::PacketInterpreterBase::release() delete this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreterBase::Factory prefix_ senf::PacketInterpreterBase::Factory::~Factory() {} -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PacketInterpreter.mpp" diff --git a/senf/Packets/PacketInterpreter.cci b/senf/Packets/PacketInterpreter.cci index 470ed65..d81df8a 100644 --- a/senf/Packets/PacketInterpreter.cci +++ b/senf/Packets/PacketInterpreter.cci @@ -28,9 +28,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreterBase // Structors and default members @@ -103,7 +103,7 @@ prefix_ void senf::PacketInterpreterBase::clearAnnotations() return impl().clearAnnotations(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members // protected structors @@ -145,7 +145,7 @@ senf::PacketInterpreterBase::appendClone(detail::PacketImpl * impl, range r) return v_appendClone(impl,r); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members // containment management. Only to be called by PacketImpl. @@ -188,7 +188,7 @@ prefix_ void senf::intrusive_ptr_release(PacketInterpreterBase const * p) const_cast(p)->intrusive_refcount_base::release(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketInterpreter.ct b/senf/Packets/PacketInterpreter.ct index 428f54f..6d4a40f 100644 --- a/senf/Packets/PacketInterpreter.ct +++ b/senf/Packets/PacketInterpreter.ct @@ -29,9 +29,9 @@ #include "Packet.hh" #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreterBase // Interpreter chain access @@ -52,7 +52,7 @@ senf::PacketInterpreterBase::parseNextAs() return pi; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreter // Create completely new packet @@ -170,7 +170,7 @@ senf::PacketInterpreter::createInsertBefore(PacketInterpreterBase::p return create(&packet->impl(),packet->data().begin(),packet->data().end(),packet); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members // virtual interface @@ -233,7 +233,7 @@ senf::PacketInterpreter::v_nextPacketType() } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreterBase::Factory template @@ -257,7 +257,7 @@ senf::PacketInterpreterBase::Factory::createAfter(PacketInterpreterBase::ptr pac return pi; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreter::FactoryImpl // Create completely new packet @@ -390,7 +390,7 @@ template const typename senf::PacketInterpreter::FactoryImpl senf::PacketInterpreter::factory_; -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketInterpreter.cti b/senf/Packets/PacketInterpreter.cti index 29eee09..aa8bc2d 100644 --- a/senf/Packets/PacketInterpreter.cti +++ b/senf/Packets/PacketInterpreter.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreterBase // Interpreter chain access @@ -56,7 +56,7 @@ prefix_ Annotation & senf::PacketInterpreterBase::annotation() return impl().annotation(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketInterpreter template @@ -126,7 +126,7 @@ senf::PacketInterpreter::fields() return parser (data().begin(),&data()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members // Private structors @@ -198,7 +198,7 @@ prefix_ void senf::PacketInterpreter::init() return type::init(ConcretePacket(ptr(this))); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketInterpreter.hh b/senf/Packets/PacketInterpreter.hh index 4f9ae70..2760b9d 100644 --- a/senf/Packets/PacketInterpreter.hh +++ b/senf/Packets/PacketInterpreter.hh @@ -37,7 +37,7 @@ #include //#include "PacketInterpreter.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -56,7 +56,7 @@ namespace senf { public intrusive_refcount_t { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef senf::detail::packet::smart_pointer< @@ -121,9 +121,9 @@ namespace senf { typedef Factory const * factory_t; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // protected constructors // no copy @@ -135,11 +135,11 @@ namespace senf { ptr clone(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Interpreter chain access - ///@{ + //\{ ptr next(); ptr prev(); @@ -155,28 +155,28 @@ namespace senf { void reparse(); - ///@} + //\} ///\name Data access - ///@{ + //\{ using PacketData::valid; PacketData & data(); - ///@} + //\} ///\name Annotations - ///@{ + //\{ template Annotation & annotation(); void clearAnnotations(); - ///@} + //\} ///\name Access to the abstract interface - ///@{ + //\{ optional_range nextPacketRange(); void finalizeThis(); @@ -186,7 +186,7 @@ namespace senf { factory_t factory(); factory_t nextPacketType(); - ///@} + //\} protected: // protected structors @@ -254,7 +254,7 @@ namespace senf { public pool_alloc_mixin< PacketInterpreter > { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef typename senf::detail::packet::smart_pointer< @@ -262,9 +262,9 @@ namespace senf { typedef PacketType type; typedef typename type::parser parser; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // private constructors // no copy @@ -303,8 +303,8 @@ namespace senf { ptr clone(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// // Packet field access @@ -410,7 +410,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketInterpreter_i_) #define HH_SENF_Packets_PacketInterpreter_i_ diff --git a/senf/Packets/PacketInterpreter.test.cc b/senf/Packets/PacketInterpreter.test.cc index 7d796c9..ae9a344 100644 --- a/senf/Packets/PacketInterpreter.test.cc +++ b/senf/Packets/PacketInterpreter.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase { @@ -305,7 +305,7 @@ SENF_AUTO_UNIT_TEST(packetInterpreter_factory) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketParser.cc b/senf/Packets/PacketParser.cc index f61ae20..e33eb20 100644 --- a/senf/Packets/PacketParser.cc +++ b/senf/Packets/PacketParser.cc @@ -30,7 +30,7 @@ //#include "PacketParser.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::PacketParserBase::resize(size_type oldSize, size_type newSize) { @@ -42,7 +42,7 @@ prefix_ void senf::PacketParserBase::resize(size_type oldSize, size_type newSize i_ = safe_i; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PacketParser.mpp" diff --git a/senf/Packets/PacketParser.cci b/senf/Packets/PacketParser.cci index db3939d..ee18f42 100644 --- a/senf/Packets/PacketParser.cci +++ b/senf/Packets/PacketParser.cci @@ -28,9 +28,9 @@ #include "PacketData.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketParserBase // public members @@ -134,7 +134,7 @@ prefix_ senf::Packet senf::PacketParserBase::packet() return Packet(PacketInterpreterBase::ptr(static_cast(&data()))); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketParser.ct b/senf/Packets/PacketParser.ct index 5934762..401d876 100644 --- a/senf/Packets/PacketParser.ct +++ b/senf/Packets/PacketParser.ct @@ -28,7 +28,7 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN template @@ -62,7 +62,7 @@ prefix_ senf::PacketParserBase::size_type senf::detail::packetParserSize(Parser return Parser::fixed_bytes; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketParser.cti b/senf/Packets/PacketParser.cti index 48f2334..be92007 100644 --- a/senf/Packets/PacketParser.cti +++ b/senf/Packets/PacketParser.cti @@ -30,9 +30,9 @@ #include "PacketData.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketParserBase template @@ -63,7 +63,7 @@ prefix_ Parser senf::PacketParserBase::parse(Arg const & arg, size_type n) return Parser(arg, boost::next(i(),n), state()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace members template @@ -114,7 +114,7 @@ senf::detail::packetParserSize(Parser p, int, senf::mpl::take_uint template @@ -143,7 +143,7 @@ prefix_ Parser const & senf::ValueParserBase::ope return *static_cast(this); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketParser.hh b/senf/Packets/PacketParser.hh index 56b20d9..b1cf6a6 100644 --- a/senf/Packets/PacketParser.hh +++ b/senf/Packets/PacketParser.hh @@ -164,7 +164,7 @@ #include "SafeIterator.hh" //#include "PacketParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -213,7 +213,7 @@ namespace senf { // created data object. The default implementation just does nothing. void init() const; - // //////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Add here members returning (sub-)parsers for the fields. The 'parse' member is // used to construct the sub-parsers. This member either takes an iterator to the @@ -238,7 +238,7 @@ namespace senf { class PacketParserBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef detail::packet::iterator data_iterator; ///< Raw data iterator type @@ -248,17 +248,17 @@ namespace senf { typedef PacketData * state_type; ///< Type of the 'state' parameter typedef PacketParserBase parser_base_type; ///< Base type of the next parser - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // no default constructor // default copy // default destructor // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// data_iterator i() const; ///< Return beginning of data to parse /**< The parser is expected to interpret the data beginning @@ -536,7 +536,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketParser_i_) #define HH_SENF_Packets_PacketParser_i_ diff --git a/senf/Packets/PacketParser.ih b/senf/Packets/PacketParser.ih index c55be7e..fb3c511 100644 --- a/senf/Packets/PacketParser.ih +++ b/senf/Packets/PacketParser.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -72,7 +72,7 @@ namespace detail { // Either 'some-class-name' is not the class you wanted to use (it really is no parser) or you // left out either 'init_bytes' or 'fixed_bytes' when defining the parser. This will also // happen, if you forget to call 'SENF_PARSER_FINALIZE()' when defining a composite parser. - /////////////////////////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // If Parser::init_bytes is not defined, this specialization is chosen which instead uses // 'Parser::fixed_bytes' @@ -100,7 +100,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/PacketParser.test.cc b/senf/Packets/PacketParser.test.cc index b9b5b91..cf8bd71 100644 --- a/senf/Packets/PacketParser.test.cc +++ b/senf/Packets/PacketParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase {}; @@ -92,7 +92,7 @@ SENF_AUTO_UNIT_TEST(packetParserBase) BOOST_CHECK_EQUAL( senf::init_bytes::value, 6u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketRegistry.cc b/senf/Packets/PacketRegistry.cc index da8a5bb..7de41b1 100644 --- a/senf/Packets/PacketRegistry.cc +++ b/senf/Packets/PacketRegistry.cc @@ -29,7 +29,7 @@ //#include "PacketRegistry.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::detail::PacketRegistryImplBase::~PacketRegistryImplBase() {} @@ -62,7 +62,7 @@ senf::detail::PacketRegistryImplBase::registries() return map; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PacketRegistry.mpp" diff --git a/senf/Packets/PacketRegistry.cci b/senf/Packets/PacketRegistry.cci index b1280c5..08026ba 100644 --- a/senf/Packets/PacketRegistry.cci +++ b/senf/Packets/PacketRegistry.cci @@ -28,14 +28,14 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::dumpPacketRegistries(std::ostream & os) { senf::detail::PacketRegistryImplBase::dump(os); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketRegistry.ct b/senf/Packets/PacketRegistry.ct index b2c6501..d1ce466 100644 --- a/senf/Packets/PacketRegistry.ct +++ b/senf/Packets/PacketRegistry.ct @@ -34,9 +34,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketRegistryImpl::Entry template @@ -49,7 +49,7 @@ template prefix_ senf::detail::PacketRegistryImpl::Entry::~Entry() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketRegistryImpl::EntryImpl template @@ -85,7 +85,7 @@ senf::detail::PacketRegistryImpl::EntryImpl::type() return typeid(PacketType); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketRegistryImpl: template @@ -186,7 +186,7 @@ prefix_ void senf::detail::PacketRegistryImpl::v_clear() registry_.clear(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::DumpKey template @@ -204,7 +204,7 @@ prefix_ void senf::detail::DumpKey::dump(KeyType const & v, std:: os << " " << senf::format::dumpint(v); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketRegistry.cti b/senf/Packets/PacketRegistry.cti index 44ee816..f929f81 100644 --- a/senf/Packets/PacketRegistry.cti +++ b/senf/Packets/PacketRegistry.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////PacketRegistry..p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketRegistry::ScopedRegistrationProxy template @@ -52,7 +52,7 @@ prefix_ senf::PacketRegistry::ScopedRegistrationProxy::~ScopedR {} } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketRegistry template @@ -142,7 +142,7 @@ senf::PacketRegistry::registry() return instance().registry_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::PacketRegistryImpl template @@ -167,7 +167,7 @@ senf::detail::PacketRegistryImpl::end() return registry_.end(); } -///////////////////////////////PacketRegistry..e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketRegistry.hh b/senf/Packets/PacketRegistry.hh index 1f748a1..491c738 100644 --- a/senf/Packets/PacketRegistry.hh +++ b/senf/Packets/PacketRegistry.hh @@ -37,7 +37,7 @@ #include "PacketRegistry.ih" //#include "PacketRegistry.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -277,7 +277,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketRegistry_i_) #define HH_SENF_Packets_PacketRegistry_i_ diff --git a/senf/Packets/PacketRegistry.ih b/senf/Packets/PacketRegistry.ih index e2b0e48..382ff30 100644 --- a/senf/Packets/PacketRegistry.ih +++ b/senf/Packets/PacketRegistry.ih @@ -38,7 +38,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -133,19 +133,19 @@ namespace detail { }; public: - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Types typedef typename Registry::template index::type::const_iterator iterator; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ PacketRegistryImpl(std::string const & name); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-///////////////////////////////////////////////////////////////////////////////////////// template void registerPacket(key_t key, int priority=0); @@ -187,7 +187,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/PacketRegistry.test.cc b/senf/Packets/PacketRegistry.test.cc index 8dd410d..1a0777d 100644 --- a/senf/Packets/PacketRegistry.test.cc +++ b/senf/Packets/PacketRegistry.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -164,7 +164,7 @@ SENF_AUTO_UNIT_TEST(packetRegistry_test) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketType.cci b/senf/Packets/PacketType.cci index 18741c0..2473bf5 100644 --- a/senf/Packets/PacketType.cci +++ b/senf/Packets/PacketType.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketTypeBase prefix_ senf::PacketTypeBase::optional_range senf::PacketTypeBase::no_range() @@ -70,7 +70,7 @@ prefix_ void senf::PacketTypeBase::finalize(packet) prefix_ void senf::PacketTypeBase::dump(packet p, std::ostream & os) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketType.ct b/senf/Packets/PacketType.ct index 0210288..311d512 100644 --- a/senf/Packets/PacketType.ct +++ b/senf/Packets/PacketType.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketTypeMixin template @@ -62,7 +62,7 @@ senf::PacketTypeMixin::nextPacketRange(ConcretePacket const & p boost::prior(p.data().end(),Self::initSize()-sz))); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketType.cti b/senf/Packets/PacketType.cti index 4caed76..6f0dd17 100644 --- a/senf/Packets/PacketType.cti +++ b/senf/Packets/PacketType.cti @@ -30,9 +30,9 @@ #include "PacketRegistry.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketTypeBase template @@ -41,7 +41,7 @@ prefix_ senf::PacketTypeBase::factory_t senf::PacketTypeBase::factory() return PacketInterpreter::factory(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketTypeMixin template @@ -88,7 +88,7 @@ prefix_ senf::PacketTypeBase::factory_t senf::PacketTypeMixin::lo return entry ? entry->factory() : PacketTypeBase::no_factory(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::PacketTypeMixin template @@ -103,7 +103,7 @@ prefix_ void senf::PacketTypeMixin::init(ConcretePacket const & p->init(); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/PacketType.hh b/senf/Packets/PacketType.hh index 2c6fd01..1de715d 100644 --- a/senf/Packets/PacketType.hh +++ b/senf/Packets/PacketType.hh @@ -34,7 +34,7 @@ #include "Packet.hh" //#include "PacketType.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -331,14 +331,14 @@ namespace senf { no_factory() will be returned. */ ///\name PacketType interface implementation - ///@{ + //\{ static PacketInterpreterBase::optional_range nextPacketRange (ConcretePacket const & p); static PacketInterpreterBase::factory_t nextPacketType (ConcretePacket const & p); static PacketInterpreterBase::size_type initSize (); static void init (ConcretePacket const & p); - ///@} + //\} }; # ifndef DOXYGEN @@ -356,7 +356,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketType_i_) #define HH_SENF_Packets_PacketType_i_ diff --git a/senf/Packets/PacketTypes.hh b/senf/Packets/PacketTypes.hh index be40e5f..bba196a 100644 --- a/senf/Packets/PacketTypes.hh +++ b/senf/Packets/PacketTypes.hh @@ -34,7 +34,7 @@ #include //#include "PacketTypes.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -77,7 +77,7 @@ namespace test { }}}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_PacketTypes_i_) #define HH_SENF_Packets_PacketTypes_i_ diff --git a/senf/Packets/ParseHelpers.dox b/senf/Packets/ParseHelpers.dox index 0faba76..d1637cb 100644 --- a/senf/Packets/ParseHelpers.dox +++ b/senf/Packets/ParseHelpers.dox @@ -67,7 +67,7 @@ \code struct TestParser : public senf::PacketParserBase { - // ///////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// // #include SENF_PARSER() private: @@ -80,12 +80,12 @@ void init_chain (senf::mpl::rv <0> *) const {} size_type field_offset_ (senf::mpl::rv <0> *) const { return 0; } - // ///////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// // SENF_PARSER_SKIP_BITS( 4 ); SENF_MPL_SLOT_SET(bit, SENF_MPL_SLOT_GET(bit) + 4); - // ///////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// // SENF_PARSER_BITFIELD_RO( type, 4, unsigned ); public: @@ -140,7 +140,7 @@ return type_(); } - // ///////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// // SENF_PARSER_PRIVATE_VARIANT( content_, type, // ( novalue( nocontent, key(10, senf::VoidPacketParser)) ) // ( id( content, SubParser ) ) @@ -248,7 +248,7 @@ return content_().variant() == 1; }; - // ///////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// // SENF_PARSER_FINALIZE(TestParser); void defaultInit() const diff --git a/senf/Packets/ParseHelpers.hh b/senf/Packets/ParseHelpers.hh index 5e9683f..ac32e76 100644 --- a/senf/Packets/ParseHelpers.hh +++ b/senf/Packets/ParseHelpers.hh @@ -34,7 +34,7 @@ //#include "ParseHelpers.mpp" #include "ParseHelpers.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup packetparsermacros Helper macros for defining new packet parsers @@ -279,10 +279,10 @@ \ingroup packetparser */ ///\addtogroup packetparsermacros -///\{ +//\{ ///\name Control information -///@{ +//\{ /** \brief Define fixed size parser @@ -386,10 +386,10 @@ */ #define SENF_PARSER_FINALIZE(name) -///@} +//\} ///\name Parser fields -///@{ +//\{ /** \brief Define normal parser field @@ -482,10 +482,10 @@ */ #define SENF_PARSER_CUSTOM_FIELD(name, type, size) -///@} +//\} ///\name Bit fields -///@{ +//\{ /** \brief Define bit-field @@ -533,10 +533,10 @@ */ #define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type) -///@} +//\} ///\name Current offset -///@{ +//\{ /** \brief Skip bytes @@ -662,7 +662,7 @@ */ #define SENF_PARSER_CURRENT_FIXED_OFFSET() -///@} +//\} #else @@ -691,9 +691,9 @@ #endif -///\} +//\} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_ParseHelpers_i_) #define HH_SENF_Packets_ParseHelpers_i_ diff --git a/senf/Packets/ParseHelpers.ih b/senf/Packets/ParseHelpers.ih index 6dc6bf5..f0ad6df 100644 --- a/senf/Packets/ParseHelpers.ih +++ b/senf/Packets/ParseHelpers.ih @@ -33,9 +33,9 @@ # include "../Utils/preprocessor.hh" # include "../Utils/mpl.hh" # -# ////////////////////////////////ih.p/////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_INITIALIZE # # define SENF_PARSER_INITIALIZE BOOST_PP_CAT( SENF_PARSER_INITIALIZE_ , SENF_PARSER_TYPE ) @@ -60,7 +60,7 @@ size_type field_offset_(senf::mpl::rv<0>*) const { return 0; } \ public: # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_INHERIT_* # # define SENF_PARSER_INHERIT_var(name) \ @@ -86,7 +86,7 @@ } \ public: # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_FIELD* # // SENF_PARSER_P_FIELD_* # @@ -116,7 +116,7 @@ BOOST_PP_CAT(SENF_PARSER_I_ISVAR_, ofstype) (name, type), \ access ) # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_FIELD_INTRO # # define SENF_PARSER_I_FIELD_INTRO(name, type, access) \ @@ -126,7 +126,7 @@ SENF_MPL_SLOT_SET(index, BOOST_PP_CAT(name,_index)); \ access: # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_FIELD_INIT_* # # define SENF_PARSER_I_FIELD_INIT_rw(name, type, access) \ @@ -144,7 +144,7 @@ } \ access: # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_FIELD_OFS_* # # define SENF_PARSER_I_FIELD_OFS_var(name, type, access) \ @@ -162,7 +162,7 @@ SENF_MPL_SLOT_GET(offset); \ private: # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_ADVANCE_OFS_* # # define SENF_PARSER_I_SIZE_var(name, type) senf::bytes(BOOST_PP_CAT(name, _)()) @@ -198,7 +198,7 @@ SENF_MPL_SLOT_SET(offset, BOOST_PP_CAT(name, _next_offset)); \ access: # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_FIELD_VAL_* # # define SENF_PARSER_I_FIELD_VAL_rw(name, type, access) \ @@ -221,7 +221,7 @@ return BOOST_PP_CAT(name,_)(); \ } # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_CUSTOM_FIELD_* # # define SENF_PARSER_CUSTOM_FIELD_var(name, type, size, isize) \ @@ -237,7 +237,7 @@ BOOST_PP_CAT(SENF_PARSER_I_ADVANCE_OFS_, ofstype) (name, type, size, isize, 1, public) \ BOOST_PP_CAT(name, _t) name() const # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_BITFIELD_* # // SENF_PARSER_P_BITFIELD_* # @@ -255,7 +255,7 @@ # define SENF_PARSER_P_BITFIELD_fix(name, bits, type) \ SENF_PARSER_BITFIELD_I(name, bits, type, fix, rw, protected) # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_BITFIELD_I # # define SENF_PARSER_BITFIELD_TYPE_signed(start, bits) senf::IntFieldParser @@ -288,7 +288,7 @@ BOOST_PP_CAT(SENF_PARSER_I_FIELD_VAL_, rwtype) (name, type, access) \ public: # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_BITFIELD_OFS_* # # define SENF_PARSER_I_BITFIELD_OFS_var(name, type, access) \ @@ -303,14 +303,14 @@ static size_type const BOOST_PP_CAT(name, _offset) = \ SENF_MPL_SLOT_GET(offset) - SENF_MPL_SLOT_GET(bitfield_size); # -# //////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_I_BITFIELD_RESET # # define SENF_PARSER_I_BITFIELD_RESET() \ SENF_MPL_SLOT_SET(bit, 0); \ SENF_MPL_SLOT_SET(bitfield_size, 0); # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_SKIP_* # # define SENF_PARSER_SKIP_var(bytes, ibytes) \ @@ -329,7 +329,7 @@ private) \ public: # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_SKIP_BITS_* # # define SENF_PARSER_SKIP_BITS_var(bits) SENF_PARSER_I_SKIP_BITS(bits, var) @@ -340,7 +340,7 @@ SENF_MPL_SLOT_SET(bit, SENF_MPL_SLOT_GET(bit) + bits); \ public: # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_GOTO_* # # define SENF_PARSER_GOTO_var(name) \ @@ -378,7 +378,7 @@ # define SENF_PARSER_I_GOTO_SET_OFS_fix(name, offs, initsize) \ SENF_MPL_SLOT_SET(offset, offs); # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_LABEL_* # # define SENF_PARSER_LABEL_var(name) SENF_PARSER_I_LABEL( name, var, public ) @@ -393,25 +393,25 @@ BOOST_PP_CAT(SENF_PARSER_I_ADVANCE_OFS_, ofstype) (name, void, 0, 0, 0, access) \ public: # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_OFFSET_* # # define SENF_PARSER_OFFSET_fix(name) BOOST_PP_CAT(name, _offset) # define SENF_PARSER_OFFSET_var(name) BOOST_PP_CAT(name, _offset)() # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_FIXED_OFFSET_* # # define SENF_PARSER_FIXED_OFFSET_fix(name) BOOST_PP_CAT(name, _offset) # define SENF_PARSER_FIXED_OFFSET_var(name) BOOST_PP_CAT(name, _init_bytes) # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_CURRENT_FIXED_OFFSET_* # # define SENF_PARSER_CURRENT_FIXED_OFFSET_fix() SENF_MPL_SLOT_GET(offset) # define SENF_PARSER_CURRENT_FIXED_OFFSET_var() SENF_MPL_SLOT_GET(init_bytes) # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_FINALIZE_* # # define SENF_PARSER_FINALIZE_var(name) \ @@ -435,7 +435,7 @@ public: \ void init() const { init(0); } # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_REQUIRE_VAR # # define SENF_PARSER_REQUIRE_VAR(description) \ @@ -448,7 +448,7 @@ BOOST_PP_CAT(description, _not_allowed_in_fixed_parser) ) \ BOOST_PP_CAT(errsym_, __LINE__); # -# /////////////////////////////////////////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # // SENF_PARSER_COLLECTION_I # # ifndef DOXYGEN @@ -641,7 +641,7 @@ BOOST_PP_CAT(name, _t) name() const \ { return BOOST_PP_CAT(name, _)(); } # -# ////////////////////////////////ih.e/////////////////////////////////////// +# //-/////////////////////////////////////////////////////////////////////////////////////////////// # endif # # diff --git a/senf/Packets/ParseHelpers.test.cc b/senf/Packets/ParseHelpers.test.cc index e840603..2b3a4a6 100644 --- a/senf/Packets/ParseHelpers.test.cc +++ b/senf/Packets/ParseHelpers.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -255,7 +255,7 @@ SENF_AUTO_UNIT_TEST(variableParser) BOOST_CHECK_EQUAL ( derivedParser.anotherOverlay() , 0x8384u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/SafeIterator.cci b/senf/Packets/SafeIterator.cci index 1ef2af2..09ed304 100644 --- a/senf/Packets/SafeIterator.cci +++ b/senf/Packets/SafeIterator.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::safe_data_iterator prefix_ senf::safe_data_iterator::safe_data_iterator() @@ -128,7 +128,7 @@ prefix_ void senf::safe_data_iterator::advance(difference_type n) i_ += n; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/SafeIterator.cti b/senf/Packets/SafeIterator.cti index 7615630..49c84c7 100644 --- a/senf/Packets/SafeIterator.cti +++ b/senf/Packets/SafeIterator.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SafePacketParserWrapper template @@ -76,7 +76,7 @@ prefix_ bool senf::SafePacketParserWrapper::boolean_test() return i_; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/SafeIterator.hh b/senf/Packets/SafeIterator.hh index b182b83..95e8e10 100644 --- a/senf/Packets/SafeIterator.hh +++ b/senf/Packets/SafeIterator.hh @@ -34,7 +34,7 @@ #include //#include "SafeIterator.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -122,12 +122,12 @@ namespace senf { : public safe_bool< SafePacketParserWrapper > { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default copy constructor // default copy assignment @@ -139,8 +139,8 @@ namespace senf { SafePacketParserWrapper & operator=(Parser parser); ///< Assign \a parser to \c this - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// Parser & operator*() const; ///< Access the stored parser /**< On every access, the stored parsers iterator will be @@ -159,7 +159,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_SafeIterator_i_) #define HH_SENF_Packets_SafeIterator_i_ diff --git a/senf/Packets/SafeIterator.test.cc b/senf/Packets/SafeIterator.test.cc index b37c06f..97340b5 100644 --- a/senf/Packets/SafeIterator.test.cc +++ b/senf/Packets/SafeIterator.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase {}; @@ -61,7 +61,7 @@ SENF_AUTO_UNIT_TEST(safePacketParser) BOOST_CHECK_EQUAL( p->data()[0], 0x23u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/StringParser.cti b/senf/Packets/StringParser.cti index 3391466..e0c2bcc 100644 --- a/senf/Packets/StringParser.cti +++ b/senf/Packets/StringParser.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::StringParser::StringParser(data_iterator i, state_type s) @@ -79,7 +79,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, StringParser #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase @@ -57,7 +57,7 @@ SENF_AUTO_UNIT_TEST(stringParser) BOOST_CHECK_EQUAL( MyStringParser(p->data().begin(), &p->data()).value(), "Another Test" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/VariantParser.ct b/senf/Packets/VariantParser.ct index 593def9..d91359f 100644 --- a/senf/Packets/VariantParser.ct +++ b/senf/Packets/VariantParser.ct @@ -29,7 +29,7 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template template @@ -57,7 +57,7 @@ prefix_ void senf::VariantParser::init() } } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/VariantParser.cti b/senf/Packets/VariantParser.cti index 6043bd5..a7129f9 100644 --- a/senf/Packets/VariantParser.cti +++ b/senf/Packets/VariantParser.cti @@ -30,9 +30,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::VariantParser template @@ -84,7 +84,7 @@ senf::VariantParser::get() AuxPolicy::adjust(i(), state()), state() ); } -///////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::VariantBytes template @@ -104,7 +104,7 @@ senf::detail::VariantBytes::bytes(Variant const & v, unsigned n) return senf::bytes(v.template get<0>()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::VariantKeyTransform template @@ -152,7 +152,7 @@ prefix_ In senf::detail::VariantKeyTransformCheck::set(Out v) return boost::mpl::at >::type::key(); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/VariantParser.hh b/senf/Packets/VariantParser.hh index 02b65a5..fba08c7 100644 --- a/senf/Packets/VariantParser.hh +++ b/senf/Packets/VariantParser.hh @@ -39,7 +39,7 @@ #include "PacketParser.hh" //#include "VariantParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -84,7 +84,7 @@ namespace senf { public: ///\name Parser interface - ///\{ + //\{ VariantParser(data_iterator i, state_type s); VariantParser(AuxPolicy policy, data_iterator i, state_type s); @@ -96,8 +96,8 @@ namespace senf { typename boost::mpl::at >::type>::value + AuxPolicy::aux_bytes; - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// unsigned variant() const; ///< Get current variant /**< Get the currently selected variant index. The returned @@ -255,7 +255,7 @@ namespace senf { SENF_PARSER_VARIANT_I(protected, name, chooser, types) } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_VariantParser_i_) #define HH_SENF_Packets_VariantParser_i_ diff --git a/senf/Packets/VariantParser.ih b/senf/Packets/VariantParser.ih index f32ae57..fd68088 100644 --- a/senf/Packets/VariantParser.ih +++ b/senf/Packets/VariantParser.ih @@ -37,7 +37,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -294,7 +294,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/VariantParser.test.cc b/senf/Packets/VariantParser.test.cc index 8498300..838ed9c 100644 --- a/senf/Packets/VariantParser.test.cc +++ b/senf/Packets/VariantParser.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(VariantParser) { @@ -141,7 +141,7 @@ SENF_AUTO_UNIT_TEST(VariantParserMacro) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/VectorParser.ct b/senf/Packets/VectorParser.ct index e6cf32f..f4e5658 100644 --- a/senf/Packets/VectorParser.ct +++ b/senf/Packets/VectorParser.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::VectorParser template @@ -44,7 +44,7 @@ prefix_ void senf::VectorParser::init() i->init(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::VectorParser_Container template @@ -117,7 +117,7 @@ prefix_ void senf::VectorParser_Container::resize(size_ push_back(value,n-size()); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/VectorParser.cti b/senf/Packets/VectorParser.cti index f6d9714..453d658 100644 --- a/senf/Packets/VectorParser.cti +++ b/senf/Packets/VectorParser.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::VectorParser template @@ -164,7 +164,7 @@ prefix_ void senf::VectorParser::resize(size_type n, Va c.resize(n,value); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::VectorParser_wrapper // structors and default members @@ -345,7 +345,7 @@ prefix_ void senf::VectorParser_Container::setSize(size aux(value, i(),state()); } -/////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/VectorParser.hh b/senf/Packets/VectorParser.hh index d914a5f..31909cd 100644 --- a/senf/Packets/VectorParser.hh +++ b/senf/Packets/VectorParser.hh @@ -33,7 +33,7 @@ #include "AuxParser.hh" // for the AuxPolicies //#include "VectorParser.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -79,7 +79,7 @@ namespace senf { static const size_type init_bytes = AuxPolicy::aux_bytes; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Container interface typedef ElementParser value_type; @@ -138,7 +138,7 @@ namespace senf { : private AuxPolicy::WrapperPolicy { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef VectorParser parser_type; @@ -150,9 +150,9 @@ namespace senf { typedef iterator const_iterator; typedef PacketParserBase::state_type state_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // no default constructor // default copy @@ -161,11 +161,11 @@ namespace senf { VectorParser_Container(parser_type const & vector); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Accessors - ///@{ + //\{ size_type size() const; bool empty() const; @@ -177,9 +177,9 @@ namespace senf { value_type front() const; value_type back() const; - ///@} + //\} ///\name Mutators - ///@{ + //\{ iterator shift(iterator pos, size_type n=1); template @@ -206,10 +206,10 @@ namespace senf { void resize (size_type n); template void resize (size_type n, Value value); - ///@} + //\} ///\name Parser interface - ///@{ + //\{ parser_type parser() const; data_iterator i() const; @@ -219,7 +219,7 @@ namespace senf { size_type bytes() const; void init() const; - ///@} + //\} protected: @@ -304,7 +304,7 @@ namespace senf { SENF_PARSER_VECTOR_I(protected, name, size, elt_type) } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #if !defined(HH_SENF_Packets_Packets__decls_) && !defined(HH_SENF_Packets_VectorParser_i_) #define HH_SENF_Packets_VectorParser_i_ diff --git a/senf/Packets/VectorParser.ih b/senf/Packets/VectorParser.ih index 6f84ed5..0706a6d 100644 --- a/senf/Packets/VectorParser.ih +++ b/senf/Packets/VectorParser.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -92,7 +92,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Packets/VectorParser.test.cc b/senf/Packets/VectorParser.test.cc index 5d137a8..7ab112a 100644 --- a/senf/Packets/VectorParser.test.cc +++ b/senf/Packets/VectorParser.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct VoidPacket : public senf::PacketTypeBase @@ -371,7 +371,7 @@ SENF_AUTO_UNIT_TEST(vectorMacro_packetSize) // The real functionality is already tested in AuxPolixy.test.cc ... } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/bundledump.cc b/senf/Packets/bundledump.cc index 15bfcf7..9a67e3a 100644 --- a/senf/Packets/bundledump.cc +++ b/senf/Packets/bundledump.cc @@ -31,7 +31,7 @@ //#include "bundledump.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// int main(int argc, char const ** argv) { @@ -50,7 +50,7 @@ int main(int argc, char const ** argv) return 0; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "bundledump.mpp" diff --git a/senf/Packets/extra-tests/AllBundles.test.cc b/senf/Packets/extra-tests/AllBundles.test.cc index cd031fc..b89640b 100644 --- a/senf/Packets/extra-tests/AllBundles.test.cc +++ b/senf/Packets/extra-tests/AllBundles.test.cc @@ -31,7 +31,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(packetLink) { @@ -58,7 +58,7 @@ SENF_AUTO_UNIT_TEST(packetLink) BOOST_CHECK( p.next().is() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/extra-tests/main.test.cc b/senf/Packets/extra-tests/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Packets/extra-tests/main.test.cc +++ b/senf/Packets/extra-tests/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/main.test.cc b/senf/Packets/main.test.cc index c3e9643..f110f5b 100644 --- a/senf/Packets/main.test.cc +++ b/senf/Packets/main.test.cc @@ -32,14 +32,14 @@ #include "Packets.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Packets/main.test.hh b/senf/Packets/main.test.hh index 9801594..0cf67a5 100644 --- a/senf/Packets/main.test.hh +++ b/senf/Packets/main.test.hh @@ -29,7 +29,7 @@ // Custom includes //#include "main.test.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -58,7 +58,7 @@ namespace test { }}}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "main.test.cci" //#include "main.test.ct" //#include "main.test.cti" diff --git a/senf/Scheduler/ClockService.cc b/senf/Scheduler/ClockService.cc index 0ce6113..c3ee343 100644 --- a/senf/Scheduler/ClockService.cc +++ b/senf/Scheduler/ClockService.cc @@ -32,7 +32,7 @@ //#include "ClockService.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::parseClockServiceInterval(console::ParseCommandInfo::TokensRange const & tokens, @@ -86,7 +86,7 @@ prefix_ void senf::formatClockServiceInterval(ClockService::clock_type interval, os << interval << "ns"; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ClockService.mpp" diff --git a/senf/Scheduler/ClockService.cci b/senf/Scheduler/ClockService.cci index 5fdf668..0c40875 100644 --- a/senf/Scheduler/ClockService.cci +++ b/senf/Scheduler/ClockService.cci @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ClockService prefix_ senf::ClockService::clock_type senf::ClockService::now() @@ -42,7 +42,7 @@ prefix_ senf::ClockService::clock_type senf::ClockService::now() return spec.tv_sec * 1000000000LL + spec.tv_nsec; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members namespace senf { namespace scheduler { ClockService::clock_type now(); } } @@ -186,7 +186,7 @@ prefix_ void senf::ClockService::restart() instance().restart_m(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/ClockService.hh b/senf/Scheduler/ClockService.hh index cc859af..ad88c06 100644 --- a/senf/Scheduler/ClockService.hh +++ b/senf/Scheduler/ClockService.hh @@ -37,7 +37,7 @@ #include //#include "ClockService.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -65,7 +65,7 @@ namespace senf { : singleton { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types /** \brief ClockService timer data type @@ -95,7 +95,7 @@ namespace senf { */ typedef boost::posix_time::time_duration reltime_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// static clock_type now(); ///< Return current clock value @@ -207,7 +207,7 @@ namespace senf { void formatClockServiceInterval(ClockService::clock_type interval, std::ostream & os); } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ClockService.cci" //#include "ClockService.ct" //#include "ClockService.cti" diff --git a/senf/Scheduler/ClockService.test.cc b/senf/Scheduler/ClockService.test.cc index 77039be..b061582 100644 --- a/senf/Scheduler/ClockService.test.cc +++ b/senf/Scheduler/ClockService.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -104,7 +104,7 @@ SENF_AUTO_UNIT_TEST(clockService) (senf::ClockService::milliseconds(100)) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/EventHook.cc b/senf/Scheduler/EventHook.cc index 8ed7571..ae575d2 100644 --- a/senf/Scheduler/EventHook.cc +++ b/senf/Scheduler/EventHook.cc @@ -30,9 +30,9 @@ //#include "EventHook.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::EventHook prefix_ void senf::scheduler::EventHook::v_run() @@ -52,7 +52,7 @@ prefix_ std::string senf::scheduler::EventHook::v_info() return ""; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::EventHookDispatcher prefix_ senf::scheduler::detail::EventHookDispatcher::~EventHookDispatcher() @@ -77,7 +77,7 @@ prefix_ void senf::scheduler::detail::EventHookDispatcher::prepareRun() } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "EventHook.mpp" diff --git a/senf/Scheduler/EventHook.cci b/senf/Scheduler/EventHook.cci index 7c36f72..4d94f8c 100644 --- a/senf/Scheduler/EventHook.cci +++ b/senf/Scheduler/EventHook.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::EventHook prefix_ senf::scheduler::EventHook::EventHook(std::string const & name, Callback const & cb, @@ -67,7 +67,7 @@ prefix_ void senf::scheduler::EventHook::action(Callback const & cb) cb_ = cb; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::EventHookDispatcher prefix_ void senf::scheduler::detail::EventHookDispatcher::add(EventHook & event) @@ -85,7 +85,7 @@ prefix_ bool senf::scheduler::detail::EventHookDispatcher::empty() prefix_ senf::scheduler::detail::EventHookDispatcher::EventHookDispatcher() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/EventHook.hh b/senf/Scheduler/EventHook.hh index 5a943ae..2285870 100644 --- a/senf/Scheduler/EventHook.hh +++ b/senf/Scheduler/EventHook.hh @@ -32,7 +32,7 @@ #include "FIFORunner.hh" //#include "EventHook.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -69,7 +69,7 @@ namespace scheduler { public detail::EventHookListBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; @@ -77,9 +77,9 @@ namespace scheduler { static Priority const PRE = PRIORITY_HIGH; ///< Execute hook BEFORE all other events static Priority const POST = PRIORITY_LOW; ///< Execute hook AFTER all other events - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ EventHook(std::string const & name, Callback const & cb, Priority priority, bool initiallyEnabled = true); @@ -97,8 +97,8 @@ namespace scheduler { POST */ ~EventHook(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void disable(); ///< Disable event void enable(); ///< Enable event @@ -119,7 +119,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "EventHook.cci" //#include "EventHook.ct" //#include "EventHook.cti" diff --git a/senf/Scheduler/EventHook.ih b/senf/Scheduler/EventHook.ih index 4d410b3..77c759e 100644 --- a/senf/Scheduler/EventHook.ih +++ b/senf/Scheduler/EventHook.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -67,7 +67,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Scheduler/EventManager.cc b/senf/Scheduler/EventManager.cc index 52a6498..ddd4e23 100644 --- a/senf/Scheduler/EventManager.cc +++ b/senf/Scheduler/EventManager.cc @@ -36,7 +36,7 @@ //#include "EventManager.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::scheduler::detail::EventManager::EventManager() { @@ -98,7 +98,7 @@ prefix_ void senf::scheduler::detail::EventManager::listEvents(std::ostream & os } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "EventManager.mpp" diff --git a/senf/Scheduler/EventManager.cci b/senf/Scheduler/EventManager.cci index c2ac185..ab879b0 100644 --- a/senf/Scheduler/EventManager.cci +++ b/senf/Scheduler/EventManager.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::Event prefix_ senf::scheduler::detail::Event::Event(std::string const & name) @@ -89,7 +89,7 @@ prefix_ void senf::scheduler::detail::Event::countRun() ++ runCount_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::EventManager prefix_ bool senf::scheduler::detail::EventManager::IteratorFilter::operator()(Event const & e) @@ -115,7 +115,7 @@ senf::scheduler::detail::EventManager::end() IteratorFilter(), events_.end(), events_.end()); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/EventManager.hh b/senf/Scheduler/EventManager.hh index 6c71d7e..c6983ba 100644 --- a/senf/Scheduler/EventManager.hh +++ b/senf/Scheduler/EventManager.hh @@ -35,7 +35,7 @@ #include //#include "EventManager.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -52,18 +52,18 @@ namespace detail { : public EventListBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit Event(std::string const & name); virtual ~Event(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// std::string const & name() const; ///< Get event name bool enabled() const; ///< \c true, if event is enabled, \c false otherwise @@ -123,7 +123,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "EventManager.cci" //#include "EventManager.ct" //#include "EventManager.cti" diff --git a/senf/Scheduler/EventManager.test.cc b/senf/Scheduler/EventManager.test.cc index d9abf1d..978d4aa 100644 --- a/senf/Scheduler/EventManager.test.cc +++ b/senf/Scheduler/EventManager.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(eventManager) { @@ -59,7 +59,7 @@ SENF_AUTO_UNIT_TEST(eventManager) BOOST_CHECK( i == em.end() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FIFORunner.cc b/senf/Scheduler/FIFORunner.cc index af748e6..85e98e3 100644 --- a/senf/Scheduler/FIFORunner.cc +++ b/senf/Scheduler/FIFORunner.cc @@ -42,7 +42,7 @@ //#include "FIFORunner.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::scheduler::detail::FIFORunner::FIFORunner() : tasks_ (), next_ (tasks_.end()), watchdogRunning_ (false), watchdogMs_ (1000), @@ -287,7 +287,7 @@ prefix_ void senf::scheduler::detail::FIFORunner::watchdogError() assert(false); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "FIFORunner.mpp" diff --git a/senf/Scheduler/FIFORunner.cci b/senf/Scheduler/FIFORunner.cci index 9fdb9e7..87b428e 100644 --- a/senf/Scheduler/FIFORunner.cci +++ b/senf/Scheduler/FIFORunner.cci @@ -32,9 +32,9 @@ #endif #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FIFORunner::TaskInfo prefix_ senf::scheduler::detail::FIFORunner::TaskInfo::TaskInfo(std::string const & name, @@ -75,7 +75,7 @@ prefix_ bool senf::scheduler::detail::FIFORunner::TaskInfo::v_enabled() return TaskListBase::linked(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FIFORunner::NullTask prefix_ senf::scheduler::detail::FIFORunner::NullTask::NullTask() @@ -103,7 +103,7 @@ prefix_ std::string senf::scheduler::detail::FIFORunner::NullTask::v_info() return ""; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FIFORunner prefix_ void senf::scheduler::detail::FIFORunner::enqueue(TaskInfo * task) @@ -164,7 +164,7 @@ prefix_ void senf::scheduler::detail::FIFORunner::yield() yield_ = true; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FIFORunner.hh b/senf/Scheduler/FIFORunner.hh index 4e04a65..2820442 100644 --- a/senf/Scheduler/FIFORunner.hh +++ b/senf/Scheduler/FIFORunner.hh @@ -35,7 +35,7 @@ #include "EventManager.hh" //#include "FIFORunner.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -157,7 +157,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "FIFORunner.cci" //#include "FIFORunner.ct" //#include "FIFORunner.cti" diff --git a/senf/Scheduler/FdEvent.cc b/senf/Scheduler/FdEvent.cc index 264507f..7ac5c62 100644 --- a/senf/Scheduler/FdEvent.cc +++ b/senf/Scheduler/FdEvent.cc @@ -32,9 +32,9 @@ //#include "FdEvent.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FdDispatcher prefix_ senf::scheduler::detail::FdDispatcher::~FdDispatcher() @@ -79,7 +79,7 @@ prefix_ void senf::scheduler::detail::FdDispatcher::remove(FdEvent & event) } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FileDispatcher prefix_ void senf::scheduler::detail::FileDispatcher::add(FdEvent & event) @@ -124,7 +124,7 @@ prefix_ void senf::scheduler::detail::FileDispatcher::remove(FdEvent & event) detail::FdManager::instance().timeout(managerTimeout_); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::FdEvent prefix_ void senf::scheduler::FdEvent::disable() @@ -197,7 +197,7 @@ prefix_ std::string senf::scheduler::FdEvent::v_info() return ss.str(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "FdEvent.mpp" diff --git a/senf/Scheduler/FdEvent.cci b/senf/Scheduler/FdEvent.cci index 1951111..e585ce5 100644 --- a/senf/Scheduler/FdEvent.cci +++ b/senf/Scheduler/FdEvent.cci @@ -30,9 +30,9 @@ #include "FdManager.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::FdEvent prefix_ senf::scheduler::FdEvent::FdEvent(std::string const & name, Callback const & cb) @@ -68,7 +68,7 @@ prefix_ int senf::scheduler::FdEvent::events() return events_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FdDispatcher prefix_ senf::scheduler::detail::FdDispatcher::FdDispatcher() @@ -80,7 +80,7 @@ prefix_ bool senf::scheduler::detail::FdDispatcher::empty() return fds_.empty(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FileDispatcher prefix_ void senf::scheduler::detail::FileDispatcher::timeout(int t) @@ -102,14 +102,14 @@ prefix_ bool senf::scheduler::detail::FileDispatcher::empty() return fds_.empty(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ int senf::scheduler::detail::retrieve_filehandle(int fd) { return fd; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FdEvent.ct b/senf/Scheduler/FdEvent.ct index e8c7300..91b31cf 100644 --- a/senf/Scheduler/FdEvent.ct +++ b/senf/Scheduler/FdEvent.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::FdEvent template @@ -44,7 +44,7 @@ prefix_ senf::scheduler::FdEvent & senf::scheduler::FdEvent::handle(Handle const return *this; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FdEvent.cti b/senf/Scheduler/FdEvent.cti index 40279aa..e980fee 100644 --- a/senf/Scheduler/FdEvent.cti +++ b/senf/Scheduler/FdEvent.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::FdEvent template @@ -44,7 +44,7 @@ prefix_ senf::scheduler::FdEvent::FdEvent(std::string const & name, Callback con enable(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ int senf::scheduler::get_descriptor(Handle const & handle) @@ -58,7 +58,7 @@ prefix_ int senf::scheduler::detail::get_descriptor(Handle const & handle) return retrieve_filehandle(handle); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FdEvent.hh b/senf/Scheduler/FdEvent.hh index bb10e11..cec23a7 100644 --- a/senf/Scheduler/FdEvent.hh +++ b/senf/Scheduler/FdEvent.hh @@ -33,7 +33,7 @@ #include "FIFORunner.hh" //#include "FdEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -85,7 +85,7 @@ namespace scheduler { public detail::FdManager::Event { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; @@ -102,9 +102,9 @@ namespace scheduler { | detail::FdManager::EV_PRIO) ///< register all events (read, prio and write) }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ template FdEvent(std::string const & name, Callback const & cb, Handle const & handle, int events, @@ -133,8 +133,8 @@ namespace scheduler { initialized. */ ~FdEvent(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void disable(); ///< Disable event void enable(); ///< Enable event @@ -182,7 +182,7 @@ namespace scheduler { int get_descriptor(Handle const & handle); }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "FdEvent.cci" #include "FdEvent.ct" #include "FdEvent.cti" diff --git a/senf/Scheduler/FdEvent.ih b/senf/Scheduler/FdEvent.ih index 41b4565..9927450 100644 --- a/senf/Scheduler/FdEvent.ih +++ b/senf/Scheduler/FdEvent.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -123,7 +123,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Scheduler/FdEvent.test.cc b/senf/Scheduler/FdEvent.test.cc index d66b27e..7d22083 100644 --- a/senf/Scheduler/FdEvent.test.cc +++ b/senf/Scheduler/FdEvent.test.cc @@ -46,7 +46,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -76,7 +76,7 @@ namespace { int conn = accept(sock,0,0); if (conn < 0) fail("accept"); - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// if (write(conn,"READ",4)<0) fail("write"); char buffer[1024]; @@ -91,7 +91,7 @@ namespace { } else if (write(conn,"FAIL",4)<0) fail("write"); - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// close(conn); close(sock); @@ -288,7 +288,7 @@ SENF_AUTO_UNIT_TEST(fileDispatcher) senf::scheduler::detail::FileDispatcher::instance().timeout(-1); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FdManager.cc b/senf/Scheduler/FdManager.cc index 9b37133..5c8eabd 100644 --- a/senf/Scheduler/FdManager.cc +++ b/senf/Scheduler/FdManager.cc @@ -30,7 +30,7 @@ //#include "FdManager.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::scheduler::detail::FdManager::processOnce() { @@ -40,7 +40,7 @@ prefix_ void senf::scheduler::detail::FdManager::processOnce() i->second->signal(i->first); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "FdManager.mpp" diff --git a/senf/Scheduler/FdManager.cci b/senf/Scheduler/FdManager.cci index 33c630b..86e1282 100644 --- a/senf/Scheduler/FdManager.cci +++ b/senf/Scheduler/FdManager.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::FdManager prefix_ senf::scheduler::detail::FdManager::FdManager() @@ -65,13 +65,13 @@ prefix_ senf::ClockService::clock_type senf::scheduler::detail::FdManager::event } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::FdManager::Event prefix_ senf::scheduler::detail::FdManager::Event::~Event() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/FdManager.hh b/senf/Scheduler/FdManager.hh index 283ade6..27905d9 100644 --- a/senf/Scheduler/FdManager.hh +++ b/senf/Scheduler/FdManager.hh @@ -32,7 +32,7 @@ #include //#include "FdManager.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -85,7 +85,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "FdManager.cci" //#include "FdManager.ct" //#include "FdManager.cti" diff --git a/senf/Scheduler/IdleEvent.cc b/senf/Scheduler/IdleEvent.cc index 8d7c48f..5354e07 100644 --- a/senf/Scheduler/IdleEvent.cc +++ b/senf/Scheduler/IdleEvent.cc @@ -30,9 +30,9 @@ //#include "IdleEvent.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::IdleEvent prefix_ void senf::scheduler::IdleEvent::v_run() @@ -52,7 +52,7 @@ prefix_ std::string senf::scheduler::IdleEvent::v_info() return ""; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::IdleEventDispatcher prefix_ void senf::scheduler::detail::IdleEventDispatcher::remove(IdleEvent & event) @@ -78,7 +78,7 @@ prefix_ senf::scheduler::detail::IdleEventDispatcher::~IdleEventDispatcher() FIFORunner::instance().dequeue(&(*i)); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IdleEvent.mpp" diff --git a/senf/Scheduler/IdleEvent.cci b/senf/Scheduler/IdleEvent.cci index bdd6ac6..322d969 100644 --- a/senf/Scheduler/IdleEvent.cci +++ b/senf/Scheduler/IdleEvent.cci @@ -29,9 +29,9 @@ #include "FdEvent.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::IdleEvent prefix_ senf::scheduler::IdleEvent::IdleEvent(std::string const & name, Callback const & cb, @@ -67,7 +67,7 @@ prefix_ void senf::scheduler::IdleEvent::action(Callback const & cb) cb_ = cb; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::IdleEventDispatcher prefix_ void senf::scheduler::detail::IdleEventDispatcher::add(IdleEvent & event) @@ -100,7 +100,7 @@ prefix_ senf::scheduler::detail::IdleEventDispatcher::IdleEventDispatcher() : managerTimeout_ (scheduler::detail::FileDispatcher::instance().timeout()) {} -/////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/IdleEvent.hh b/senf/Scheduler/IdleEvent.hh index 577501c..f9eb158 100644 --- a/senf/Scheduler/IdleEvent.hh +++ b/senf/Scheduler/IdleEvent.hh @@ -32,7 +32,7 @@ #include "FIFORunner.hh" //#include "IdleEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -48,21 +48,21 @@ namespace detail { public detail::IdleEventListBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///\{ + //\{ IdleEvent(std::string const & name, Callback const & cb, bool initiallyEnabled = true); ~IdleEvent(); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void disable(); ///< Disable event void enable(); ///< Enable event @@ -83,7 +83,7 @@ namespace detail { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IdleEvent.cci" //#include "IdleEvent.ct" //#include "IdleEvent.cti" diff --git a/senf/Scheduler/IdleEvent.ih b/senf/Scheduler/IdleEvent.ih index 64293b0..5437e8f 100644 --- a/senf/Scheduler/IdleEvent.ih +++ b/senf/Scheduler/IdleEvent.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -72,7 +72,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Scheduler/IdleEvent.test.cc b/senf/Scheduler/IdleEvent.test.cc index 40c1c7d..b054324 100644 --- a/senf/Scheduler/IdleEvent.test.cc +++ b/senf/Scheduler/IdleEvent.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -69,7 +69,7 @@ SENF_AUTO_UNIT_TEST(idleEvent) BOOST_CHECK_EQUAL( calls, 4u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/Poller.ct b/senf/Scheduler/Poller.ct index c9ea3dd..de71770 100644 --- a/senf/Scheduler/Poller.ct +++ b/senf/Scheduler/Poller.ct @@ -30,7 +30,7 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ bool senf::scheduler::detail::Poller::set(int fd, int events, Value * data) @@ -77,7 +77,7 @@ prefix_ typename senf::scheduler::detail::Poller::range senf::scheduler:: boost::make_transform_iterator(events+rv, GetPollResult()) ); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/Poller.cti b/senf/Scheduler/Poller.cti index dfcc291..e081fd4 100644 --- a/senf/Scheduler/Poller.cti +++ b/senf/Scheduler/Poller.cti @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::scheduler::detail::Poller::Poller() @@ -68,7 +68,7 @@ senf::scheduler::detail::Poller::GetPollResult::operator()(epoll_event co return std::make_pair(ev.events, static_cast(ev.data.ptr)); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/Poller.hh b/senf/Scheduler/Poller.hh index b18c0bf..3ba1ceb 100644 --- a/senf/Scheduler/Poller.hh +++ b/senf/Scheduler/Poller.hh @@ -33,7 +33,7 @@ #include //#include "Poller.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -60,7 +60,7 @@ namespace detail { static int const NumEvents = 8; public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef Value value_type; @@ -72,15 +72,15 @@ namespace detail { EV_HUP = EPOLLHUP, EV_ERR = EPOLLERR }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ Poller(); ~Poller(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// bool set(int fd, int events, Value * data); ///< Set file descriptor event data and mask /**< The Poller does \e not own \a data. The value is owned @@ -102,7 +102,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Poller.cci" #include "Poller.ct" #include "Poller.cti" diff --git a/senf/Scheduler/Poller.test.cc b/senf/Scheduler/Poller.test.cc index 3d74832..f749b5f 100644 --- a/senf/Scheduler/Poller.test.cc +++ b/senf/Scheduler/Poller.test.cc @@ -33,14 +33,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(poller) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/ReadHelper.cci b/senf/Scheduler/ReadHelper.cci index 17ffa4a..a721102 100644 --- a/senf/Scheduler/ReadHelper.cci +++ b/senf/Scheduler/ReadHelper.cci @@ -24,7 +24,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ReadUntil::ReadUntil(std::string const & target_) : target(target_) @@ -35,7 +35,7 @@ prefix_ std::string::size_type senf::ReadUntil::operator()(std::string const & d return data.find(target); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/ReadHelper.ct b/senf/Scheduler/ReadHelper.ct index b29b2a8..e860e10 100644 --- a/senf/Scheduler/ReadHelper.ct +++ b/senf/Scheduler/ReadHelper.ct @@ -30,7 +30,7 @@ #include "Scheduler.hh" #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ReadHelper::ReadHelper(Handle handle, std::string::size_type maxSize, @@ -106,7 +106,7 @@ operator()(std::string const & data) return predicate(data); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/ReadHelper.cti b/senf/Scheduler/ReadHelper.cti index f018e06..87247ff 100644 --- a/senf/Scheduler/ReadHelper.cti +++ b/senf/Scheduler/ReadHelper.cti @@ -27,7 +27,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ typename senf::ReadHelper::ptr @@ -97,7 +97,7 @@ prefix_ void senf::ReadHelper::throw_error() if (errno_ != 0) throw SystemException(errno_ SENF_EXC_DEBUGINFO); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/ReadHelper.hh b/senf/Scheduler/ReadHelper.hh index 1748791..2b70f54 100644 --- a/senf/Scheduler/ReadHelper.hh +++ b/senf/Scheduler/ReadHelper.hh @@ -34,7 +34,7 @@ #include "FdEvent.hh" //#include "ReadHelper.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -70,15 +70,15 @@ namespace senf { : public senf::intrusive_refcount { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::intrusive_ptr ptr; ///< Smart pointer type for this class typedef boost::function Callback; ///< Callback type - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static ptr dispatch(Handle handle, std::string::size_type maxSize, Callback callback); ///< Register new ReadHandler instance @@ -109,8 +109,8 @@ namespace senf { \param[in] callback callback \returns smart pointer to new ReadHelper instance */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// Handle handle() const; ///< Access the handle object std::string::size_type maxSize() const; ///< Return maximum number of bytes to be read @@ -165,7 +165,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ReadHelper.cci" #include "ReadHelper.ct" #include "ReadHelper.cti" diff --git a/senf/Scheduler/ReadHelper.ih b/senf/Scheduler/ReadHelper.ih index 19ffa17..3d6b916 100644 --- a/senf/Scheduler/ReadHelper.ih +++ b/senf/Scheduler/ReadHelper.ih @@ -26,7 +26,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -64,7 +64,7 @@ namespace senf { } -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Scheduler/ReadHelper.test.cc b/senf/Scheduler/ReadHelper.test.cc index 4508046..fc2ea8b 100644 --- a/senf/Scheduler/ReadHelper.test.cc +++ b/senf/Scheduler/ReadHelper.test.cc @@ -14,11 +14,11 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/Scheduler.cc b/senf/Scheduler/Scheduler.cc index b90ef66..3e93130 100644 --- a/senf/Scheduler/Scheduler.cc +++ b/senf/Scheduler/Scheduler.cc @@ -37,7 +37,7 @@ // Custom includes #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { bool terminate_ (false); @@ -159,7 +159,7 @@ prefix_ void senf::scheduler::hiresTimers() std::auto_ptr(new detail::POSIXTimerSource())); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::schedulerLogTimeSource prefix_ senf::log::time_type senf::scheduler::LogTimeSource::operator()() @@ -168,7 +168,7 @@ prefix_ senf::log::time_type senf::scheduler::LogTimeSource::operator()() return senf::scheduler::now(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::BlockSignals prefix_ senf::scheduler::BlockSignals::BlockSignals(bool initiallyBlocked) @@ -195,7 +195,7 @@ prefix_ void senf::scheduler::BlockSignals::unblock() blocked_ = false; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/Scheduler.cci b/senf/Scheduler/Scheduler.cci index eba3cb3..617dc9d 100644 --- a/senf/Scheduler/Scheduler.cci +++ b/senf/Scheduler/Scheduler.cci @@ -30,7 +30,7 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // public members @@ -85,7 +85,7 @@ prefix_ bool senf::scheduler::usingHiresTimers() detail::TimerDispatcher::instance().timerSource()) == 0; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::BlockSignals prefix_ senf::scheduler::BlockSignals::~BlockSignals() @@ -99,7 +99,7 @@ prefix_ bool senf::scheduler::BlockSignals::blocked() return blocked_; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/Scheduler.hh b/senf/Scheduler/Scheduler.hh index 385e477..7d6f470 100644 --- a/senf/Scheduler/Scheduler.hh +++ b/senf/Scheduler/Scheduler.hh @@ -37,7 +37,7 @@ #include "EventHook.hh" //#include "scheduler.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -393,7 +393,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Scheduler.cci" //#include "Scheduler.ct" //#include "Scheduler.cti" diff --git a/senf/Scheduler/Scheduler.test.cc b/senf/Scheduler/Scheduler.test.cc index 7e6d543..cb63710 100644 --- a/senf/Scheduler/Scheduler.test.cc +++ b/senf/Scheduler/Scheduler.test.cc @@ -44,7 +44,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -74,7 +74,7 @@ namespace { int conn = accept(sock,0,0); if (conn < 0) fail("accept"); - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// if (write(conn,"READ",4)<0) fail("write"); char buffer[1024]; @@ -89,7 +89,7 @@ namespace { } else if (write(conn,"FAIL",4)<0) fail("write"); - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// close(conn); close(sock); @@ -243,7 +243,7 @@ void schedulerTest() BOOST_FAIL("connect"); } - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// senf::scheduler::EventHook evev ("eventCounter", eventeventhandler, senf::scheduler::EventHook::PRE); @@ -327,7 +327,7 @@ void schedulerTest() BOOST_CHECK( eventCount >= 8u ); - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// close(sock); @@ -404,7 +404,7 @@ SENF_AUTO_UNIT_TEST(blockSignals) SENF_CHECK_NO_THROW( senf::scheduler::process() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/SignalEvent.cc b/senf/Scheduler/SignalEvent.cc index 989bcc7..d869c4f 100644 --- a/senf/Scheduler/SignalEvent.cc +++ b/senf/Scheduler/SignalEvent.cc @@ -33,7 +33,7 @@ //#include "SignalEvent.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::scheduler::detail::SignalDispatcher::SignalDispatcher() : blocked_ (true) @@ -138,7 +138,7 @@ prefix_ std::string senf::scheduler::SignalEvent::v_info() return ""; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "SignalEvent.mpp" diff --git a/senf/Scheduler/SignalEvent.cci b/senf/Scheduler/SignalEvent.cci index 39d6bd6..e4757b3 100644 --- a/senf/Scheduler/SignalEvent.cci +++ b/senf/Scheduler/SignalEvent.cci @@ -31,7 +31,7 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::scheduler::detail::SignalDispatcher::blockSignals() { @@ -53,7 +53,7 @@ prefix_ bool senf::scheduler::detail::SignalDispatcher::empty() return handlers_.empty(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::SignalEvent prefix_ senf::scheduler::SignalEvent::SignalEvent(int signal, Callback const & cb, @@ -87,7 +87,7 @@ prefix_ void senf::scheduler::SignalEvent::action(Callback const & cb) cb_ = cb; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/SignalEvent.hh b/senf/Scheduler/SignalEvent.hh index 6da7072..251a98c 100644 --- a/senf/Scheduler/SignalEvent.hh +++ b/senf/Scheduler/SignalEvent.hh @@ -33,7 +33,7 @@ #include //#include "SignalEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -64,15 +64,15 @@ namespace scheduler { public detail::SignalSetBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; ///< Callback type - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ SignalEvent(int signal, Callback const & cb, bool initiallyEnabled=true); ///< Register a signal event @@ -86,8 +86,8 @@ namespace scheduler { enable callback automatically. */ ~SignalEvent(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void disable(); ///< Enable signal event registration void enable(); ///< Disable the signal event registration @@ -111,7 +111,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SignalEvent.cci" //#include "SignalEvent.ct" //#include "SignalEvent.cti" diff --git a/senf/Scheduler/SignalEvent.ih b/senf/Scheduler/SignalEvent.ih index 4e2686a..553262e 100644 --- a/senf/Scheduler/SignalEvent.ih +++ b/senf/Scheduler/SignalEvent.ih @@ -32,7 +32,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -99,7 +99,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Scheduler/SignalEvent.test.cc b/senf/Scheduler/SignalEvent.test.cc index 1cfd965..23815cc 100644 --- a/senf/Scheduler/SignalEvent.test.cc +++ b/senf/Scheduler/SignalEvent.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -63,7 +63,7 @@ SENF_AUTO_UNIT_TEST(signalDispatcher) BOOST_CHECK( called ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/TimerEvent.cc b/senf/Scheduler/TimerEvent.cc index f8d8365..e48c927 100644 --- a/senf/Scheduler/TimerEvent.cc +++ b/senf/Scheduler/TimerEvent.cc @@ -31,7 +31,7 @@ //#include "TimerEvent.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::scheduler::detail::TimerDispatcher::TimerDispatcher() : source_ (new PollTimerSource()) @@ -77,7 +77,7 @@ prefix_ void senf::scheduler::detail::TimerDispatcher::reschedule() source_->timeout(timers_.begin()->timeout_); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::TimerDispatcher::TimerEvent prefix_ void senf::scheduler::TimerEvent::v_run() @@ -102,7 +102,7 @@ prefix_ std::string senf::scheduler::TimerEvent::v_info() return ss.str(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "TimerEvent.mpp" diff --git a/senf/Scheduler/TimerEvent.cci b/senf/Scheduler/TimerEvent.cci index 91f4055..14b757d 100644 --- a/senf/Scheduler/TimerEvent.cci +++ b/senf/Scheduler/TimerEvent.cci @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::TimerEvent prefix_ senf::scheduler::TimerEvent::TimerEvent(std::string const & name, Callback const & cb, @@ -85,7 +85,7 @@ prefix_ senf::ClockService::clock_type senf::scheduler::TimerEvent::timeout() return timeout_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::TimerDispatcher prefix_ void senf::scheduler::detail::TimerDispatcher::enable() @@ -116,7 +116,7 @@ senf::scheduler::detail::TimerDispatcher::timerSource() return source_.get(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/TimerEvent.hh b/senf/Scheduler/TimerEvent.hh index d87dca3..7e134cc 100644 --- a/senf/Scheduler/TimerEvent.hh +++ b/senf/Scheduler/TimerEvent.hh @@ -34,7 +34,7 @@ #include //#include "TimerEvent.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -69,14 +69,14 @@ namespace scheduler { public detail::TimerSetBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ TimerEvent(std::string const & name, Callback const & cb, ClockService::clock_type timeout, bool initiallyEnabled = true); @@ -102,8 +102,8 @@ namespace scheduler { \param[in] cb Callback to call. */ ~TimerEvent(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void disable(); ///< Disable timer void enable(); ///< Enable timer @@ -131,7 +131,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "TimerEvent.cci" //#include "TimerEvent.ct" //#include "TimerEvent.cti" diff --git a/senf/Scheduler/TimerEvent.ih b/senf/Scheduler/TimerEvent.ih index 5a79157..4dd2bb5 100644 --- a/senf/Scheduler/TimerEvent.ih +++ b/senf/Scheduler/TimerEvent.ih @@ -31,7 +31,7 @@ #include #include "TimerSource.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -88,7 +88,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Scheduler/TimerEvent.test.cc b/senf/Scheduler/TimerEvent.test.cc index 8b31110..d11cfca 100644 --- a/senf/Scheduler/TimerEvent.test.cc +++ b/senf/Scheduler/TimerEvent.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -172,7 +172,7 @@ SENF_AUTO_UNIT_TEST(timerJitter) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/TimerEventProxy.ct b/senf/Scheduler/TimerEventProxy.ct index 2758e8a..666f30a 100644 --- a/senf/Scheduler/TimerEventProxy.ct +++ b/senf/Scheduler/TimerEventProxy.ct @@ -28,7 +28,7 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::scheduler::TimerEventProxy::TimerEventProxy(std::string const & description) @@ -98,7 +98,7 @@ prefix_ std::vector > senf::sc return tmp; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/TimerEventProxy.hh b/senf/Scheduler/TimerEventProxy.hh index 09c900b..8e813b7 100644 --- a/senf/Scheduler/TimerEventProxy.hh +++ b/senf/Scheduler/TimerEventProxy.hh @@ -35,7 +35,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -110,7 +110,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TimerEventProxy.cci" #include "TimerEventProxy.ct" //#include "TimerEventProxy.cti" diff --git a/senf/Scheduler/TimerEventProxy.test.cc b/senf/Scheduler/TimerEventProxy.test.cc index dfab9cc..0710247 100644 --- a/senf/Scheduler/TimerEventProxy.test.cc +++ b/senf/Scheduler/TimerEventProxy.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { int mask = 0; @@ -81,7 +81,7 @@ SENF_AUTO_UNIT_TEST(timerEventProxy) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/TimerSource.cc b/senf/Scheduler/TimerSource.cc index 0c3214a..c03002f 100644 --- a/senf/Scheduler/TimerSource.cc +++ b/senf/Scheduler/TimerSource.cc @@ -35,15 +35,15 @@ //#include "TimerSource.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::TimerSource prefix_ senf::scheduler::detail::TimerSource::~TimerSource() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::POSIXTimerSource prefix_ senf::scheduler::detail::POSIXTimerSource::POSIXTimerSource() @@ -154,7 +154,7 @@ prefix_ void senf::scheduler::detail::POSIXTimerSource::reschedule() SENF_THROW_SYSTEM_EXCEPTION("timer_settime()"); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::PollTimerSource prefix_ void senf::scheduler::detail::PollTimerSource::timeout(ClockService::clock_type timeout) @@ -175,7 +175,7 @@ prefix_ void senf::scheduler::detail::PollTimerSource::enable() prefix_ void senf::scheduler::detail::PollTimerSource::disable() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::TimerFDTimerSource #ifdef HAVE_TIMERFD_CREATE @@ -271,7 +271,7 @@ prefix_ void senf::scheduler::detail::TimerFDTimerSource::reschedule() } #endif -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "TimerSource.mpp" diff --git a/senf/Scheduler/TimerSource.cci b/senf/Scheduler/TimerSource.cci index 63a8cec..6674ef6 100644 --- a/senf/Scheduler/TimerSource.cci +++ b/senf/Scheduler/TimerSource.cci @@ -28,15 +28,15 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::scheduler::detail::TimerSource prefix_ senf::scheduler::detail::TimerSource::TimerSource() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/TimerSource.hh b/senf/Scheduler/TimerSource.hh index 2acdce3..94aedef 100644 --- a/senf/Scheduler/TimerSource.hh +++ b/senf/Scheduler/TimerSource.hh @@ -33,7 +33,7 @@ #include "FdManager.hh" //#include "TimerSource.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace scheduler { @@ -120,7 +120,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "TimerSource.cci" //#include "TimerSource.ct" //#include "TimerSource.cti" diff --git a/senf/Scheduler/WriteHelper.ct b/senf/Scheduler/WriteHelper.ct index b9ba80b..aeda3b9 100644 --- a/senf/Scheduler/WriteHelper.ct +++ b/senf/Scheduler/WriteHelper.ct @@ -30,7 +30,7 @@ #include "Scheduler.hh" #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::WriteHelper::WriteHelper(Handle handle, std::string const & data, @@ -100,7 +100,7 @@ prefix_ void senf::WriteHelper::done() callback_(ptr(this)); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/WriteHelper.cti b/senf/Scheduler/WriteHelper.cti index 9429228..2f047ca 100644 --- a/senf/Scheduler/WriteHelper.cti +++ b/senf/Scheduler/WriteHelper.cti @@ -27,7 +27,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ typename senf::WriteHelper::ptr @@ -66,7 +66,7 @@ prefix_ void senf::WriteHelper::throw_error() } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/WriteHelper.hh b/senf/Scheduler/WriteHelper.hh index 0d92962..d990917 100644 --- a/senf/Scheduler/WriteHelper.hh +++ b/senf/Scheduler/WriteHelper.hh @@ -32,7 +32,7 @@ #include "FdEvent.hh" //#include "WriteHelper.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -55,15 +55,15 @@ namespace senf { : public senf::intrusive_refcount { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::intrusive_ptr ptr; ///< Smart pointer type for this class typedef boost::function Callback; ///< Callback type - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static ptr dispatch(Handle handle, std::string const & data, Callback callback); ///< Register new WriteHelper instance @@ -76,8 +76,8 @@ namespace senf { \param[in] callback callback \returns smart pointer to new WriteHelper instance */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// Handle handle() const; @@ -114,7 +114,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "WriteHelper.cci" #include "WriteHelper.ct" #include "WriteHelper.cti" diff --git a/senf/Scheduler/WriteHelper.test.cc b/senf/Scheduler/WriteHelper.test.cc index 526d3f9..909f4be 100644 --- a/senf/Scheduler/WriteHelper.test.cc +++ b/senf/Scheduler/WriteHelper.test.cc @@ -14,11 +14,11 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Scheduler/main.test.cc b/senf/Scheduler/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Scheduler/main.test.cc +++ b/senf/Scheduler/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/AddressingPolicy.hh b/senf/Socket/AddressingPolicy.hh index bf0ab3a..15c1fce 100644 --- a/senf/Socket/AddressingPolicy.hh +++ b/senf/Socket/AddressingPolicy.hh @@ -31,12 +31,12 @@ #include "SocketPolicy.hh" //#include "AddressingPolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief AddressingPolicy for non-addressable sockets @@ -48,10 +48,10 @@ namespace senf { struct NoAddressingPolicy : public AddressingPolicyBase {}; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "AddressingPolicy.cci" //#include "AddressingPolicy.ct" //#include "AddressingPolicy.cti" diff --git a/senf/Socket/ClientSocketHandle.ct b/senf/Socket/ClientSocketHandle.ct index 8bcde15..4f36885 100644 --- a/senf/Socket/ClientSocketHandle.ct +++ b/senf/Socket/ClientSocketHandle.ct @@ -32,9 +32,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ReadRange template @@ -57,7 +57,7 @@ readfrom(Handle & handle, ForwardWritableRange & range, typename Handle::Address return std::copy(buffer, handle.readfrom(buffer,buffer+nread,addr), boost::begin(range)); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::WriteRange template @@ -86,10 +86,10 @@ writeto(Handle & handle, ForwardReadableRange & range, typename Handle::Address return i; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ClientSocketHandle -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // reading and writing // senf::ClientSocketHandle::read @@ -137,7 +137,7 @@ prefix_ void senf::ClientSocketHandle::readfrom(Sequence & container, A container.end()); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members // senf::ClientSocketHandle::available @@ -159,7 +159,7 @@ prefix_ unsigned senf::ClientSocketHandle::available() return nread; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ClientSocketHandle.cti b/senf/Socket/ClientSocketHandle.cti index 76e6d73..ea75898 100644 --- a/senf/Socket/ClientSocketHandle.cti +++ b/senf/Socket/ClientSocketHandle.cti @@ -30,9 +30,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ReadRange template @@ -60,7 +60,7 @@ readfrom(Handle & handle, ForwardWritableRange & range, typename Handle::Address - ic); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::WriteRange template @@ -91,10 +91,10 @@ writeto(Handle & handle, ForwardReadableRange & range, typename Handle::Address return i; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ClientSocketHandle -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // structors template @@ -145,7 +145,7 @@ senf::ClientSocketHandle::operator=(ClientSocketHandle oth {} #endif -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // reading and writing // senf::ClientSocketHandle::read @@ -289,7 +289,7 @@ prefix_ char const * senf::ClientSocketHandle::writeto(AddressParam add return start + SPolicy::WritePolicy::writeto(*this, addr, start, end-start); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // addressing // senf::ClientSocketHandle::peer @@ -350,7 +350,7 @@ prefix_ void senf::ClientSocketHandle::bind(AddressParam addr) SPolicy::AddressingPolicy::bind(*this, addr); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Casting template @@ -370,7 +370,7 @@ senf::ClientSocketHandle::cast_dynamic(FileHandle handle) return cast_static(handle); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // State information template @@ -392,7 +392,7 @@ prefix_ std::string senf::ClientSocketHandle::dumpState(unsigned lod) return detail::dumpState(map); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ClientSocketHandle.hh b/senf/Socket/ClientSocketHandle.hh index ce0f82a..d461232 100644 --- a/senf/Socket/ClientSocketHandle.hh +++ b/senf/Socket/ClientSocketHandle.hh @@ -35,12 +35,12 @@ #include "SocketHandle.hh" //#include "ClientSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup handle_group - /// @{ + //\{ template class ServerSocketHandle; @@ -90,7 +90,7 @@ namespace senf { : public SocketHandle { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types /// Address type from the addressing policy @@ -108,9 +108,9 @@ namespace senf { NoAddressingPolicy. */ typedef ServerSocketHandle ServerHandle; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default default constructor // default copy constructor @@ -138,12 +138,12 @@ namespace senf { ClientSocketHandle const & operator=(ClientSocketHandle other); # endif - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Reading and Writing - ///@{ + //\{ /** \brief Read data from socket @@ -360,9 +360,9 @@ namespace senf { \see \ref writeto() \n Boost.Range */ - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Addressing - ///@{ + //\{ /** \brief Connect to remote peer @@ -418,7 +418,7 @@ namespace senf { ///< Query local address /**< \see \ref local() */ - ///@} + //\} static ClientSocketHandle cast_static(FileHandle handle); static ClientSocketHandle cast_dynamic(FileHandle handle); @@ -437,10 +437,10 @@ namespace senf { friend class senf::ServerSocketHandle; }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ClientSocketHandle.cci" #include "ClientSocketHandle.ct" #include "ClientSocketHandle.cti" diff --git a/senf/Socket/ClientSocketHandle.ih b/senf/Socket/ClientSocketHandle.ih index accf4e0..3d0ca44 100644 --- a/senf/Socket/ClientSocketHandle.ih +++ b/senf/Socket/ClientSocketHandle.ih @@ -29,12 +29,12 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { - /////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::ReadRange /** \brief Internal: Choose optimal read implementation @@ -68,7 +68,7 @@ namespace detail { # endif - /////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::WriteRange /** \brief Internal: Choose optimal write implementation @@ -106,7 +106,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Socket/ClientSocketHandle.test.cc b/senf/Socket/ClientSocketHandle.test.cc index 6034a00..6780aa0 100644 --- a/senf/Socket/ClientSocketHandle.test.cc +++ b/senf/Socket/ClientSocketHandle.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -133,7 +133,7 @@ SENF_AUTO_UNIT_TEST(clientSocketHandle) SENF_CHECK_NO_THROW( BOOST_CHECK_EQUAL( myh.local(), 2u ) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/CommunicationPolicy.cc b/senf/Socket/CommunicationPolicy.cc index b5ce292..5945590 100644 --- a/senf/Socket/CommunicationPolicy.cc +++ b/senf/Socket/CommunicationPolicy.cc @@ -35,7 +35,7 @@ //#include "CommunicationPolicy.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::ConnectedCommunicationPolicy::do_listen(FileHandle const & handle, unsigned backlog) @@ -63,7 +63,7 @@ prefix_ int senf::ConnectedCommunicationPolicy::do_accept(FileHandle const & han return rv; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "CommunicationPolicy.mpp" diff --git a/senf/Socket/CommunicationPolicy.cci b/senf/Socket/CommunicationPolicy.cci index 6330e72..535f4b9 100644 --- a/senf/Socket/CommunicationPolicy.cci +++ b/senf/Socket/CommunicationPolicy.cci @@ -26,14 +26,14 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ int senf::ConnectedCommunicationPolicy::accept(FileHandle const & handle) { return do_accept(handle, 0, 0); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/CommunicationPolicy.cti b/senf/Socket/CommunicationPolicy.cti index f1c857a..a3aaa93 100644 --- a/senf/Socket/CommunicationPolicy.cti +++ b/senf/Socket/CommunicationPolicy.cti @@ -29,7 +29,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN template @@ -63,7 +63,7 @@ accept(ServerSocketHandle const & handle, {} #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/CommunicationPolicy.hh b/senf/Socket/CommunicationPolicy.hh index c007d73..b5a73f4 100644 --- a/senf/Socket/CommunicationPolicy.hh +++ b/senf/Socket/CommunicationPolicy.hh @@ -33,14 +33,14 @@ #include "FileHandle.hh" //#include "CommunicationPolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// struct sockaddr; namespace senf { /// \addtogroup policy_impl_group - /// @{ + //\{ template class ServerSocketHandle; @@ -109,12 +109,12 @@ namespace senf { struct UnconnectedCommunicationPolicy : public CommunicationPolicyBase {}; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "CommunicationPolicy.cci" //#include "CommunicationPolicy.ct" #include "CommunicationPolicy.cti" diff --git a/senf/Socket/FileHandle.cc b/senf/Socket/FileHandle.cc index ee88f59..952d095 100644 --- a/senf/Socket/FileHandle.cc +++ b/senf/Socket/FileHandle.cc @@ -36,9 +36,9 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::FileBody prefix_ void senf::FileBody::close() @@ -135,7 +135,7 @@ prefix_ bool senf::FileBody::pollCheck(int fd, bool incoming, int timeout, bool prefix_ senf::FileBody::~FileBody() {} -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/FileHandle.cci b/senf/Socket/FileHandle.cci index 83dd47e..b23b3e4 100644 --- a/senf/Socket/FileHandle.cci +++ b/senf/Socket/FileHandle.cci @@ -31,9 +31,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::FileBody prefix_ senf::FileBody::FileBody(int fd) @@ -107,7 +107,7 @@ prefix_ bool senf::FileBody::waitOOBReadable(senf::ClockService::clock_type time (timeout==-1?-1:senf::ClockService::in_milliseconds(timeout)), true); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::FileHandle prefix_ senf::FileBody & senf::FileHandle::body() @@ -255,7 +255,7 @@ prefix_ int senf::retrieve_filehandle(FileHandle handle) return handle.fd(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/FileHandle.hh b/senf/Socket/FileHandle.hh index 50ddaaf..526cb63 100644 --- a/senf/Socket/FileHandle.hh +++ b/senf/Socket/FileHandle.hh @@ -63,13 +63,13 @@ #include //#include "FileHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "FileHandle.ih" namespace senf { /// \addtogroup handle_group - /// @{ + //\{ /** \brief Basic file handle wrapper @@ -104,12 +104,12 @@ namespace senf { : public safe_bool { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ FileHandle(); ~FileHandle(); @@ -121,8 +121,8 @@ namespace senf { // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void close(); ///< Close filehandle /**< \throws senf::SystemException */ @@ -217,11 +217,11 @@ namespace senf { */ int retrieve_filehandle(FileHandle handle); - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "FileHandle.cci" //#include "FileHandle.ct" //#include "FileHandle.cti" diff --git a/senf/Socket/FileHandle.ih b/senf/Socket/FileHandle.ih index 7b71629..8b3670b 100644 --- a/senf/Socket/FileHandle.ih +++ b/senf/Socket/FileHandle.ih @@ -32,7 +32,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -69,14 +69,14 @@ namespace senf { public senf::pool_alloc_mixin { public: - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Types typedef boost::intrusive_ptr ptr; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit FileBody(int fd=-1); ///< Create new instance /**< You need to pass a real file descriptor to this @@ -92,8 +92,8 @@ namespace senf { // no copy // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-///////////////////////////////////////////////////////////////////////////////////////// FileHandle handle(); @@ -118,7 +118,7 @@ namespace senf { bool valid() const; private: - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Virtual interface for subclasses to override virtual void v_close(); ///< Called to close the file descriptor @@ -149,7 +149,7 @@ namespace senf { } -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Socket/FileHandle.test.cc b/senf/Socket/FileHandle.test.cc index 02d5392..d0e8bdd 100644 --- a/senf/Socket/FileHandle.test.cc +++ b/senf/Socket/FileHandle.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { class FHandle : public senf::FileHandle @@ -110,7 +110,7 @@ SENF_AUTO_UNIT_TEST(fileHandle) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/FramingPolicy.hh b/senf/Socket/FramingPolicy.hh index 94f9acb..171f31c 100644 --- a/senf/Socket/FramingPolicy.hh +++ b/senf/Socket/FramingPolicy.hh @@ -31,12 +31,12 @@ #include "SocketPolicy.hh" //#include "FramingPolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief FramingPolicy for stream oriented sockets @@ -60,11 +60,11 @@ namespace senf { struct DatagramFramingPolicy : public FramingPolicyBase {}; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "FramingPolicy.cci" //#include "FramingPolicy.ct" //#include "FramingPolicy.cti" diff --git a/senf/Socket/NetdeviceController.cc b/senf/Socket/NetdeviceController.cc index 435178e..ee88117 100644 --- a/senf/Socket/NetdeviceController.cc +++ b/senf/Socket/NetdeviceController.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #define doIoctl(ifr, request, errorMsg) \ if ( ::ioctl( sockfd_->fd, request, &ifr ) < 0 ) \ @@ -196,7 +196,7 @@ prefix_ void senf::NetdeviceController::ifrName(ifreq & ifr) #undef doIoctl -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::NetdeviceController::SockFd prefix_ senf::NetdeviceController::SockFd::SockFd() @@ -220,7 +220,7 @@ prefix_ senf::NetdeviceController::SockFd::ptr senf::NetdeviceController::sockfd return p; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "NetdeviceController.mpp" diff --git a/senf/Socket/NetdeviceController.hh b/senf/Socket/NetdeviceController.hh index f0796b0..f8ad222 100644 --- a/senf/Socket/NetdeviceController.hh +++ b/senf/Socket/NetdeviceController.hh @@ -32,7 +32,7 @@ #include //#include "NetdeviceController.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// struct ifreq; @@ -113,7 +113,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "NetdeviceController.cci" //#include "NetdeviceController.ct" //#include "NetdeviceController.cti" diff --git a/senf/Socket/NetdeviceController.test.cc b/senf/Socket/NetdeviceController.test.cc index 585907a..a51c1f6 100644 --- a/senf/Socket/NetdeviceController.test.cc +++ b/senf/Socket/NetdeviceController.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(NetdeviceController) { @@ -73,7 +73,7 @@ SENF_AUTO_UNIT_TEST(NetdeviceController) { BOOST_CHECK_EQUAL( ctrl.promisc(), promisc); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ProtocolClientSocketHandle.cti b/senf/Socket/ProtocolClientSocketHandle.cti index 0c4a427..e9db8da 100644 --- a/senf/Socket/ProtocolClientSocketHandle.cti +++ b/senf/Socket/ProtocolClientSocketHandle.cti @@ -33,7 +33,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ProtocolClientSocketHandle:: @@ -109,7 +109,7 @@ senf::ProtocolClientSocketHandle::dumpState(unsigned lod) return detail::dumpState(map); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ProtocolClientSocketHandle.hh b/senf/Socket/ProtocolClientSocketHandle.hh index 00f4b37..64e4309 100644 --- a/senf/Socket/ProtocolClientSocketHandle.hh +++ b/senf/Socket/ProtocolClientSocketHandle.hh @@ -33,12 +33,12 @@ #include #include "ProtocolClientSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup handle_group - /// @{ + //\{ template class ProtocolServerSocketHandle; @@ -63,14 +63,14 @@ namespace senf { : public ClientSocketHandle { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef SocketProtocol Protocol; ///< The sockets protocol - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ /** \brief Create new client socket @@ -96,8 +96,8 @@ namespace senf { */ ProtocolClientSocketHandle(senf::NoInit_t); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// Protocol & protocol(); ///< Access the protocol interface /**< The returned protocol class reference gives access to @@ -118,10 +118,10 @@ namespace senf { friend class ProtocolServerSocketHandle; }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ProtocolClientSocketHandle.cci" //#include "ProtocolClientSocketHandle.ct" #include "ProtocolClientSocketHandle.cti" diff --git a/senf/Socket/ProtocolClientSocketHandle.mpp b/senf/Socket/ProtocolClientSocketHandle.mpp index b52ade7..78609c5 100644 --- a/senf/Socket/ProtocolClientSocketHandle.mpp +++ b/senf/Socket/ProtocolClientSocketHandle.mpp @@ -32,9 +32,9 @@ #include #include -// ///////////////////////////mpp.p//////////////////////////////////////// -#elif BOOST_PP_IS_ITERATING // //////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-///////////////////////////mpp.p//////////////////////////////////////// +#elif BOOST_PP_IS_ITERATING //-//////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Local Macros #define mpp_Arg(z,n,data) BOOST_PP_CAT(A,n) const & BOOST_PP_CAT(a,n) @@ -42,18 +42,18 @@ #define mpp_MethodParameters() BOOST_PP_ENUM(BOOST_PP_ITERATION(), mpp_Arg, ) #define mpp_CallParameters() BOOST_PP_ENUM_PARAMS(BOOST_PP_ITERATION(), a ) -// //////////////////////////////////////////////////////////////////////// -#if BOOST_PP_ITERATION_FLAGS()==1 // ////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#if BOOST_PP_ITERATION_FLAGS()==1 //-////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // senf::ProtocolClientSocketHandle:: // ProtocolClientSocketHandle (constructor) declaration template < mpp_TemplateParameters() > explicit ProtocolClientSocketHandle( mpp_MethodParameters() ); -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==2 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==2 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // senf::ProtocolClientSocketHandle:: // ProtocolClientSocketHandle (constructor) implementation @@ -67,9 +67,9 @@ ProtocolClientSocketHandle( mpp_MethodParameters() ) this->protocol().init_client( mpp_CallParameters() ); } -// //////////////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#endif //-///////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Undefine local Macros #undef mpp_Arg @@ -77,9 +77,9 @@ ProtocolClientSocketHandle( mpp_MethodParameters() ) #undef mpp_MethodParameters #undef mpp_CallParameters -// //////////////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// -// ///////////////////////////mpp.e//////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#endif //-///////////////////////////////////////////////////////////////// +//-///////////////////////////mpp.e//////////////////////////////////////// // Local Variables: diff --git a/senf/Socket/ProtocolClientSocketHandle.test.cc b/senf/Socket/ProtocolClientSocketHandle.test.cc index 15d0a12..b939afc 100644 --- a/senf/Socket/ProtocolClientSocketHandle.test.cc +++ b/senf/Socket/ProtocolClientSocketHandle.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct MySocketProtocol : public senf::test::SomeSocketProtocol @@ -69,7 +69,7 @@ SENF_AUTO_UNIT_TEST(protocolClientSocketHandle) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ProtocolServerSocketHandle.cti b/senf/Socket/ProtocolServerSocketHandle.cti index 756d343..abc5400 100644 --- a/senf/Socket/ProtocolServerSocketHandle.cti +++ b/senf/Socket/ProtocolServerSocketHandle.cti @@ -33,7 +33,7 @@ #include "ProtocolClientSocketHandle.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ProtocolServerSocketHandle:: @@ -115,7 +115,7 @@ ProtocolServerSocketHandle(FileHandle other, bool isChecked) : ServerSocketHandle(other,isChecked) {} -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ProtocolServerSocketHandle.hh b/senf/Socket/ProtocolServerSocketHandle.hh index dbb3b04..0c6f4da 100644 --- a/senf/Socket/ProtocolServerSocketHandle.hh +++ b/senf/Socket/ProtocolServerSocketHandle.hh @@ -33,12 +33,12 @@ #include #include "ProtocolServerSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup handle_group - /// @{ + //\{ template class ProtocolClientSocketHandle; @@ -67,14 +67,14 @@ namespace senf { : public ServerSocketHandle { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef SocketProtocol Protocol; ///< The socket protocol - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ /** \brief Create new server socket @@ -101,8 +101,8 @@ namespace senf { \implementation The socket handle will have no \c body allocated. */ ProtocolServerSocketHandle(senf::NoInit_t); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// Protocol & protocol(); ///< Access the protocol interface /**< The returned protocol class reference gives access to @@ -125,10 +125,10 @@ namespace senf { }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ProtocolServerSocketHandle.cci" //#include "ProtocolServerSocketHandle.ct" #include "ProtocolServerSocketHandle.cti" diff --git a/senf/Socket/ProtocolServerSocketHandle.mpp b/senf/Socket/ProtocolServerSocketHandle.mpp index c17e5eb..2e8068c 100644 --- a/senf/Socket/ProtocolServerSocketHandle.mpp +++ b/senf/Socket/ProtocolServerSocketHandle.mpp @@ -32,7 +32,7 @@ #include #include -//////////////////////////////mpp_PSSH_.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Local Macros #define mpp_PSSH_Arg(z,n,data) BOOST_PP_CAT(A,n) const & BOOST_PP_CAT(a,n) @@ -41,23 +41,23 @@ #define mpp_PSSH_MethodParameters() BOOST_PP_ENUM(BOOST_PP_ITERATION(), mpp_PSSH_Arg, ) #define mpp_PSSH_CallParameters() BOOST_PP_ENUM_PARAMS(BOOST_PP_ITERATION(), a ) -////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #else -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #if BOOST_PP_ITERATION_FLAGS()==1 -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ProtocolServerSocketHandle:: // ProtocolServerSocketHandle (constructor) declaration template < mpp_PSSH_TemplateParameters() > explicit ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ); -////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #elif BOOST_PP_ITERATION_FLAGS()==2 -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ProtocolServerSocketHandle:: // ProtocolServerSocketHandle (constructor) implementation @@ -71,12 +71,12 @@ ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ) this->protocol().init_server( mpp_PSSH_CallParameters() ); } -////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif #endif #if !BOOST_PP_IS_ITERATING #ifdef MPP_SENF_Socket_ProtocolServerSocketHandle_ -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Undefine local Macros #undef mpp_PSSH_Arg @@ -84,7 +84,7 @@ ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ) #undef mpp_PSSH_MethodParameters #undef mpp_PSSH_CallParameters -//////////////////////////////mpp_PSSH_.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #else #define MPP_SENF_Socket_ProtocolServerSocketHandle_ 1 #endif diff --git a/senf/Socket/ProtocolServerSocketHandle.test.cc b/senf/Socket/ProtocolServerSocketHandle.test.cc index a7abd67..30afcc5 100644 --- a/senf/Socket/ProtocolServerSocketHandle.test.cc +++ b/senf/Socket/ProtocolServerSocketHandle.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -77,7 +77,7 @@ SENF_AUTO_UNIT_TEST(protocolServerSocketHandle) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/AddressExceptions.hh b/senf/Socket/Protocols/AddressExceptions.hh index 87788d3..7f47dc4 100644 --- a/senf/Socket/Protocols/AddressExceptions.hh +++ b/senf/Socket/Protocols/AddressExceptions.hh @@ -30,7 +30,7 @@ #include //#include "AddressExceptions.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -68,7 +68,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "AddressExceptions.cci" //#include "AddressExceptions.ct" //#include "AddressExceptions.cti" diff --git a/senf/Socket/Protocols/BSDAddressingPolicy.cc b/senf/Socket/Protocols/BSDAddressingPolicy.cc index 06e263b..4830a12 100644 --- a/senf/Socket/Protocols/BSDAddressingPolicy.cc +++ b/senf/Socket/Protocols/BSDAddressingPolicy.cc @@ -34,7 +34,7 @@ //#include "BSDAddressingPolicy.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::BSDAddressingPolicyMixinBase::do_local(FileHandle const & handle, struct sockaddr * addr, @@ -87,7 +87,7 @@ prefix_ void senf::BSDAddressingPolicyMixinBase::do_connect(FileHandle const & h } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "BSDAddressingPolicy.mpp" diff --git a/senf/Socket/Protocols/BSDAddressingPolicy.cti b/senf/Socket/Protocols/BSDAddressingPolicy.cti index 75bc460..43e8b10 100644 --- a/senf/Socket/Protocols/BSDAddressingPolicy.cti +++ b/senf/Socket/Protocols/BSDAddressingPolicy.cti @@ -29,9 +29,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::BSDAddressingPolicyMixin

#ifndef DOXYGEN @@ -103,7 +103,7 @@ prefix_ void senf::BSDAddressingPolicyMixin
::bind(FileHandle const & ha } } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/BSDAddressingPolicy.hh b/senf/Socket/Protocols/BSDAddressingPolicy.hh index a4b17ac..3e34608 100644 --- a/senf/Socket/Protocols/BSDAddressingPolicy.hh +++ b/senf/Socket/Protocols/BSDAddressingPolicy.hh @@ -37,12 +37,12 @@ #include "BSDSocketAddress.hh" //#include "BSDAddressingPolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief Non-template implementation class of BSDAddressingPolicyMixin template @@ -124,7 +124,7 @@ namespace senf { \param[in] addr local socket address */ }; - /// @} + //\} struct BSDAddressingPolicy : public AddressingPolicyBase, @@ -140,7 +140,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "BSDAddressingPolicy.cci" //#include "BSDAddressingPolicy.ct" #include "BSDAddressingPolicy.cti" diff --git a/senf/Socket/Protocols/BSDAddressingPolicy.test.cc b/senf/Socket/Protocols/BSDAddressingPolicy.test.cc index 5630f77..12d3d3d 100644 --- a/senf/Socket/Protocols/BSDAddressingPolicy.test.cc +++ b/senf/Socket/Protocols/BSDAddressingPolicy.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(bsdAddressingPolicy) { @@ -45,7 +45,7 @@ SENF_AUTO_UNIT_TEST(bsdAddressingPolicy) BOOST_CHECK_EQUAL( BSDHandle(tcph).local(), tcph.local() ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/BSDSocketAddress.cc b/senf/Socket/Protocols/BSDSocketAddress.cc index 7d2c6ed..bc49d4a 100644 --- a/senf/Socket/Protocols/BSDSocketAddress.cc +++ b/senf/Socket/Protocols/BSDSocketAddress.cc @@ -33,7 +33,7 @@ //#include "BSDSocketAddress.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ std::ostream & senf::operator<<(std::ostream & os, BSDSocketAddress const & addr) { @@ -60,7 +60,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, BSDSocketAddress cons return os; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "BSDSocketAddress.mpp" diff --git a/senf/Socket/Protocols/BSDSocketAddress.cci b/senf/Socket/Protocols/BSDSocketAddress.cci index f52445e..fb6d602 100644 --- a/senf/Socket/Protocols/BSDSocketAddress.cci +++ b/senf/Socket/Protocols/BSDSocketAddress.cci @@ -31,9 +31,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::BSDSocketAddress prefix_ struct sockaddr const * senf::BSDSocketAddress::sockaddr_p() @@ -88,7 +88,7 @@ prefix_ bool senf::BSDSocketAddress::boolean_test() 0u)) < socklen()-2; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::BSDSocketAddress::BSDSocketAddress(socklen_t len, short family) @@ -135,7 +135,7 @@ prefix_ socklen_t * senf::BSDSocketAddress::socklen_p() return & len_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // related template @@ -154,7 +154,7 @@ prefix_ Target const & senf::sockaddr_cast(BSDSocketAddress const & source) return static_cast(source); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::GenericBSDSocketAddress prefix_ senf::GenericBSDSocketAddress::GenericBSDSocketAddress() @@ -195,7 +195,7 @@ prefix_ struct sockaddr * senf::GenericBSDSocketAddress::sockaddr_p() return static_cast(static_cast(& addr_)); } -/////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/BSDSocketAddress.hh b/senf/Socket/Protocols/BSDSocketAddress.hh index e8bd942..cc9694a 100644 --- a/senf/Socket/Protocols/BSDSocketAddress.hh +++ b/senf/Socket/Protocols/BSDSocketAddress.hh @@ -35,7 +35,7 @@ #include //#include "BSDSocketAddress.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -99,15 +99,15 @@ namespace senf { each typed derived class (e.g. INet4Address::addressFamily) */ - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Generic sockaddr interface - ///\{ + //\{ struct sockaddr const * sockaddr_p() const; socklen_t socklen() const; socklen_t const * socklen_p() const; - ///\} + //\} protected: BSDSocketAddress(socklen_t len, short family); @@ -173,9 +173,9 @@ namespace senf { : public BSDSocketAddress { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ GenericBSDSocketAddress(); GenericBSDSocketAddress(BSDSocketAddress const & other); @@ -184,17 +184,17 @@ namespace senf { GenericBSDSocketAddress(const GenericBSDSocketAddress& other); GenericBSDSocketAddress& operator=(const GenericBSDSocketAddress& other); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Generic sockaddr interface - ///\{ + //\{ struct sockaddr const * sockaddr_p() const; struct sockaddr * sockaddr_p(); using BSDSocketAddress::socklen_p; - ///\} + //\} protected: @@ -204,7 +204,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "BSDSocketAddress.cci" //#include "BSDSocketAddress.ct" //#include "BSDSocketAddress.cti" diff --git a/senf/Socket/Protocols/BSDSocketAddress.test.cc b/senf/Socket/Protocols/BSDSocketAddress.test.cc index df69808..44405c6 100644 --- a/senf/Socket/Protocols/BSDSocketAddress.test.cc +++ b/senf/Socket/Protocols/BSDSocketAddress.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(bsdSocketAddress) { @@ -51,7 +51,7 @@ SENF_AUTO_UNIT_TEST(bsdSocketAddress) BOOST_CHECK( g1 == g2 ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/BSDSocketProtocol.cc b/senf/Socket/Protocols/BSDSocketProtocol.cc index 5600334..c0bf374 100644 --- a/senf/Socket/Protocols/BSDSocketProtocol.cc +++ b/senf/Socket/Protocols/BSDSocketProtocol.cc @@ -33,7 +33,7 @@ //#include "BSDSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ std::pair senf::BSDSocketProtocol::linger() const @@ -122,7 +122,7 @@ prefix_ void senf::BSDSocketProtocol::sndbuf(unsigned size) SENF_THROW_SYSTEM_EXCEPTION(""); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ bool senf::AddressableBSDSocketProtocol::reuseaddr() const @@ -142,7 +142,7 @@ prefix_ void senf::AddressableBSDSocketProtocol::reuseaddr(bool value) SENF_THROW_SYSTEM_EXCEPTION(""); } -/////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "BSDSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/BSDSocketProtocol.hh b/senf/Socket/Protocols/BSDSocketProtocol.hh index 5f2159e..fd9150f 100644 --- a/senf/Socket/Protocols/BSDSocketProtocol.hh +++ b/senf/Socket/Protocols/BSDSocketProtocol.hh @@ -31,12 +31,12 @@ #include //#include "BSDSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Protocol facet providing basic BSD socket functionality @@ -114,12 +114,12 @@ namespace senf { \param[in] value new \c SO_REUSEADDR state */ }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "BSDSocketProtocol.cci" //#include "BSDSocketProtocol.ct" //#include "BSDSocketProtocol.cti" diff --git a/senf/Socket/Protocols/DVB/DVBDemuxHandles.cc b/senf/Socket/Protocols/DVB/DVBDemuxHandles.cc index b19d520..aefab8f 100644 --- a/senf/Socket/Protocols/DVB/DVBDemuxHandles.cc +++ b/senf/Socket/Protocols/DVB/DVBDemuxHandles.cc @@ -36,9 +36,9 @@ //#include "DVBDemuxHandles.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::DVBDemuxHandles prefix_ void senf::DVBDemuxSectionSocketProtocol::init_client(unsigned short adapter, unsigned short device) @@ -127,7 +127,7 @@ prefix_ unsigned senf::DVBDvrSocketProtocol::available() return 188; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DVBDemuxHandles.mpp" diff --git a/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh b/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh index dbc9a88..ba42eaf 100644 --- a/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh +++ b/senf/Socket/Protocols/DVB/DVBDemuxHandles.hh @@ -37,12 +37,12 @@ #include #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< NoAddressingPolicy, @@ -89,24 +89,24 @@ public: { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client(unsigned short adapter=0, unsigned short device=0) const; ///< xxx /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; - ///@} + //\} void setSectionFilter(unsigned short int pid, unsigned char filter= 0x3e, @@ -129,24 +129,24 @@ public: public DVBSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client(unsigned short adapter=0, unsigned short device=0) const; ///< xxx /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; - ///@} + //\} void setPESFilter(unsigned short int pid, dmx_input_t input, dmx_output_t output, dmx_pes_type_t pesType, unsigned int flags)const; }; @@ -164,33 +164,33 @@ public: public DVBDemuxSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client(unsigned short adapter=0, unsigned short device=0) const; ///< xxx /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; - ///@} + //\} }; typedef ProtocolClientSocketHandle DVBDvrHandle; - ///@} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "DVBDemuxHandles.cci" //#include "DVBDemuxHandles.ct" //#include "DVBDemuxHandles.cti" diff --git a/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc b/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc index d247368..7459138 100644 --- a/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc +++ b/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.cc @@ -36,7 +36,7 @@ //#include "DVBDemuxSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::DVBDemuxSocketProtocol::setBufferSize(unsigned long size) const @@ -67,7 +67,7 @@ prefix_ bool senf::DVBDemuxSocketProtocol::eof() return false; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DVBDemuxSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.hh b/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.hh index fcfea35..af82baa 100644 --- a/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.hh +++ b/senf/Socket/Protocols/DVB/DVBDemuxSocketProtocol.hh @@ -32,12 +32,12 @@ #include //#include "DVBSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \todo Document me! */ @@ -55,17 +55,17 @@ namespace senf { void stopFiltering() const; ///\name Abstract Interface Implementation - ///@{ + //\{ bool eof() const; - ///@} + //\} }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "DVBDemuxSocketProtocol.cci" //#include "DVBDemuxSocketProtocol.ct" //#include "DVBDemuxSocketProtocol.cti" diff --git a/senf/Socket/Protocols/DVB/DVBFrontendHandle.cc b/senf/Socket/Protocols/DVB/DVBFrontendHandle.cc index c9aaa39..032b5db 100644 --- a/senf/Socket/Protocols/DVB/DVBFrontendHandle.cc +++ b/senf/Socket/Protocols/DVB/DVBFrontendHandle.cc @@ -36,9 +36,9 @@ //#include "DVBFrontendHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::DVBFrontendHandle using namespace std; @@ -263,7 +263,7 @@ prefix_ fe_status_t senf::DVBFrontendSocketProtocol::status() } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DVBFrontendHandle.mpp" diff --git a/senf/Socket/Protocols/DVB/DVBFrontendHandle.hh b/senf/Socket/Protocols/DVB/DVBFrontendHandle.hh index 47606e8..d65c72d 100644 --- a/senf/Socket/Protocols/DVB/DVBFrontendHandle.hh +++ b/senf/Socket/Protocols/DVB/DVBFrontendHandle.hh @@ -39,12 +39,12 @@ #include #include //#include "DVBFrontendHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< NoAddressingPolicy, @@ -76,18 +76,18 @@ namespace senf { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client(unsigned short adapter = 0, unsigned short device = 0, int flags = (O_RDWR | O_NONBLOCK) ) const; ///< Opens the specified frontend device in read-only mode. /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} void setNonBlock(bool on = true) const; @@ -120,7 +120,7 @@ namespace senf { /**< Returns dvb_frontend_parameters struct, which contains the actual configuration of the device.*/ ///\name Abstract Interface Implementation - ///@{ + //\{ dvb_frontend_event getEvent() const; @@ -132,7 +132,7 @@ namespace senf { /**< Returns always false, since the DVB frontend socket does not support the notion of EOF. */ - ///@} + //\} int16_t signalStrength() const; ///< Returns current signal strength /**< Returns the signal strength value for the signal @@ -167,11 +167,11 @@ namespace senf { typedef ProtocolClientSocketHandle DVBFrontendHandle; - ///@} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "DVBFrontendHandle.cci" //#include "DVBFrontendHandle.ct" //#include "DVBFrontendHandle.cti" diff --git a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cc b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cc index 184305d..3b9fc87 100644 --- a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cc +++ b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cc @@ -30,7 +30,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::DVBSectionProtocolWrapper::DVBSectionProtocolWrapper(senf::DVBDemuxSectionHandle sh) : protocol(sh.protocol()), dir(this) @@ -110,7 +110,7 @@ prefix_ senf::DVBPESProtocolWrapper::DVBPESProtocolWrapper(senf::DVBDemuxPESHand .doc("Stops filtering") ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cci b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cci index b63c768..0e6ee3b 100644 --- a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cci +++ b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.cci @@ -26,7 +26,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::DVBSectionProtocolWrapper::setSectionFilter( unsigned short int pid, u_int8_t filter, unsigned int flags, u_int8_t mask, @@ -68,5 +68,5 @@ prefix_ void senf::DVBPESProtocolWrapper::stopFiltering() } -///////////////////////////////cci.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh index e028bbc..ca47c00 100644 --- a/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh +++ b/senf/Socket/Protocols/DVB/DVBProtocolWrapper.hh @@ -29,7 +29,7 @@ #include #include "DVBDemuxHandles.hh" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_CONSOLE_REGISTER_ENUM( dmx_input_t, (DMX_IN_FRONTEND)(DMX_IN_DVR) ); SENF_CONSOLE_REGISTER_ENUM( dmx_output_t, (DMX_OUT_DECODER)(DMX_OUT_TAP)(DMX_OUT_TS_TAP) ); @@ -101,7 +101,7 @@ namespace senf { (CHECK_CRC)(ONESHOT)(IMMEDIATE_START)(KERNEL_CLIENT)); } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "DVBProtocolWrapper.cci" //#include "DVBProtocolWrapper.ct" //#include "DVBProtocolWrapper.cti" diff --git a/senf/Socket/Protocols/DVB/DVBSocketController.cc b/senf/Socket/Protocols/DVB/DVBSocketController.cc index 2d9181a..8cc640d 100644 --- a/senf/Socket/Protocols/DVB/DVBSocketController.cc +++ b/senf/Socket/Protocols/DVB/DVBSocketController.cc @@ -35,7 +35,7 @@ #include "DVBProtocolWrapper.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// unsigned int senf::DVBSocketController::controllerNr(0); @@ -484,7 +484,7 @@ prefix_ void senf::DVBSocketController::initConsole() .arg("mode", "mode 'sync' or 'async'", kw::default_value = "async") ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/DVB/main.test.cc b/senf/Socket/Protocols/DVB/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Socket/Protocols/DVB/main.test.cc +++ b/senf/Socket/Protocols/DVB/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/DatagramSocketProtocol.cc b/senf/Socket/Protocols/DatagramSocketProtocol.cc index 738c692..50c071d 100644 --- a/senf/Socket/Protocols/DatagramSocketProtocol.cc +++ b/senf/Socket/Protocols/DatagramSocketProtocol.cc @@ -33,7 +33,7 @@ //#include "DatagramSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::ClockService::clock_type senf::DatagramSocketProtocol::timestamp() const @@ -55,7 +55,7 @@ prefix_ senf::ClockService::clock_type senf::DatagramSocketProtocol::timestamp_s } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "DatagramSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/DatagramSocketProtocol.hh b/senf/Socket/Protocols/DatagramSocketProtocol.hh index 5aa460d..1c1fde6 100644 --- a/senf/Socket/Protocols/DatagramSocketProtocol.hh +++ b/senf/Socket/Protocols/DatagramSocketProtocol.hh @@ -32,12 +32,12 @@ #include //#include "DatagramSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { ///\addtogroup protocol_facets_group - ///\{ + //\{ /** \brief Protocol facet providing generic BSD datagram socket functionality */ @@ -59,10 +59,10 @@ namespace senf { }; - ///\} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "DatagramSocketProtocol.cci" //#include "DatagramSocketProtocol.ct" //#include "DatagramSocketProtocol.cti" diff --git a/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc b/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc index d4447f3..a6911f7 100644 --- a/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc +++ b/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc @@ -31,9 +31,9 @@ //#include "UDPSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ConnectedRawV4SocketProtocol prefix_ void senf::ConnectedRawV4SocketProtocol::init_client() @@ -60,7 +60,7 @@ senf::ConnectedRawV4SocketProtocol::init_client(int const & protocol, INet4Socke clientHandle().connect(address); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::UDPv6SocketProtocol:: prefix_ void senf::ConnectedRawV6SocketProtocol::init_client() @@ -89,7 +89,7 @@ senf::ConnectedRawV6SocketProtocol::init_client(int const & protocol, INet6Socke } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ConnectedRawINetSocketHandle.mpp" diff --git a/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh b/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh index c81a15e..7cba3e3 100644 --- a/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh +++ b/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh @@ -34,12 +34,12 @@ #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< INet4AddressingPolicy, @@ -88,11 +88,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket for IPPROTO_RAW /**< \note This member is implicitly called from the @@ -109,7 +109,7 @@ namespace senf { send \param[in] address local address to connect to */ - ///@} + //\} }; typedef ProtocolClientSocketHandle @@ -118,7 +118,7 @@ namespace senf { -//////////////////////////////////////////////// Raw IPv6 Socket //////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// typedef MakeSocketPolicy< INet6AddressingPolicy, DatagramFramingPolicy, @@ -164,11 +164,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket for IPPROTO_RAW /**< \note This member is implicitly called from the @@ -189,13 +189,13 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor (??) */ - ///@} + //\} }; typedef ProtocolClientSocketHandle ConnectedRawV6ClientSocketHandle; - /// @} + //\} } diff --git a/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.cc b/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.cc index d35ff6e..fcd52ee 100644 --- a/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.cc +++ b/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.cc @@ -36,9 +36,9 @@ //#include "ConnectedUDPSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ConnectedUDPv4SocketProtocol prefix_ void senf::ConnectedUDPv4SocketProtocol::init_client() @@ -58,7 +58,7 @@ senf::ConnectedUDPv4SocketProtocol::init_client(INet4SocketAddress const & addre clientHandle().connect(address); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ConnectedUDPv6SocketProtocol:: prefix_ void senf::ConnectedUDPv6SocketProtocol::init_client() @@ -78,7 +78,7 @@ senf::ConnectedUDPv6SocketProtocol::init_client(INet6SocketAddress const & addre clientHandle().connect(address); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ConnectedUDPSocketHandle.mpp" diff --git a/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.hh b/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.hh index bc9190a..589defa 100644 --- a/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.hh +++ b/senf/Socket/Protocols/INet/ConnectedUDPSocketHandle.hh @@ -41,12 +41,12 @@ #include //#include "ConnectedUDPSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< INet4AddressingPolicy, @@ -84,11 +84,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -104,7 +104,7 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle< @@ -143,11 +143,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -163,17 +163,17 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle< ConnectedUDPv6SocketProtocol> ConnectedUDPv6ClientSocketHandle; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ConnectedUDPSocketHandle.cci" //#include "ConnectedUDPSocketHandle.ct" //#include "ConnectedUDPSocketHandle.cti" diff --git a/senf/Socket/Protocols/INet/INet4Address.cc b/senf/Socket/Protocols/INet/INet4Address.cc index d00dee2..24abea3 100644 --- a/senf/Socket/Protocols/INet/INet4Address.cc +++ b/senf/Socket/Protocols/INet/INet4Address.cc @@ -38,9 +38,9 @@ //#include "INet4Address.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4Address::INet4Address prefix_ senf::INet4Address::INet4Address(address_type value) @@ -123,7 +123,7 @@ senf::INet4Address const senf::INet4Address::None; senf::INet4Address const senf::INet4Address::Loopback (0x7F000001u); senf::INet4Address const senf::INet4Address::Broadcast (0xFFFFFFFFu); -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4Network prefix_ senf::INet4Network::INet4Network(std::string const & s) @@ -139,7 +139,7 @@ prefix_ senf::INet4Network::INet4Network(std::string const & s) address_ = INet4Address(INet4Address::from_string(std::string(s, 0, i)).address() & mask()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace members prefix_ std::ostream & senf::operator<<(std::ostream & os, INet4Address const & addr) @@ -181,7 +181,7 @@ prefix_ std::istream & senf::operator>>(std::istream & is, INet4Network & addr) return is; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "INet4Address.mpp" diff --git a/senf/Socket/Protocols/INet/INet4Address.cci b/senf/Socket/Protocols/INet/INet4Address.cci index 26a92ee..107eb3f 100644 --- a/senf/Socket/Protocols/INet/INet4Address.cci +++ b/senf/Socket/Protocols/INet/INet4Address.cci @@ -26,9 +26,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4Address prefix_ senf::INet4Address::INet4Address() @@ -78,7 +78,7 @@ prefix_ bool senf::INet4Address::boolean_test() return inaddr(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4Network prefix_ unsigned senf::INet4Network::prefix_len() @@ -87,7 +87,7 @@ prefix_ unsigned senf::INet4Network::prefix_len() return prefix_len_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ boost::uint32_t senf::INet4Network::mask() @@ -97,7 +97,7 @@ prefix_ boost::uint32_t senf::INet4Network::mask() return (~((boost::uint32_t(1u)<<(32u-prefix_len()))-1u)) & 0xFFFFFFFFu; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // public members prefix_ senf::INet4Network::INet4Network() @@ -148,7 +148,7 @@ prefix_ senf::INet4Network senf::INet4Network::subnet(boost::uint32_t net, unsig return INet4Network(host(net << (32-prefix_len)),prefix_len); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace members prefix_ std::ostream & senf::operator<<(std::ostream & os, INet4Network const & addr) @@ -157,7 +157,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, INet4Network const & return os; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INet4Address.ct b/senf/Socket/Protocols/INet/INet4Address.ct index 1f9fccc..d23f607 100644 --- a/senf/Socket/Protocols/INet/INet4Address.ct +++ b/senf/Socket/Protocols/INet/INet4Address.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4Address template @@ -44,7 +44,7 @@ prefix_ senf::INet4Address senf::INet4Address::from_data(InputIterator i) return addr; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INet4Address.cti b/senf/Socket/Protocols/INet/INet4Address.cti index baede9a..395da68 100644 --- a/senf/Socket/Protocols/INet/INet4Address.cti +++ b/senf/Socket/Protocols/INet/INet4Address.cti @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::CheckINet4Network template @@ -41,7 +41,7 @@ prefix_ bool senf::CheckINet4Network::match(INet4Address con (address & ~boost::uint32_t(boost::low_bits_mask_t<32-prefix_len>::sig_bits)); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INet4Address.hh b/senf/Socket/Protocols/INet/INet4Address.hh index 43f576e..be0d4db 100644 --- a/senf/Socket/Protocols/INet/INet4Address.hh +++ b/senf/Socket/Protocols/INet/INet4Address.hh @@ -36,7 +36,7 @@ #include //#include "INet4Address.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -90,7 +90,7 @@ namespace senf { public comparable_safe_bool { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef uint32_t address_type; ///< Address representation as number in host byte order @@ -100,9 +100,9 @@ namespace senf { static INet4Address const Loopback; ///< The loopback (127.0.0.1) address static INet4Address const Broadcast; ////< The global broadcast (255.255.255.255) address - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ INet4Address(); ///< Construct an empty address explicit INet4Address(senf::NoInit_t); ///< Construct uninitialized (!) address @@ -135,10 +135,10 @@ namespace senf { code to convert a network byte order address in an integer number into an INet4Address. */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Accessors - ///@{ + //\{ bool local() const; ///< \c true, if address is locally administered /**< This call checks, if the address is within one of the @@ -160,7 +160,7 @@ namespace senf { /**< This member returns the address as an integer number in host byte order. This representation allows simple network math operations. */ - ////@} + //-///////////////////////////////////////////////////////////////////////////////////////// private: enum InAddr_t { IsInAddr }; @@ -220,17 +220,17 @@ namespace senf { public comparable_safe_bool { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ INet4Network(); ///< Construct empty (0.0.0.0/0) network INet4Network(INet4Address const & address, unsigned prefix_len); ///< Construct network from given address and prefix length explicit INet4Network(std::string const & s); ///< Construct network from CIDR notation - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// INet4Address const & address() const; ///< Get the networks address unsigned prefix_len() const; ///< Get the networks prefix length @@ -288,7 +288,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "INet4Address.cci" #include "INet4Address.ct" #include "INet4Address.cti" diff --git a/senf/Socket/Protocols/INet/INet4Address.test.cc b/senf/Socket/Protocols/INet/INet4Address.test.cc index 0dc95d9..4027d26 100644 --- a/senf/Socket/Protocols/INet/INet4Address.test.cc +++ b/senf/Socket/Protocols/INet/INet4Address.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(inet4Address) { @@ -136,7 +136,7 @@ SENF_AUTO_UNIT_TEST(inet4Network) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INet6Address.cc b/senf/Socket/Protocols/INet/INet6Address.cc index 9319489..220f394 100644 --- a/senf/Socket/Protocols/INet/INet6Address.cc +++ b/senf/Socket/Protocols/INet/INet6Address.cc @@ -39,9 +39,9 @@ //#include "INet6Address.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet6Address prefix_ senf::INet6Address senf::INet6Address::from_string(std::string const & s, @@ -156,7 +156,7 @@ senf::INet6Address const senf::INet6Address::Loopback (0u,0u,0u,0u,0u,0u,0u,1u senf::INet6Address const senf::INet6Address::AllNodes (0xFF02u,0u,0u,0u,0u,0u,0u,1u); senf::INet6Address const senf::INet6Address::AllRouters (0xFF02u,0u,0u,0u,0u,0u,0u,2u); -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet6Network prefix_ senf::INet6Network::INet6Network(std::string const & s) @@ -189,7 +189,7 @@ prefix_ std::istream & senf::operator>>(std::istream & is, INet6Network & addr) return is; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "INet6Address.mpp" diff --git a/senf/Socket/Protocols/INet/INet6Address.cci b/senf/Socket/Protocols/INet/INet6Address.cci index ea5b37b..f33454c 100644 --- a/senf/Socket/Protocols/INet/INet6Address.cci +++ b/senf/Socket/Protocols/INet/INet6Address.cci @@ -30,7 +30,7 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::INet6Address::INet6Address(senf::NoInit_t) {} @@ -201,7 +201,7 @@ prefix_ void senf::INet6Address::id(boost::uint64_t id) (*this)[15] = id ; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet6Network prefix_ senf::INet6Network::INet6Network() @@ -283,7 +283,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, INet6Network const & return os; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace senf::detail members prefix_ boost::uint8_t senf::detail::low_bits_mask(unsigned bits) @@ -291,7 +291,7 @@ prefix_ boost::uint8_t senf::detail::low_bits_mask(unsigned bits) return ((1< @@ -44,7 +44,7 @@ prefix_ senf::INet6Address senf::INet6Address::from_data(InputIterator i) return addr; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace senf::detail members template @@ -76,7 +76,7 @@ prefix_ ForwardIterator1 senf::detail::find_if_mask(unsigned bits, ForwardIterat return e1; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INet6Address.cti b/senf/Socket/Protocols/INet/INet6Address.cti index 608a581..d3a6bc3 100644 --- a/senf/Socket/Protocols/INet/INet6Address.cti +++ b/senf/Socket/Protocols/INet/INet6Address.cti @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN @@ -165,7 +165,7 @@ match(INet6Address const & addr) #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INet6Address.hh b/senf/Socket/Protocols/INet/INet6Address.hh index c22b280..54ea4a1 100644 --- a/senf/Socket/Protocols/INet/INet6Address.hh +++ b/senf/Socket/Protocols/INet/INet6Address.hh @@ -39,7 +39,7 @@ //#include "INet6Address.mpp" #include "INet6Address.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -131,7 +131,7 @@ namespace senf { public comparable_safe_bool { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types static INet6Address const None; ///< The empty (::0) address @@ -160,9 +160,9 @@ namespace senf { , UnassignedScope = 6 /**< Unassigned scope, may be defined locally */ }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit INet6Address(senf::NoInit_t); ///< Construct uninitialized (!) address explicit INet6Address(boost::uint16_t a0=0u, boost::uint16_t a1=0u, boost::uint16_t a2=0u, @@ -220,10 +220,10 @@ namespace senf { in6_addr toin6_addr() const; ///< get the linux in6_addr struct (convenience only) - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Accessors - ///@{ + //\{ INet6Network network() const; ///< Return /64 Network of this address bool hasEUI64() const; ///< \c true, if address is based on an EUID-64 @@ -279,14 +279,14 @@ namespace senf { bool boolean_test() const; ///< \c true, if address != '::' (None) - ///@} + //\} ///\name Mutators - ///@{ + //\{ void network(boost::uint64_t net); ///< Set network part of address void id(boost::uint64_t id); ///< Set interface id part of address - ///@} + //\} }; @@ -347,17 +347,17 @@ namespace senf { public comparable_safe_bool { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ INet6Network(); ///< Construct empty (::/0) network INet6Network(INet6Address const & address, unsigned prefix_len); ///< Construct network from given address and prefix length explicit INet6Network(std::string const & s); ///< Construct network from CIDR notation - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// INet6Address const & address() const; ///< Get the network address unsigned prefix_len() const; ///< Get the network prefix length @@ -407,7 +407,7 @@ namespace senf { std::istream & operator>>(std::istream & is, INet6Network & addr); } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "INet6Address.cci" #include "INet6Address.ct" #include "INet6Address.cti" diff --git a/senf/Socket/Protocols/INet/INet6Address.ih b/senf/Socket/Protocols/INet/INet6Address.ih index 2808186..b58ae60 100644 --- a/senf/Socket/Protocols/INet/INet6Address.ih +++ b/senf/Socket/Protocols/INet/INet6Address.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -196,7 +196,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Socket/Protocols/INet/INet6Address.test.cc b/senf/Socket/Protocols/INet/INet6Address.test.cc index 52b1289..3f39923 100644 --- a/senf/Socket/Protocols/INet/INet6Address.test.cc +++ b/senf/Socket/Protocols/INet/INet6Address.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(inet6Address) { @@ -223,7 +223,7 @@ SENF_AUTO_UNIT_TEST(inet6Network) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INetAddressing.cc b/senf/Socket/Protocols/INet/INetAddressing.cc index 21d0d81..fe9d648 100644 --- a/senf/Socket/Protocols/INet/INetAddressing.cc +++ b/senf/Socket/Protocols/INet/INetAddressing.cc @@ -39,9 +39,9 @@ //#include "INetAddressing.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4SocketAddress prefix_ senf::INet4SocketAddress::INet4SocketAddress(std::string const & addr) @@ -92,7 +92,7 @@ prefix_ std::istream & senf::operator>>(std::istream & is, INet4SocketAddress & return is; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet6SocketAddress prefix_ senf::INet6SocketAddress::INet6SocketAddress(std::string const & addr, @@ -173,7 +173,7 @@ prefix_ std::istream & senf::operator>>(std::istream & is, INet6SocketAddress & return is; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "INetAddressing.mpp" diff --git a/senf/Socket/Protocols/INet/INetAddressing.cci b/senf/Socket/Protocols/INet/INetAddressing.cci index 5561938..c59effb 100644 --- a/senf/Socket/Protocols/INet/INetAddressing.cci +++ b/senf/Socket/Protocols/INet/INetAddressing.cci @@ -28,9 +28,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4Address prefix_ senf::INet4SocketAddress::INet4SocketAddress() @@ -70,7 +70,7 @@ prefix_ void senf::INet4SocketAddress::port(unsigned p) addr_.sin_port = htons(p); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet6SocketAddress prefix_ senf::INet6SocketAddress::INet6SocketAddress() @@ -137,7 +137,7 @@ prefix_ void senf::INet6SocketAddress::iface(std::string const & iface) assignIface(iface); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INetAddressing.hh b/senf/Socket/Protocols/INet/INetAddressing.hh index afa942a..ea22baf 100644 --- a/senf/Socket/Protocols/INet/INetAddressing.hh +++ b/senf/Socket/Protocols/INet/INetAddressing.hh @@ -36,7 +36,7 @@ #include "INet6Address.hh" //#include "INetAddressing.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -56,9 +56,9 @@ namespace senf { public: static short const addressFamily = AF_INET; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ INet4SocketAddress(); explicit INet4SocketAddress(std::string const & addr); ///< Set address and port @@ -84,8 +84,8 @@ namespace senf { INet4SocketAddress(const INet4SocketAddress& other); INet4SocketAddress& operator=(const INet4SocketAddress& other); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// INet4Address address() const; ///< Return address unsigned port() const; ///< Return port number @@ -144,9 +144,9 @@ namespace senf { public: static short const addressFamily = AF_INET6; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ INet6SocketAddress(); ///< Create empty instance explicit INet6SocketAddress(std::string const & addr, @@ -174,8 +174,8 @@ namespace senf { INet6SocketAddress(const INet6SocketAddress& other); INet6SocketAddress& operator=(const INet6SocketAddress& other); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// INet6Address address() const; ///< Get printable address representation void address(INet6Address const & addr); ///< Change address @@ -206,7 +206,7 @@ namespace senf { std::istream & operator>>(std::istream & is, INet6SocketAddress & addr); /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief Addressing policy supporting IPv4 addressing @@ -256,11 +256,11 @@ namespace senf { using BSDAddressingPolicyMixin::bind; }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "INetAddressing.cci" //#include "INetAddressing.ct" //#include "INetAddressing.cti" diff --git a/senf/Socket/Protocols/INet/INetAddressing.test.cc b/senf/Socket/Protocols/INet/INetAddressing.test.cc index 29498ae..1db78af 100644 --- a/senf/Socket/Protocols/INet/INetAddressing.test.cc +++ b/senf/Socket/Protocols/INet/INetAddressing.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(inet4SocketAddress) { @@ -173,7 +173,7 @@ SENF_AUTO_UNIT_TEST(inet6SocketAddress) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/INetSocketProtocol.cc b/senf/Socket/Protocols/INet/INetSocketProtocol.cc index 8bd867e..deb3f59 100644 --- a/senf/Socket/Protocols/INet/INetSocketProtocol.cc +++ b/senf/Socket/Protocols/INet/INetSocketProtocol.cc @@ -34,9 +34,9 @@ //#include "INetSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INetSocketProtocol prefix_ void senf::INetSocketProtocol::bindInterface(std::string const & iface) @@ -57,13 +57,13 @@ prefix_ std::string senf::INetSocketProtocol::bindInterface() return iface; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::IPv4SocketProtocol -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::IPv6SocketProtocol -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "INetSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/INet/INetSocketProtocol.hh b/senf/Socket/Protocols/INet/INetSocketProtocol.hh index 863db0f..b989dae 100644 --- a/senf/Socket/Protocols/INet/INetSocketProtocol.hh +++ b/senf/Socket/Protocols/INet/INetSocketProtocol.hh @@ -37,12 +37,12 @@ #include //#include "INetSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Generic addressing type independent INet protocol facet */ @@ -68,11 +68,11 @@ namespace senf { \returns Bound interface name */ }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "INetSocketProtocol.cci" //#include "INetSocketProtocol.ct" //#include "INetSocketProtocol.cti" diff --git a/senf/Socket/Protocols/INet/MulticastSocketProtocol.cc b/senf/Socket/Protocols/INet/MulticastSocketProtocol.cc index 1b3f303..413d5c4 100644 --- a/senf/Socket/Protocols/INet/MulticastSocketProtocol.cc +++ b/senf/Socket/Protocols/INet/MulticastSocketProtocol.cc @@ -34,9 +34,9 @@ //#include "MulticastSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MulticastSocketProtocol prefix_ void senf::MulticastSocketProtocol::broadcastEnabled(bool v) @@ -106,7 +106,7 @@ prefix_ void senf::MulticastSocketProtocol::mcTTL(unsigned value) SENF_THROW_SYSTEM_EXCEPTION(""); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet4MulticastSocketProtocol prefix_ void senf::INet4MulticastSocketProtocol::mcAddMembership(INet4Address const & mcAddr) @@ -217,7 +217,7 @@ prefix_ void senf::INet4MulticastSocketProtocol::mcLeaveSSMSource(INet4Address c mc4SSMSourceRequest(MCAST_LEAVE_SOURCE_GROUP, fd(), group, source, iface); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::INet6MulticastSocketProtocol prefix_ void senf::INet6MulticastSocketProtocol::mcAddMembership(INet6Address const & mcAddr) @@ -368,7 +368,7 @@ prefix_ void senf::INet6MulticastSocketProtocol::mcLeaveSSMSource(INet6Address c } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "MulticastSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/INet/MulticastSocketProtocol.hh b/senf/Socket/Protocols/INet/MulticastSocketProtocol.hh index d55b229..4586ddd 100644 --- a/senf/Socket/Protocols/INet/MulticastSocketProtocol.hh +++ b/senf/Socket/Protocols/INet/MulticastSocketProtocol.hh @@ -32,12 +32,12 @@ #include "INet6Address.hh" //#include "MulticastSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { ///\addtogroup protocol_facets_group - ///\{ + //\{ /** \brief Generic addressing type independent multicast protocol facet @@ -224,10 +224,10 @@ namespace senf { \param[in] iface interface to leave the group on */ }; - ///\} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "MulticastSocketProtocol.cci" //#include "MulticastSocketProtocol.ct" //#include "MulticastSocketProtocol.cti" diff --git a/senf/Socket/Protocols/INet/MulticastSocketProtocol.test.cc b/senf/Socket/Protocols/INet/MulticastSocketProtocol.test.cc index d27e215..9eb2975 100644 --- a/senf/Socket/Protocols/INet/MulticastSocketProtocol.test.cc +++ b/senf/Socket/Protocols/INet/MulticastSocketProtocol.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(multicastSocketProtocol) { @@ -81,7 +81,7 @@ SENF_AUTO_UNIT_TEST(multicastSocketProtocol) // "lo") ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/RawINetSocketHandle.cc b/senf/Socket/Protocols/INet/RawINetSocketHandle.cc index 675ba10..784f6c2 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketHandle.cc +++ b/senf/Socket/Protocols/INet/RawINetSocketHandle.cc @@ -31,9 +31,9 @@ //#include "UDPSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::RawV4SocketProtocol prefix_ void senf::RawV4SocketProtocol::init_client() @@ -60,7 +60,7 @@ senf::RawV4SocketProtocol::init_client(int const & protocol, INet4SocketAddress clientHandle().bind(address); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::RawV6SocketProtocol:: prefix_ void senf::RawV6SocketProtocol::init_client() @@ -86,7 +86,7 @@ senf::RawV6SocketProtocol::init_client(int const & protocol, INet6SocketAddress clientHandle().bind(address); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "RawINetSocketHandle.mpp" diff --git a/senf/Socket/Protocols/INet/RawINetSocketHandle.hh b/senf/Socket/Protocols/INet/RawINetSocketHandle.hh index 78ec36c..9d15a45 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketHandle.hh +++ b/senf/Socket/Protocols/INet/RawINetSocketHandle.hh @@ -36,12 +36,12 @@ #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< INet4AddressingPolicy, @@ -86,11 +86,11 @@ namespace senf { public INet4MulticastSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket for IPPROTO_RAW /**< \note This member is implicitly called from the @@ -105,7 +105,7 @@ namespace senf { \param[in] protocol Layer 4 protocol to filter for / to send \param[in] address local address to bind to */ - ///@} + //\} }; typedef ProtocolClientSocketHandle RawV4ClientSocketHandle; @@ -113,7 +113,7 @@ namespace senf { -//////////////////////////////////////////////////////////////////// Raw IPv6 Socket ////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// typedef MakeSocketPolicy< INet6AddressingPolicy, DatagramFramingPolicy, @@ -157,11 +157,11 @@ namespace senf { public INet6MulticastSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket for IPPROTO_RAW /**< \note This member is implicitly called from the @@ -180,12 +180,12 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle RawV6ClientSocketHandle; - /// @} + //\} } diff --git a/senf/Socket/Protocols/INet/RawINetSocketHandle.test.cc b/senf/Socket/Protocols/INet/RawINetSocketHandle.test.cc index ccafb81..329c79f 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketHandle.test.cc +++ b/senf/Socket/Protocols/INet/RawINetSocketHandle.test.cc @@ -79,7 +79,7 @@ namespace { } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -196,7 +196,7 @@ SENF_AUTO_UNIT_TEST(RawV6ClientSocketHandle) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/RawINetSocketProtocol.cc b/senf/Socket/Protocols/INet/RawINetSocketProtocol.cc index cb68dfd..d13a223 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketProtocol.cc +++ b/senf/Socket/Protocols/INet/RawINetSocketProtocol.cc @@ -29,7 +29,7 @@ //#include "RawINetSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ unsigned senf::RawINetSocketProtocol::available() const @@ -46,7 +46,7 @@ prefix_ bool senf::RawINetSocketProtocol::eof() return false; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "RawINetSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/INet/RawINetSocketProtocol.hh b/senf/Socket/Protocols/INet/RawINetSocketProtocol.hh index b8af91c..2168204 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketProtocol.hh +++ b/senf/Socket/Protocols/INet/RawINetSocketProtocol.hh @@ -29,7 +29,7 @@ namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Protocol facet to support RAW operations upon IPv4/6 @@ -42,15 +42,15 @@ namespace senf { { public: ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; bool eof() const; - ///@} + //\} }; - /// @} + //\} } #endif /*HH_SENF_Socket_Protocols_INet_RawINetSocketProtocol_*/ diff --git a/senf/Socket/Protocols/INet/TCPSocketHandle.cc b/senf/Socket/Protocols/INet/TCPSocketHandle.cc index 17bdc11..ab11ad5 100644 --- a/senf/Socket/Protocols/INet/TCPSocketHandle.cc +++ b/senf/Socket/Protocols/INet/TCPSocketHandle.cc @@ -36,9 +36,9 @@ //#include "TCPSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::TCPv4SocketProtocol prefix_ void senf::TCPv4SocketProtocol::init_client() @@ -78,7 +78,7 @@ prefix_ void senf::TCPv4SocketProtocol::init_server(INet4SocketAddress const & a SENF_THROW_SYSTEM_EXCEPTION(""); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::TCPv6SocketProtocol:: prefix_ void senf::TCPv6SocketProtocol::init_client() @@ -118,7 +118,7 @@ prefix_ void senf::TCPv6SocketProtocol::init_server(INet6SocketAddress const & a SENF_THROW_SYSTEM_EXCEPTION(""); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "TCPSocketHandle.mpp" diff --git a/senf/Socket/Protocols/INet/TCPSocketHandle.hh b/senf/Socket/Protocols/INet/TCPSocketHandle.hh index f97db2e..fbd5dbe 100644 --- a/senf/Socket/Protocols/INet/TCPSocketHandle.hh +++ b/senf/Socket/Protocols/INet/TCPSocketHandle.hh @@ -42,12 +42,12 @@ #include //#include "TCPSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< INet4AddressingPolicy, @@ -85,11 +85,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -120,7 +120,7 @@ namespace senf { ProtocolServerSocketHandle::ProtocolServerSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle TCPv4ClientSocketHandle; @@ -159,11 +159,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -194,17 +194,17 @@ namespace senf { ProtocolServerSocketHandle::ProtocolServerSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle TCPv6ClientSocketHandle; typedef ProtocolServerSocketHandle TCPv6ServerSocketHandle; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TCPSocketHandle.cci" //#include "TCPSocketHandle.ct" //#include "TCPSocketHandle.cti" diff --git a/senf/Socket/Protocols/INet/TCPSocketHandle.test.cc b/senf/Socket/Protocols/INet/TCPSocketHandle.test.cc index e19e967..61d094f 100644 --- a/senf/Socket/Protocols/INet/TCPSocketHandle.test.cc +++ b/senf/Socket/Protocols/INet/TCPSocketHandle.test.cc @@ -41,9 +41,9 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -239,7 +239,7 @@ SENF_AUTO_UNIT_TEST(tcpv6ClientSocketHandle) } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -345,7 +345,7 @@ SENF_AUTO_UNIT_TEST(tcpv6ServerSocketHandle) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/TCPSocketProtocol.cc b/senf/Socket/Protocols/INet/TCPSocketProtocol.cc index beba0aa..bdbbdf5 100644 --- a/senf/Socket/Protocols/INet/TCPSocketProtocol.cc +++ b/senf/Socket/Protocols/INet/TCPSocketProtocol.cc @@ -36,7 +36,7 @@ //#include "TCPSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ bool senf::TCPSocketProtocol::nodelay() const @@ -100,7 +100,7 @@ prefix_ bool senf::TCPSocketProtocol::eof() } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "TCPSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/INet/TCPSocketProtocol.hh b/senf/Socket/Protocols/INet/TCPSocketProtocol.hh index 4c05a0d..fab5444 100644 --- a/senf/Socket/Protocols/INet/TCPSocketProtocol.hh +++ b/senf/Socket/Protocols/INet/TCPSocketProtocol.hh @@ -31,12 +31,12 @@ #include "INetSocketProtocol.hh" //#include "TCPSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Protocol facet to support TCP operations @@ -63,19 +63,19 @@ namespace senf { void shutdown(ShutType type) const; ///\name Abstract Interface Implementation - ///@{ + //\{ void close(); unsigned available() const; bool eof() const; - ///@} + //\} }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TCPSocketProtocol.cci" //#include "TCPSocketProtocol.ct" //#include "TCPSocketProtocol.cti" diff --git a/senf/Socket/Protocols/INet/UDPSocketHandle.cc b/senf/Socket/Protocols/INet/UDPSocketHandle.cc index bc0517b..35f2a70 100644 --- a/senf/Socket/Protocols/INet/UDPSocketHandle.cc +++ b/senf/Socket/Protocols/INet/UDPSocketHandle.cc @@ -36,9 +36,9 @@ //#include "UDPSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::UDPv4SocketProtocol prefix_ void senf::UDPv4SocketProtocol::init_client() @@ -59,7 +59,7 @@ senf::UDPv4SocketProtocol::init_client(INet4SocketAddress const & address) clientHandle().bind(address); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::UDPv6SocketProtocol:: prefix_ void senf::UDPv6SocketProtocol::init_client() @@ -79,7 +79,7 @@ senf::UDPv6SocketProtocol::init_client(INet6SocketAddress const & address) clientHandle().bind(address); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UDPSocketHandle.mpp" diff --git a/senf/Socket/Protocols/INet/UDPSocketHandle.hh b/senf/Socket/Protocols/INet/UDPSocketHandle.hh index 111d1ea..3002d1d 100644 --- a/senf/Socket/Protocols/INet/UDPSocketHandle.hh +++ b/senf/Socket/Protocols/INet/UDPSocketHandle.hh @@ -42,12 +42,12 @@ #include //#include "UDPSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< INet4AddressingPolicy, @@ -86,11 +86,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -105,7 +105,7 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; @@ -145,11 +145,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -164,16 +164,16 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle UDPv6ClientSocketHandle; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UDPSocketHandle.cci" //#include "UDPSocketHandle.ct" //#include "UDPSocketHandle.cti" diff --git a/senf/Socket/Protocols/INet/UDPSocketHandle.test.cc b/senf/Socket/Protocols/INet/UDPSocketHandle.test.cc index 1125ef8..fd55884 100644 --- a/senf/Socket/Protocols/INet/UDPSocketHandle.test.cc +++ b/senf/Socket/Protocols/INet/UDPSocketHandle.test.cc @@ -41,9 +41,9 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -125,7 +125,7 @@ SENF_AUTO_UNIT_TEST(udpv4ClientSocketHandle) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/UDPSocketProtocol.cc b/senf/Socket/Protocols/INet/UDPSocketProtocol.cc index 2985242..ab6ecfc 100644 --- a/senf/Socket/Protocols/INet/UDPSocketProtocol.cc +++ b/senf/Socket/Protocols/INet/UDPSocketProtocol.cc @@ -33,7 +33,7 @@ //#include "UDPSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ unsigned senf::UDPSocketProtocol::available() const @@ -50,7 +50,7 @@ prefix_ bool senf::UDPSocketProtocol::eof() return false; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UDPSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/INet/UDPSocketProtocol.hh b/senf/Socket/Protocols/INet/UDPSocketProtocol.hh index 6841c1d..59fa90b 100644 --- a/senf/Socket/Protocols/INet/UDPSocketProtocol.hh +++ b/senf/Socket/Protocols/INet/UDPSocketProtocol.hh @@ -31,12 +31,12 @@ #include "INetSocketProtocol.hh" //#include "UDPSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Protocol facet to support UDP operations @@ -48,18 +48,18 @@ namespace senf { { public: ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; bool eof() const; - ///@} + //\} }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UDPSocketProtocol.cci" //#include "UDPSocketProtocol.ct" //#include "UDPSocketProtocol.cti" diff --git a/senf/Socket/Protocols/INet/main.test.cc b/senf/Socket/Protocols/INet/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Socket/Protocols/INet/main.test.cc +++ b/senf/Socket/Protocols/INet/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/INet/net.test.hh b/senf/Socket/Protocols/INet/net.test.hh index 0f2c34c..ac014c7 100644 --- a/senf/Socket/Protocols/INet/net.test.hh +++ b/senf/Socket/Protocols/INet/net.test.hh @@ -31,7 +31,7 @@ #include //#include "net.test.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -100,7 +100,7 @@ namespace { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "net.test.cci" //#include "net.test.ct" //#include "net.test.cti" diff --git a/senf/Socket/Protocols/Raw/EUI64.cc b/senf/Socket/Protocols/Raw/EUI64.cc index 70b4df3..f3f3d68 100644 --- a/senf/Socket/Protocols/Raw/EUI64.cc +++ b/senf/Socket/Protocols/Raw/EUI64.cc @@ -33,7 +33,7 @@ //#include "EUI64.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// senf::EUI64 const senf::EUI64::None; @@ -73,7 +73,7 @@ prefix_ std::istream & senf::operator>>(std::istream & is, EUI64 & eui) return is; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "EUI64.mpp" diff --git a/senf/Socket/Protocols/Raw/EUI64.cci b/senf/Socket/Protocols/Raw/EUI64.cci index 4615506..221eef8 100644 --- a/senf/Socket/Protocols/Raw/EUI64.cci +++ b/senf/Socket/Protocols/Raw/EUI64.cci @@ -31,7 +31,7 @@ #include "MACAddress.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::EUI64::EUI64(boost::uint64_t v) { @@ -100,7 +100,7 @@ prefix_ boost::uint64_t senf::EUI64::uint64() | (boost::uint64_t((*this)[7]) ); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/EUI64.cti b/senf/Socket/Protocols/Raw/EUI64.cti index 0ca2283..83e744d 100644 --- a/senf/Socket/Protocols/Raw/EUI64.cti +++ b/senf/Socket/Protocols/Raw/EUI64.cti @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::EUI64 senf::EUI64::from_data(InputIterator i) @@ -39,7 +39,7 @@ prefix_ senf::EUI64 senf::EUI64::from_data(InputIterator i) return eui; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/EUI64.hh b/senf/Socket/Protocols/Raw/EUI64.hh index 1b0eacd..c76813d 100644 --- a/senf/Socket/Protocols/Raw/EUI64.hh +++ b/senf/Socket/Protocols/Raw/EUI64.hh @@ -34,7 +34,7 @@ #include //#include "EUI64.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -78,9 +78,9 @@ namespace senf { public senf::comparable_safe_bool { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static EUI64 const None; ///< The empty (0) address @@ -105,8 +105,8 @@ namespace senf { /**< The iterator \a i must point to a sequence of 8 octets in network byte order. */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// bool isMACCompatible() const; ///< \c true, if EUI64 is MAC compatible, \c false otherwise /**< An EUI64 is MAC compatible if bytes 4th and 5th byte @@ -134,7 +134,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "EUI64.cci" //#include "EUI64.ct" #include "EUI64.cti" diff --git a/senf/Socket/Protocols/Raw/EUI64.test.cc b/senf/Socket/Protocols/Raw/EUI64.test.cc index ae431d1..316109e 100644 --- a/senf/Socket/Protocols/Raw/EUI64.test.cc +++ b/senf/Socket/Protocols/Raw/EUI64.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(eui64) { @@ -85,7 +85,7 @@ SENF_AUTO_UNIT_TEST(eui64) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/LLAddressing.cc b/senf/Socket/Protocols/Raw/LLAddressing.cc index 8950b6e..2975e77 100644 --- a/senf/Socket/Protocols/Raw/LLAddressing.cc +++ b/senf/Socket/Protocols/Raw/LLAddressing.cc @@ -38,7 +38,7 @@ //#include "LLAddressing.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ std::string senf::LLSocketAddress::interface() const @@ -79,7 +79,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, LLSocketAddress const return os; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "LLAddressing.mpp" diff --git a/senf/Socket/Protocols/Raw/LLAddressing.cci b/senf/Socket/Protocols/Raw/LLAddressing.cci index 0431630..509cfbe 100644 --- a/senf/Socket/Protocols/Raw/LLAddressing.cci +++ b/senf/Socket/Protocols/Raw/LLAddressing.cci @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::LLSocketAddress::LLSocketAddress() : BSDSocketAddress (sizeof(sockaddr_ll), AF_PACKET) @@ -100,7 +100,7 @@ prefix_ void senf::LLSocketAddress::address(MACAddress const & addr) std::copy(addr.begin(), addr.end(), &addr_.sll_addr[0]); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/LLAddressing.hh b/senf/Socket/Protocols/Raw/LLAddressing.hh index d5e07ae..8117b36 100644 --- a/senf/Socket/Protocols/Raw/LLAddressing.hh +++ b/senf/Socket/Protocols/Raw/LLAddressing.hh @@ -36,12 +36,12 @@ //#include "LLAddressing.mpp" //#include "LLAddressing.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup addr_group - /// @{ + //\{ /** \brief Link local address @@ -71,9 +71,9 @@ namespace senf { , Outgoing = PACKET_OUTGOING /**< Packet sent out from this host */ }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ LLSocketAddress(); ///< Create empty address explicit LLSocketAddress(unsigned proto, std::string const & iface=""); @@ -104,8 +104,8 @@ namespace senf { LLSocketAddress(LLSocketAddress const & other); LLSocketAddress& operator=(LLSocketAddress const & other); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// MACAddress address() const; ///< Return address std::string interface() const; ///< Return interface name @@ -130,10 +130,10 @@ namespace senf { struct ::sockaddr_ll addr_; }; - /// @} + //\} /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief Addressing policy supporting link-local addressing @@ -158,7 +158,7 @@ namespace senf { using BSDAddressingPolicyMixin::bind; }; - /// @} + //\} /** \brief Write link layer address \related LLSocketAddress @@ -166,7 +166,7 @@ namespace senf { std::ostream & operator<<(std::ostream & os, LLSocketAddress const & llAddr); } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "LLAddressing.cci" //#include "LLAddressing.ct" //#include "LLAddressing.cti" diff --git a/senf/Socket/Protocols/Raw/LLAddressing.test.cc b/senf/Socket/Protocols/Raw/LLAddressing.test.cc index eb2e9fd..6d422e9 100644 --- a/senf/Socket/Protocols/Raw/LLAddressing.test.cc +++ b/senf/Socket/Protocols/Raw/LLAddressing.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(llAddress) { @@ -100,7 +100,7 @@ SENF_AUTO_UNIT_TEST(llAddress) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/MACAddress.cc b/senf/Socket/Protocols/Raw/MACAddress.cc index b992ce8..f420543 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.cc +++ b/senf/Socket/Protocols/Raw/MACAddress.cc @@ -37,9 +37,9 @@ //#include "MACAddress.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MACAddress prefix_ senf::MACAddress::MACAddress senf::MACAddress::from_string(std::string const & s) @@ -67,7 +67,7 @@ senf::MACAddress const senf::MACAddress::Broadcast = senf::MACAddress(0xFFFFFFFF senf::MACAddress const senf::MACAddress::None; -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace members prefix_ std::ostream & senf::operator<<(std::ostream & os, MACAddress const & mac) @@ -96,7 +96,7 @@ prefix_ std::istream & senf::operator>>(std::istream & is, MACAddress & mac) return is; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "MACAddress.mpp" diff --git a/senf/Socket/Protocols/Raw/MACAddress.cci b/senf/Socket/Protocols/Raw/MACAddress.cci index 0c1f94f..4772dec 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.cci +++ b/senf/Socket/Protocols/Raw/MACAddress.cci @@ -29,9 +29,9 @@ #include "EUI64.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MACAddress prefix_ senf::MACAddress::MACAddress() @@ -133,7 +133,7 @@ prefix_ bool senf::operator==(EUI64 const & eui64, MACAddress const & mac) return mac == eui64; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/MACAddress.ct b/senf/Socket/Protocols/Raw/MACAddress.ct index bea4f84..1238589 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.ct +++ b/senf/Socket/Protocols/Raw/MACAddress.ct @@ -29,9 +29,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::MACAddress template @@ -42,7 +42,7 @@ prefix_ senf::MACAddress::MACAddress senf::MACAddress::from_data(InputIterator i return mac; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/MACAddress.hh b/senf/Socket/Protocols/Raw/MACAddress.hh index 648cb69..d0d5932 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.hh +++ b/senf/Socket/Protocols/Raw/MACAddress.hh @@ -36,7 +36,7 @@ #include //#include "MACAddress.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -142,7 +142,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "MACAddress.cci" #include "MACAddress.ct" //#include "MACAddress.cti" diff --git a/senf/Socket/Protocols/Raw/MACAddress.test.cc b/senf/Socket/Protocols/Raw/MACAddress.test.cc index 571d167..5dbfb95 100644 --- a/senf/Socket/Protocols/Raw/MACAddress.test.cc +++ b/senf/Socket/Protocols/Raw/MACAddress.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(macAddress) { @@ -112,7 +112,7 @@ SENF_AUTO_UNIT_TEST(macAddress) BOOST_CHECK_EQUAL( senf::EUI64::from_mac(mac), mac ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/PacketSocketHandle.cc b/senf/Socket/Protocols/Raw/PacketSocketHandle.cc index f9728b3..a6a6e2a 100644 --- a/senf/Socket/Protocols/Raw/PacketSocketHandle.cc +++ b/senf/Socket/Protocols/Raw/PacketSocketHandle.cc @@ -38,7 +38,7 @@ //#include "PacketSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::PacketSocketProtocol::init_client(SocketType type, int protocol) const @@ -119,7 +119,7 @@ prefix_ void senf::PacketSocketProtocol::promisc(std::string const & interface, throw senf::SystemException(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "PacketSocketHandle.mpp" diff --git a/senf/Socket/Protocols/Raw/PacketSocketHandle.hh b/senf/Socket/Protocols/Raw/PacketSocketHandle.hh index 84476b4..c0f48ef 100644 --- a/senf/Socket/Protocols/Raw/PacketSocketHandle.hh +++ b/senf/Socket/Protocols/Raw/PacketSocketHandle.hh @@ -40,12 +40,12 @@ //#include "PacketSocketHandle.mpp" //#include "PacketSocketHandle.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< LLAddressingPolicy, @@ -84,7 +84,7 @@ namespace senf { ///< Socket types ///\name Constructors - ///@{ + //\{ void init_client(SocketType type = RawSocket, int protocol = -1) const; ///< Create packet socket /**< The new socket will receive all packets of the given @@ -105,10 +105,10 @@ namespace senf { /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} ///\name Protocol Interface - ///@{ + //\{ void mcAdd(std::string const & interface, MACAddress const & address) const; ///< Enable reception of a multicast group @@ -125,25 +125,25 @@ namespace senf { void promisc(std::string const & interface, bool mode) const; ///< enable/disable promiscuous mode - ///@} + //\} ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; bool eof() const; - ///@} + //\} }; typedef ProtocolClientSocketHandle PacketSocketHandle; ///< SocketHandle of the PacketSocketProtocol /**< \related PacketPrototol */ - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "PacketSocketHandle.cci" //#include "PacketSocketHandle.ct" //#include "PacketSocketHandle.cti" diff --git a/senf/Socket/Protocols/Raw/PacketSocketHandle.test.cc b/senf/Socket/Protocols/Raw/PacketSocketHandle.test.cc index 9f29b4d..4a78be5 100644 --- a/senf/Socket/Protocols/Raw/PacketSocketHandle.test.cc +++ b/senf/Socket/Protocols/Raw/PacketSocketHandle.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(packetSocketHandle) { @@ -69,7 +69,7 @@ SENF_AUTO_UNIT_TEST(packetSocketHandle) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/ParseString.ct b/senf/Socket/Protocols/Raw/ParseString.ct index 0ca7b4f..7ba28c9 100644 --- a/senf/Socket/Protocols/Raw/ParseString.ct +++ b/senf/Socket/Protocols/Raw/ParseString.ct @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void senf::detail::parseHexString(std::string const & value, @@ -59,7 +59,7 @@ prefix_ void senf::detail::parseHexString(std::string const & value, throw AddressSyntaxException(value); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/ParseString.hh b/senf/Socket/Protocols/Raw/ParseString.hh index 25dd76b..120c81a 100644 --- a/senf/Socket/Protocols/Raw/ParseString.hh +++ b/senf/Socket/Protocols/Raw/ParseString.hh @@ -29,7 +29,7 @@ // Custom includes //#include "ParseString.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -40,7 +40,7 @@ namespace detail { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ParseString.cci" #include "ParseString.ct" //#include "ParseString.cti" diff --git a/senf/Socket/Protocols/Raw/TunTapSocketHandle.cc b/senf/Socket/Protocols/Raw/TunTapSocketHandle.cc index 8dfe2f1..30fb141 100644 --- a/senf/Socket/Protocols/Raw/TunTapSocketHandle.cc +++ b/senf/Socket/Protocols/Raw/TunTapSocketHandle.cc @@ -37,7 +37,7 @@ //#include "TunTapSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::TapSocketProtocol::init_client() const @@ -110,7 +110,7 @@ prefix_ std::string senf::TapSocketProtocol::ifaceName() return std::string(buf); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "TunTapSocketHandle.mpp" diff --git a/senf/Socket/Protocols/Raw/TunTapSocketHandle.hh b/senf/Socket/Protocols/Raw/TunTapSocketHandle.hh index 0704b8e..ad44564 100644 --- a/senf/Socket/Protocols/Raw/TunTapSocketHandle.hh +++ b/senf/Socket/Protocols/Raw/TunTapSocketHandle.hh @@ -38,12 +38,12 @@ //#include "TunTapSocketHandle.mpp" //#include "TunTapSocketHandle.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< NoAddressingPolicy, @@ -80,7 +80,7 @@ namespace senf { { public: ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Open tap socket and create new tap interface /**< Opens the tun/tap socket and create a new tap interface Use \ref ifaceName() to get the actual name of the newly @@ -109,10 +109,10 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; bool eof() const; ///< returns always false. @@ -121,17 +121,17 @@ namespace senf { private: mutable unsigned int ifaceIndex_; - ///@} + //\} }; typedef ProtocolClientSocketHandle TapSocketHandle; ///< SocketHandle of TapSocketProtocol /**< \related TapSocketProtocol */ - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TunTapSocketHandle.cci" //#include "TunTapSocketHandle.ct" //#include "TunTapSocketHandle.cti" diff --git a/senf/Socket/Protocols/Raw/TunTapSocketHandle.test.cc b/senf/Socket/Protocols/Raw/TunTapSocketHandle.test.cc index f80f375..ba954b8 100644 --- a/senf/Socket/Protocols/Raw/TunTapSocketHandle.test.cc +++ b/senf/Socket/Protocols/Raw/TunTapSocketHandle.test.cc @@ -38,7 +38,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(tapSocketHandle) { @@ -56,7 +56,7 @@ SENF_AUTO_UNIT_TEST(tapSocketHandle) SENF_CHECK_NO_THROW( sock.bind(senf::LLSocketAddress("tap_unittest")) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/Raw/main.test.cc b/senf/Socket/Protocols/Raw/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Socket/Protocols/Raw/main.test.cc +++ b/senf/Socket/Protocols/Raw/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.cc b/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.cc index 95d39f0..bf45297 100644 --- a/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.cc +++ b/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.cc @@ -34,7 +34,7 @@ //#include "UNDatagramSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::ConnectedUNDatagramSocketProtocol::init_client() const { @@ -50,7 +50,7 @@ prefix_ void senf::ConnectedUNDatagramSocketProtocol::init_client(UNSocketAddres clientHandle().connect(address); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UNDatagramSocketHandle.mpp" diff --git a/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh b/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh index 957d1b8..a2be85a 100644 --- a/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh +++ b/senf/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh @@ -36,7 +36,7 @@ #include //#include "UNDatagramSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -49,7 +49,7 @@ namespace senf { >::policy ConnectedUNDatagramSocket_Policy; ///< Socket Policy of the Unix Domain Datagram Protocol (connected) /// \ingroup concrete_protocol_group - /// \{ + //\{ /** \brief Unix Domain Datagram Socket Protocol (connected) @@ -77,11 +77,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -96,16 +96,16 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle ConnectedUNDatagramClientSocketHandle; - ///\} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ConnectedUNDatagramSocketHandle.cci" //#include "ConnectedUNDatagramSocketHandle.ct" //#include "ConnectedUNDatagramSocketHandle.cti" diff --git a/senf/Socket/Protocols/UN/UNAddressing.cc b/senf/Socket/Protocols/UN/UNAddressing.cc index 7d23956..c7293b8 100644 --- a/senf/Socket/Protocols/UN/UNAddressing.cc +++ b/senf/Socket/Protocols/UN/UNAddressing.cc @@ -30,7 +30,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::UNSocketAddress::path(std::string const & path) { @@ -41,7 +41,7 @@ prefix_ void senf::UNSocketAddress::path(std::string const & path) addr_.sun_path[socklen()-sizeof(short)+1] = 0; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UNAddressing.mpp" diff --git a/senf/Socket/Protocols/UN/UNAddressing.cci b/senf/Socket/Protocols/UN/UNAddressing.cci index d0f11e6..2ef629d 100644 --- a/senf/Socket/Protocols/UN/UNAddressing.cci +++ b/senf/Socket/Protocols/UN/UNAddressing.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::UNSocketAddress prefix_ senf::UNSocketAddress::UNSocketAddress() @@ -66,7 +66,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, return os; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/UN/UNAddressing.hh b/senf/Socket/Protocols/UN/UNAddressing.hh index 81ba11e..fdff6b7 100644 --- a/senf/Socket/Protocols/UN/UNAddressing.hh +++ b/senf/Socket/Protocols/UN/UNAddressing.hh @@ -35,7 +35,7 @@ #include //#include "UNAddressing.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -79,7 +79,7 @@ namespace senf { std::ostream & operator<<(std::ostream & os, UNSocketAddress const & addr); /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief Addressing policy supporting unix domain addressing @@ -105,10 +105,10 @@ namespace senf { using BSDAddressingPolicyMixin::bind; }; - ///@} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "UNAddressing.cci" //#include "UNAddressing.ct" //#include "UNAddressing.cti" diff --git a/senf/Socket/Protocols/UN/UNAddressing.test.cc b/senf/Socket/Protocols/UN/UNAddressing.test.cc index d65c95f..fedb39b 100644 --- a/senf/Socket/Protocols/UN/UNAddressing.test.cc +++ b/senf/Socket/Protocols/UN/UNAddressing.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(UNSocketAddress) { @@ -58,7 +58,7 @@ SENF_AUTO_UNIT_TEST(UNSocketAddress) BOOST_CHECK_THROW( senf::UNSocketAddress(std::string(1024, 'x')), senf::AddressSyntaxException ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/UN/UNDatagramSocketHandle.cc b/senf/Socket/Protocols/UN/UNDatagramSocketHandle.cc index efe73fb..03faa56 100644 --- a/senf/Socket/Protocols/UN/UNDatagramSocketHandle.cc +++ b/senf/Socket/Protocols/UN/UNDatagramSocketHandle.cc @@ -35,7 +35,7 @@ //#include "UNDatagramSocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::UNDatagramSocketProtocol::init_client() const { @@ -51,7 +51,7 @@ prefix_ void senf::UNDatagramSocketProtocol::init_client(UNSocketAddress const & clientHandle().bind(address); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UNDatagramSocketHandle.mpp" diff --git a/senf/Socket/Protocols/UN/UNDatagramSocketHandle.hh b/senf/Socket/Protocols/UN/UNDatagramSocketHandle.hh index 206cccf..6f59735 100644 --- a/senf/Socket/Protocols/UN/UNDatagramSocketHandle.hh +++ b/senf/Socket/Protocols/UN/UNDatagramSocketHandle.hh @@ -36,12 +36,12 @@ #include //#include "UNDatagramSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< UNAddressingPolicy, @@ -77,11 +77,11 @@ namespace senf { public AddressableBSDSocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // internal interface ///\name Constructors - ///@{ + //\{ void init_client() const; ///< Create unconnected client socket /**< \note This member is implicitly called from the @@ -96,15 +96,15 @@ namespace senf { ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} }; typedef ProtocolClientSocketHandle UNDatagramClientSocketHandle; - ///@} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UNDatagramSocketHandle.cci" //#include "UNDatagramSocketHandle.ct" //#include "UNDatagramSocketHandle.cti" diff --git a/senf/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc b/senf/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc index 5e03b6b..9c0291c 100644 --- a/senf/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc +++ b/senf/Socket/Protocols/UN/UNDatagramSocketHandle.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(unDatagramSocketHandle) { @@ -67,7 +67,7 @@ SENF_AUTO_UNIT_TEST(unDatagramSocketHandle) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/UN/UNSocketProtocol.cc b/senf/Socket/Protocols/UN/UNSocketProtocol.cc index 88bca92..9dc3034 100644 --- a/senf/Socket/Protocols/UN/UNSocketProtocol.cc +++ b/senf/Socket/Protocols/UN/UNSocketProtocol.cc @@ -37,7 +37,7 @@ //#include "UNSocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ unsigned senf::UNSocketProtocol::available() const { @@ -81,7 +81,7 @@ prefix_ void senf::UNSocketProtocol::check_and_unlink() } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UNSocketProtocol.mpp" diff --git a/senf/Socket/Protocols/UN/UNSocketProtocol.hh b/senf/Socket/Protocols/UN/UNSocketProtocol.hh index 9207cea..2fc6c8b 100644 --- a/senf/Socket/Protocols/UN/UNSocketProtocol.hh +++ b/senf/Socket/Protocols/UN/UNSocketProtocol.hh @@ -30,12 +30,12 @@ #include //#include "UNSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Protocol facet providing Unix Domain Addressing related API @@ -57,7 +57,7 @@ namespace senf { block. Like the overriden method, this member will ignore failures and will never throw. It therefore safe to be called from a destructor. */ ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; bool eof() const; @@ -68,10 +68,10 @@ namespace senf { std::string path_; }; - ///@} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UNSocketProtocol.cci" //#include "UNSocketProtocol.ct" //#include "UNSocketProtocol.cti" diff --git a/senf/Socket/Protocols/UN/UNSocketProtocol.test.cc b/senf/Socket/Protocols/UN/UNSocketProtocol.test.cc index 5ab4477..01a3817 100644 --- a/senf/Socket/Protocols/UN/UNSocketProtocol.test.cc +++ b/senf/Socket/Protocols/UN/UNSocketProtocol.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(unProtocol) { @@ -42,7 +42,7 @@ SENF_AUTO_UNIT_TEST(unProtocol) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/UN/main.test.cc b/senf/Socket/Protocols/UN/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Socket/Protocols/UN/main.test.cc +++ b/senf/Socket/Protocols/UN/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/Protocols/main.test.cc b/senf/Socket/Protocols/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Socket/Protocols/main.test.cc +++ b/senf/Socket/Protocols/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ReadWritePolicy.cc b/senf/Socket/ReadWritePolicy.cc index 64dd850..c0a9343 100644 --- a/senf/Socket/ReadWritePolicy.cc +++ b/senf/Socket/ReadWritePolicy.cc @@ -36,7 +36,7 @@ //#include "ReadWritePolicy.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ unsigned senf::ReadablePolicy::read(FileHandle & handle, char * buffer, unsigned size) @@ -133,7 +133,7 @@ prefix_ unsigned senf::WriteablePolicy::do_writeto(FileHandle & handle, return rv; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ReadWritePolicy.mpp" diff --git a/senf/Socket/ReadWritePolicy.cti b/senf/Socket/ReadWritePolicy.cti index 0227184..19b57a3 100644 --- a/senf/Socket/ReadWritePolicy.cti +++ b/senf/Socket/ReadWritePolicy.cti @@ -29,7 +29,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN template @@ -82,7 +82,7 @@ writeto(ClientSocketHandle & handle, {} #endif -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ReadWritePolicy.hh b/senf/Socket/ReadWritePolicy.hh index f3faf27..903bc29 100644 --- a/senf/Socket/ReadWritePolicy.hh +++ b/senf/Socket/ReadWritePolicy.hh @@ -35,7 +35,7 @@ #include "CommunicationPolicy.hh" //#include "ReadWritePolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// struct sockaddr; @@ -43,7 +43,7 @@ struct sockaddr; namespace senf { /// \addtogroup policy_impl_group - /// @{ + //\{ /** \brief ReadPolicy for readable sockets @@ -158,12 +158,12 @@ namespace senf { struct NotWriteablePolicy : public WritePolicyBase {}; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ReadWritePolicy.cci" //#include "ReadWritePolicy.ct" #include "ReadWritePolicy.cti" diff --git a/senf/Socket/ServerSocketHandle.cti b/senf/Socket/ServerSocketHandle.cti index 34b850b..c806c0b 100644 --- a/senf/Socket/ServerSocketHandle.cti +++ b/senf/Socket/ServerSocketHandle.cti @@ -32,7 +32,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ServerSocketHandle::ServerSocketHandle() @@ -61,7 +61,7 @@ senf::ServerSocketHandle::operator=(ServerSocketHandle oth return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Server socket interface template @@ -118,7 +118,7 @@ senf::ServerSocketHandle::acceptfrom(Address & addr) SPolicy::CommunicationPolicy::accept(*this,addr), false)); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::ServerSocketHandle::ServerSocketHandle(FileHandle other, @@ -162,7 +162,7 @@ prefix_ std::string senf::ServerSocketHandle::dumpState(unsigned lod) return detail::dumpState(map); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/ServerSocketHandle.hh b/senf/Socket/ServerSocketHandle.hh index cfac27f..db1f945 100644 --- a/senf/Socket/ServerSocketHandle.hh +++ b/senf/Socket/ServerSocketHandle.hh @@ -32,12 +32,12 @@ #include "SocketHandle.hh" //#include "ServerSocketHandle.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup handle_group - /// @{ + //\{ template class ClientSocketHandle; @@ -74,7 +74,7 @@ namespace senf { : public SocketHandle { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types /// Address type from the addressing policy @@ -89,9 +89,9 @@ namespace senf { /// Corresponding client socket handle with the same policy typedef ClientSocketHandle ClientHandle; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default default constructor // default copy constructor @@ -110,12 +110,12 @@ namespace senf { typename SocketHandle::template IsCompatible::type const & operator=(ServerSocketHandle other); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Server socket interface - ///@{ + //\{ /** \brief Set local address @@ -184,7 +184,7 @@ namespace senf { \returns handle of new client connection \see \ref accept() */ - ///@} + //\} static ServerSocketHandle cast_static(FileHandle handle); static ServerSocketHandle cast_dynamic(FileHandle handle); @@ -201,10 +201,10 @@ namespace senf { }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "ServerSocketHandle.cci" //#include "ServerSocketHandle.ct" #include "ServerSocketHandle.cti" diff --git a/senf/Socket/ServerSocketHandle.test.cc b/senf/Socket/ServerSocketHandle.test.cc index bacb7ac..2f3acad 100644 --- a/senf/Socket/ServerSocketHandle.test.cc +++ b/senf/Socket/ServerSocketHandle.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -92,7 +92,7 @@ SENF_AUTO_UNIT_TEST(serverSocketHandle) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketHandle.cc b/senf/Socket/SocketHandle.cc index 517ee9e..3955d5b 100644 --- a/senf/Socket/SocketHandle.cc +++ b/senf/Socket/SocketHandle.cc @@ -34,9 +34,9 @@ //#include "SocketHandle.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SocketBody prefix_ void senf::SocketBody::state(SocketStateMap & map, unsigned lod) @@ -65,7 +65,7 @@ prefix_ bool senf::SocketBody::v_eof() return protocol().eof(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::StateMapOrdering namespace { @@ -88,7 +88,7 @@ prefix_ std::string senf::detail::dumpState(SocketStateMap const & map) return s.str(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "SocketHandle.mpp" diff --git a/senf/Socket/SocketHandle.cci b/senf/Socket/SocketHandle.cci index 984b0a6..e28ade4 100644 --- a/senf/Socket/SocketHandle.cci +++ b/senf/Socket/SocketHandle.cci @@ -31,7 +31,7 @@ #include "SocketProtocol.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::SocketBody::SocketBody(bool isServer) : isServer_(isServer) @@ -64,7 +64,7 @@ prefix_ std::auto_ptr senf::SocketBody::clone(int fd, bool isS return protocol().clone(fd, isServer); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::StreamableString prefix_ senf::detail::StreamableString & senf::detail::StreamableString::operator<<(bool v) @@ -72,7 +72,7 @@ prefix_ senf::detail::StreamableString & senf::detail::StreamableString::operato return (*this) << std::string(v ? "true" : "false"); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketHandle.ct b/senf/Socket/SocketHandle.ct index e8c362c..650b975 100644 --- a/senf/Socket/SocketHandle.ct +++ b/senf/Socket/SocketHandle.ct @@ -31,9 +31,9 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::StreamableString template @@ -46,7 +46,7 @@ senf::detail::StreamableString::operator<<(T const & other) return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ProtocolSocketBody template @@ -63,7 +63,7 @@ prefix_ std::string senf::ProtocolSocketBody::v_protocolName() return senf::prettyName(typeid(SProtocol)); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketHandle.cti b/senf/Socket/SocketHandle.cti index 63db515..861e6a8 100644 --- a/senf/Socket/SocketHandle.cti +++ b/senf/Socket/SocketHandle.cti @@ -32,9 +32,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SocketHandle template @@ -205,7 +205,7 @@ prefix_ Facet & senf::SocketHandle::facet() SENF_WRAP_EXC(std::bad_cast) } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ProtocolSocketBody template @@ -218,7 +218,7 @@ prefix_ senf::ProtocolSocketBody::ProtocolSocketBody(bool isServer, i : SocketBody(isServer, fd) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ std::ostream & senf::operator<<(std::ostream & os, SocketHandle handle) @@ -227,7 +227,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, SocketHandle return os; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketHandle.hh b/senf/Socket/SocketHandle.hh index 843f470..4a126c0 100644 --- a/senf/Socket/SocketHandle.hh +++ b/senf/Socket/SocketHandle.hh @@ -35,12 +35,12 @@ #include "FileHandle.hh" #include "SocketPolicy.hh" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup handle_group - /// @{ + //\{ /** \brief basic SocketHandle supporting protocol and policy abstraction @@ -70,7 +70,7 @@ namespace senf { : public FileHandle { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef SPolicy Policy; @@ -86,9 +86,9 @@ namespace senf { : public boost::enable_if< SocketPolicyIsBaseOf, SocketHandle > {}; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ // default default constructor // default copy constructor @@ -106,8 +106,8 @@ namespace senf { ///< Convert from other socket handle checking policy ///< compatibility - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// template typename IsCompatible::type const & operator=(SocketHandle other); @@ -259,10 +259,10 @@ namespace senf { template bool check_socket_cast(Source handle); - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SocketHandle.cci" #include "SocketHandle.ct" #include "SocketHandle.cti" diff --git a/senf/Socket/SocketHandle.ih b/senf/Socket/SocketHandle.ih index 3871c52..da397be 100644 --- a/senf/Socket/SocketHandle.ih +++ b/senf/Socket/SocketHandle.ih @@ -33,7 +33,7 @@ #include #include "FileHandle.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -100,14 +100,14 @@ namespace senf { : public FileBody { public: - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Types typedef boost::intrusive_ptr ptr; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ SocketBody(bool isServer); /**< \param isServer \c true, if this socket is a server socket, false otherwise */ @@ -119,8 +119,8 @@ namespace senf { // no copy // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-///////////////////////////////////////////////////////////////////////////////////////// SocketProtocol & protocol() const; ///< Access the protocol instance @@ -184,7 +184,7 @@ namespace senf { } -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Socket/SocketHandle.test.cc b/senf/Socket/SocketHandle.test.cc index 419e453..bc674e1 100644 --- a/senf/Socket/SocketHandle.test.cc +++ b/senf/Socket/SocketHandle.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -111,7 +111,7 @@ SENF_AUTO_UNIT_TEST(socketHandle) BOOST_CHECK( senf::test::SomeSocketProtocol::closeCount() >= 1u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketPolicy.cc b/senf/Socket/SocketPolicy.cc index 582c4e2..8200b52 100644 --- a/senf/Socket/SocketPolicy.cc +++ b/senf/Socket/SocketPolicy.cc @@ -30,7 +30,7 @@ //#include "SocketPolicy.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::AddressingPolicyBase::~AddressingPolicyBase() {} @@ -50,7 +50,7 @@ prefix_ senf::WritePolicyBase::~WritePolicyBase() prefix_ senf::SocketPolicyBase::~SocketPolicyBase() {} -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "SocketPolicy.mpp" diff --git a/senf/Socket/SocketPolicy.ct b/senf/Socket/SocketPolicy.ct index 3abbe54..1f88626 100644 --- a/senf/Socket/SocketPolicy.ct +++ b/senf/Socket/SocketPolicy.ct @@ -31,7 +31,7 @@ #include "senf/Utils/IgnoreValue.hh" #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #define SP_TemplateArgs(x1,x2,n,SomePolicy) BOOST_PP_COMMA_IF(n) class BOOST_PP_CAT(SomePolicy,_) #define SP_TemplateParams(x1,x2,n,SomePolicy) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(SomePolicy,_) @@ -59,7 +59,7 @@ checkBaseOf(SocketPolicyBase const & other) #undef SP_TemplateArgs #undef SP_TemplateParams -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketPolicy.hh b/senf/Socket/SocketPolicy.hh index 0b24017..4494691 100644 --- a/senf/Socket/SocketPolicy.hh +++ b/senf/Socket/SocketPolicy.hh @@ -234,12 +234,12 @@ // Custom includes //#include "SocketPolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup policy_group - /// @{ + //\{ // This may be adapted to change the supported policies (however, ClientSocketHandle and // ServerSocketHandle will probably have to be adjusted accordingly) @@ -521,10 +521,10 @@ namespace senf { # endif - /// @} + //\} } -//////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SocketPolicy.ih" //#include "SocketPolicy.cci" #include "SocketPolicy.ct" diff --git a/senf/Socket/SocketPolicy.ih b/senf/Socket/SocketPolicy.ih index c6bd54a..a6e0dbd 100644 --- a/senf/Socket/SocketPolicy.ih +++ b/senf/Socket/SocketPolicy.ih @@ -53,7 +53,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /// \cond disabled // Hide this code from doxygen @@ -248,7 +248,7 @@ namespace impl { /// \endcond -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Socket/SocketPolicy.test.cc b/senf/Socket/SocketPolicy.test.cc index 26f7358..3991c5a 100644 --- a/senf/Socket/SocketPolicy.test.cc +++ b/senf/Socket/SocketPolicy.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// using namespace senf; @@ -137,7 +137,7 @@ SENF_AUTO_UNIT_TEST(socketPolicy) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketPolicy.test.hh b/senf/Socket/SocketPolicy.test.hh index 8dd46d1..67609f4 100644 --- a/senf/Socket/SocketPolicy.test.hh +++ b/senf/Socket/SocketPolicy.test.hh @@ -28,7 +28,7 @@ #include "FileHandle.hh" //#include "SocketPolicy.test.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace test { @@ -103,7 +103,7 @@ namespace test { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "SocketPolicy.test.cci" //#include "SocketPolicy.test.ct" //#include "SocketPolicy.test.cti" diff --git a/senf/Socket/SocketProtocol.cc b/senf/Socket/SocketProtocol.cc index 3a1fac5..e4303bc 100644 --- a/senf/Socket/SocketProtocol.cc +++ b/senf/Socket/SocketProtocol.cc @@ -32,7 +32,7 @@ //#include "SocketProtocol.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::SocketProtocol::close() { @@ -59,7 +59,7 @@ prefix_ void senf::SocketProtocol::state(SocketStateMap & map, unsigned lod) const {} -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "SocketProtocol.mpp" diff --git a/senf/Socket/SocketProtocol.cci b/senf/Socket/SocketProtocol.cci index da7889c..924c045 100644 --- a/senf/Socket/SocketProtocol.cci +++ b/senf/Socket/SocketProtocol.cci @@ -30,9 +30,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SocketProtocol prefix_ senf::FileHandle senf::SocketProtocol::fh() @@ -60,7 +60,7 @@ prefix_ senf::SocketProtocol::SocketProtocol() prefix_ senf::SocketProtocol::~SocketProtocol() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketProtocol.cti b/senf/Socket/SocketProtocol.cti index 3063872..a01bfe5 100644 --- a/senf/Socket/SocketProtocol.cti +++ b/senf/Socket/SocketProtocol.cti @@ -30,9 +30,9 @@ #include "SocketHandle.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ConcreteSocketProtocol template @@ -71,7 +71,7 @@ prefix_ senf::SocketBody & senf::ConcreteSocketProtocol::body static_cast< ProtocolSocketBody const & >(*this)); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members template @@ -90,7 +90,7 @@ senf::ConcreteSocketProtocol::serverHandle() return static_socket_cast< ServerSocketHandle >(fh()); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketProtocol.hh b/senf/Socket/SocketProtocol.hh index 6092ccc..b119393 100644 --- a/senf/Socket/SocketProtocol.hh +++ b/senf/Socket/SocketProtocol.hh @@ -87,12 +87,12 @@ #include "SocketHandle.ih" //#include "SocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_group - /// @{ + //\{ class SocketPolicyBase; @@ -107,12 +107,12 @@ namespace senf { : boost::noncopyable { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ SocketProtocol(); virtual ~SocketProtocol() = 0; @@ -121,13 +121,13 @@ namespace senf { // no copy // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// virtual SocketPolicyBase const & policy() const = 0; ///< Access the policy instance - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Virtual interface virtual unsigned available() const = 0; @@ -264,14 +264,14 @@ namespace senf { : public virtual SocketProtocol { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef SocketPolicy Policy; ///< The protocols policy - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ ~ConcreteSocketProtocol() = 0; @@ -279,8 +279,8 @@ namespace senf { // no copy // no conversion constructors - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// Policy const & policy() const; @@ -302,10 +302,10 @@ namespace senf { Policy policy_; }; - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SocketProtocol.cci" //#include "SocketProtocol.ct" #include "SocketProtocol.cti" diff --git a/senf/Socket/SocketProtocol.test.cc b/senf/Socket/SocketProtocol.test.cc index 70f8f99..7da458e 100644 --- a/senf/Socket/SocketProtocol.test.cc +++ b/senf/Socket/SocketProtocol.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(socketProtocol) { @@ -48,7 +48,7 @@ SENF_AUTO_UNIT_TEST(socketProtocol) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Socket/SocketProtocol.test.hh b/senf/Socket/SocketProtocol.test.hh index d03e6df..a396cf9 100644 --- a/senf/Socket/SocketProtocol.test.hh +++ b/senf/Socket/SocketProtocol.test.hh @@ -29,7 +29,7 @@ #include "ProtocolClientSocketHandle.hh" //#include "SocketProtocol.test.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace test { @@ -61,7 +61,7 @@ namespace test { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "SocketProtocol.test.cci" //#include "SocketProtocol.test.ct" //#include "SocketProtocol.test.cti" diff --git a/senf/Socket/main.test.cc b/senf/Socket/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Socket/main.test.cc +++ b/senf/Socket/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Backtrace.cc b/senf/Utils/Backtrace.cc index eddd222..9312f55 100644 --- a/senf/Utils/Backtrace.cc +++ b/senf/Utils/Backtrace.cc @@ -36,7 +36,7 @@ //#include "Backtrace.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::formatBacktrace(std::ostream & os, void ** backtrace, unsigned numEntries) { @@ -90,7 +90,7 @@ prefix_ void senf::backtrace(std::ostream & os, unsigned numEntries) #endif } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Backtrace.mpp" diff --git a/senf/Utils/Backtrace.hh b/senf/Utils/Backtrace.hh index adb5565..f1d59f7 100644 --- a/senf/Utils/Backtrace.hh +++ b/senf/Utils/Backtrace.hh @@ -30,7 +30,7 @@ #include //#include "Backtrace.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /** \defgroup backtraces Backtrace formatting and parsing @@ -58,7 +58,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Backtrace.cci" //#include "Backtrace.ct" //#include "Backtrace.cti" diff --git a/senf/Utils/Beeper.cc b/senf/Utils/Beeper.cc index 4b6a6cc..72b1758 100644 --- a/senf/Utils/Beeper.cc +++ b/senf/Utils/Beeper.cc @@ -33,9 +33,9 @@ #include "Exception.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Beeper prefix_ senf::Beeper::Beeper(std::string const & device) @@ -91,7 +91,7 @@ prefix_ void senf::Beeper::timeout() } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Beeper.cci b/senf/Utils/Beeper.cci index ef6c05e..ee4c4ef 100644 --- a/senf/Utils/Beeper.cci +++ b/senf/Utils/Beeper.cci @@ -28,9 +28,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Beeper prefix_ bool senf::Beeper::start_beep(float freq) @@ -43,7 +43,7 @@ prefix_ void senf::Beeper::stop_beep() ::ioctl(fd_, KIOCSOUND, 0); } -///////////////////////////////cci.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Beeper.hh b/senf/Utils/Beeper.hh index 072a9d7..b0b8aa0 100644 --- a/senf/Utils/Beeper.hh +++ b/senf/Utils/Beeper.hh @@ -30,7 +30,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -94,7 +94,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Beeper.cci" //#include "Beeper.ct" //#include "Beeper.cti" diff --git a/senf/Utils/Beeper.test.cc b/senf/Utils/Beeper.test.cc index 02318de..960a1fd 100644 --- a/senf/Utils/Beeper.test.cc +++ b/senf/Utils/Beeper.test.cc @@ -31,7 +31,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(beep_beep) { @@ -54,7 +54,7 @@ SENF_AUTO_UNIT_TEST(beep_beep) senf::scheduler::process(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Buffer.hh b/senf/Utils/Buffer.hh index ad4906c..7414029 100644 --- a/senf/Utils/Buffer.hh +++ b/senf/Utils/Buffer.hh @@ -30,7 +30,7 @@ #include //#include "Buffer.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #if defined(SENF_BUFFER_USE_LOCALS) @@ -82,7 +82,7 @@ #endif -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Buffer.cci" //#include "Buffer.ct" //#include "Buffer.cti" diff --git a/senf/Utils/Buffer.test.cc b/senf/Utils/Buffer.test.cc index 196a469..eb9d052 100644 --- a/senf/Utils/Buffer.test.cc +++ b/senf/Utils/Buffer.test.cc @@ -35,7 +35,7 @@ #include "senf/Utils/IgnoreValue.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(buffer) { @@ -48,7 +48,7 @@ SENF_AUTO_UNIT_TEST(buffer) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Config.cc b/senf/Utils/Console/Config.cc index 7205521..a457072 100644 --- a/senf/Utils/Console/Config.cc +++ b/senf/Utils/Console/Config.cc @@ -31,9 +31,9 @@ //#include "Config.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::RestrictedExecutor prefix_ senf::console::detail::RestrictedExecutor::RestrictedExecutor(DirectoryNode & root) @@ -109,7 +109,7 @@ senf::console::detail::RestrictedExecutor::insertParsedNode(DirectoryNode & node parsedNodes_.push_back(node.thisptr()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConfigBundle prefix_ void senf::console::ConfigBundle::parse() @@ -131,7 +131,7 @@ prefix_ void senf::console::ConfigBundle::parseInternal() (*i)->parse(executor_); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::RestrictedExecutor::RestrictGuard prefix_ senf::console::detail::RestrictedExecutor::RestrictGuard:: @@ -158,13 +158,13 @@ prefix_ senf::console::detail::RestrictedExecutor::RestrictGuard::~RestrictGuard executor_.restrict_ = senf::console::root().thisptr(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ConfigSource prefix_ senf::console::detail::ConfigSource::~ConfigSource() {} -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Config.mpp" diff --git a/senf/Utils/Console/Config.cci b/senf/Utils/Console/Config.cci index 1346d41..77c9c9a 100644 --- a/senf/Utils/Console/Config.cci +++ b/senf/Utils/Console/Config.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::RestrictedExecutor prefix_ bool senf::console::detail::RestrictedExecutor::complete() @@ -62,7 +62,7 @@ prefix_ std::ostream & senf::console::detail::RestrictedExecutor::stream() return stream_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConfigBundle prefix_ senf::console::ConfigBundle::ConfigBundle() @@ -100,7 +100,7 @@ prefix_ void senf::console::ConfigBundle::chroot(DirectoryNode & node) executor_.chroot(node); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ConfigSource prefix_ void senf::console::detail::ConfigSource::parse(RestrictedExecutor & executor) @@ -108,7 +108,7 @@ prefix_ void senf::console::detail::ConfigSource::parse(RestrictedExecutor & exe v_parse(executor); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::BundleMixin prefix_ senf::console::detail::BundleMixin::BundleMixin() @@ -145,7 +145,7 @@ prefix_ void senf::console::detail::BundleMixin::reset() bundle_.reset(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Config.cti b/senf/Utils/Console/Config.cti index 735f1a3..cc71215 100644 --- a/senf/Utils/Console/Config.cti +++ b/senf/Utils/Console/Config.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConfigBundle template @@ -40,7 +40,7 @@ prefix_ Source & senf::console::ConfigBundle::add(boost::intrusive_ptr s return *source; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::BundleMixin template @@ -49,7 +49,7 @@ prefix_ Source & senf::console::detail::BundleMixin::add(boost::intrusive_ptr Source & add(boost::intrusive_ptr source); @@ -141,7 +141,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Config.cci" //#include "Config.ct" #include "Config.cti" diff --git a/senf/Utils/Console/Config.ih b/senf/Utils/Console/Config.ih index d5cc2aa..ebc0983 100644 --- a/senf/Utils/Console/Config.ih +++ b/senf/Utils/Console/Config.ih @@ -33,7 +33,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -50,14 +50,14 @@ namespace detail { public: typedef void result_type; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// //\/name Structors and default members - ///\{ + //\{ RestrictedExecutor(DirectoryNode & root = senf::console::root()); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-///////////////////////////////////////////////////////////////////////////////////////// void execute(std::ostream & output, ParseCommandInfo const & command); ///< Execute command @@ -109,16 +109,16 @@ namespace detail { class RestrictedExecutor::RestrictGuard { public: - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// //\/name Structors and default members - ///\{ + //\{ explicit RestrictGuard(RestrictedExecutor & executor); RestrictGuard(RestrictedExecutor & executor, DirectoryNode & restrict); ~RestrictGuard(); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-///////////////////////////////////////////////////////////////////////////////////////// protected: @@ -149,7 +149,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Config.test.cc b/senf/Utils/Console/Config.test.cc index b14b19e..680aafa 100644 --- a/senf/Utils/Console/Config.test.cc +++ b/senf/Utils/Console/Config.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { std::string val1; @@ -111,7 +111,7 @@ SENF_AUTO_UNIT_TEST(configBundle) BOOST_CHECK_EQUAL( val2, true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ConfigFile.cc b/senf/Utils/Console/ConfigFile.cc index 257c295..00452d4 100644 --- a/senf/Utils/Console/ConfigFile.cc +++ b/senf/Utils/Console/ConfigFile.cc @@ -31,9 +31,9 @@ //#include "ConfigFile.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ConfigFileSource #ifndef DOXYGEN @@ -51,7 +51,7 @@ prefix_ void senf::console::detail::ConfigFileSource::v_parse(RestrictedExecutor } #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::console::parseFile(std::string const & filename, DirectoryNode & root) { @@ -59,7 +59,7 @@ prefix_ void senf::console::parseFile(std::string const & filename, DirectoryNod cfg.parse(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ConfigFile.mpp" diff --git a/senf/Utils/Console/ConfigFile.cci b/senf/Utils/Console/ConfigFile.cci index 8872baf..a187849 100644 --- a/senf/Utils/Console/ConfigFile.cci +++ b/senf/Utils/Console/ConfigFile.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ConfigFileSource #ifndef DOXYGEN @@ -52,7 +52,7 @@ prefix_ senf::console::detail::ConfigFileSource::ConfigFileSource(std::string co {} #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConfigFile prefix_ senf::console::ConfigFile::ConfigFile(std::string const & filename, @@ -65,7 +65,7 @@ prefix_ void senf::console::ConfigFile::ignoreMissing() self_.ignoreMissing(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::detail::ConfigFileSource::ptr senf::console::FileConfig(std::string const & filename) @@ -73,7 +73,7 @@ senf::console::FileConfig(std::string const & filename) return detail::ConfigFileSource::create(filename); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ConfigFile.hh b/senf/Utils/Console/ConfigFile.hh index 82e00fe..eedda90 100644 --- a/senf/Utils/Console/ConfigFile.hh +++ b/senf/Utils/Console/ConfigFile.hh @@ -31,7 +31,7 @@ //#include "ConfigFile.mpp" #include "ConfigFile.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -61,9 +61,9 @@ namespace console { : public detail::BundleMixin { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit ConfigFile(std::string const & filename, DirectoryNode & root = root()); ///< Create ConfigFile object for \a filename @@ -71,8 +71,8 @@ namespace console { parse() calls. All configuration statements will be interpreted relative to \a root as root node. */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void ignoreMissing(); ///< Call to ignore missing files @@ -102,7 +102,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ConfigFile.cci" //#include "ConfigFile.ct" //#include "ConfigFile.cti" diff --git a/senf/Utils/Console/ConfigFile.ih b/senf/Utils/Console/ConfigFile.ih index 8710eb7..4b54c25 100644 --- a/senf/Utils/Console/ConfigFile.ih +++ b/senf/Utils/Console/ConfigFile.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -59,7 +59,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/ConfigFile.test.cc b/senf/Utils/Console/ConfigFile.test.cc index aa24e01..27835bf 100644 --- a/senf/Utils/Console/ConfigFile.test.cc +++ b/senf/Utils/Console/ConfigFile.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -232,7 +232,7 @@ SENF_AUTO_UNIT_TEST(configRestrictAndLink) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Console.hh b/senf/Utils/Console/Console.hh index 6679f69..a6b71e8 100644 --- a/senf/Utils/Console/Console.hh +++ b/senf/Utils/Console/Console.hh @@ -29,7 +29,7 @@ // Custom includes //#include "Console.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Server.hh" #include "ParsedCommand.hh" @@ -44,7 +44,7 @@ #include "UDPServer.hh" #include "Utility.hh" -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Console.cci" //#include "Console.ct" //#include "Console.cti" diff --git a/senf/Utils/Console/Executor.cc b/senf/Utils/Console/Executor.cc index 0ab942b..1cff221 100644 --- a/senf/Utils/Console/Executor.cc +++ b/senf/Utils/Console/Executor.cc @@ -39,7 +39,7 @@ //#include "Executor.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -52,7 +52,7 @@ namespace { } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Executor prefix_ senf::console::DirectoryNode & senf::console::Executor::cwd() @@ -471,7 +471,7 @@ prefix_ void senf::console::senf_console_format_value(DirectoryNode::ptr value, os << ""; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Executor.mpp" diff --git a/senf/Utils/Console/Executor.cci b/senf/Utils/Console/Executor.cci index 897d72a..95b8379 100644 --- a/senf/Utils/Console/Executor.cci +++ b/senf/Utils/Console/Executor.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Executor prefix_ senf::console::Executor::Executor() @@ -106,7 +106,7 @@ prefix_ bool senf::console::Executor::skipping() return cwd_.empty(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Executor.hh b/senf/Utils/Console/Executor.hh index e5d7136..62faf79 100644 --- a/senf/Utils/Console/Executor.hh +++ b/senf/Utils/Console/Executor.hh @@ -33,7 +33,7 @@ #include "Node.hh" //#include "Executor.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -60,7 +60,7 @@ namespace console { SENF_LOG_CLASS_AREA(); SENF_LOG_DEFAULT_LEVEL( senf::log::VERBOSE ); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types /// Thrown by built-in 'exit' command @@ -74,14 +74,14 @@ namespace console { typedef void result_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// //\/name Structors and default members - ///\{ + //\{ Executor(); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void execute(std::ostream & output, ParseCommandInfo const & command); ///< Execute command @@ -181,7 +181,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Executor.cci" //#include "Executor.ct" //#include "Executor.cti" diff --git a/senf/Utils/Console/Executor.test.cc b/senf/Utils/Console/Executor.test.cc index 8e56265..40eb06e 100644 --- a/senf/Utils/Console/Executor.test.cc +++ b/senf/Utils/Console/Executor.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { std::vector commands; @@ -303,7 +303,7 @@ SENF_AUTO_UNIT_TEST(executorAuto) senf::console::root().remove("dir2"); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/LazyDirectory.cc b/senf/Utils/Console/LazyDirectory.cc index b342668..331c6b6 100644 --- a/senf/Utils/Console/LazyDirectory.cc +++ b/senf/Utils/Console/LazyDirectory.cc @@ -31,7 +31,7 @@ //#include "LazyDirectory.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::LazyDirectory::LazyDirectory() : p_( new ScopedDirectory<>() ) @@ -45,7 +45,7 @@ prefix_ senf::console::ScopedDirectory<> & senf::console::LazyDirectory::operato return *p_; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "LazyDirectory.mpp" diff --git a/senf/Utils/Console/LazyDirectory.hh b/senf/Utils/Console/LazyDirectory.hh index f7be1f1..3dc131e 100644 --- a/senf/Utils/Console/LazyDirectory.hh +++ b/senf/Utils/Console/LazyDirectory.hh @@ -31,7 +31,7 @@ #include //#include "LazyDirectory.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -53,7 +53,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "LazyDirectory.cci" //#include "LazyDirectory.ct" //#include "LazyDirectory.cti" diff --git a/senf/Utils/Console/LineEditor.cc b/senf/Utils/Console/LineEditor.cc index db2313c..3b6ee03 100644 --- a/senf/Utils/Console/LineEditor.cc +++ b/senf/Utils/Console/LineEditor.cc @@ -33,9 +33,9 @@ //#include "LineEditor.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::LineEditorSwitcher prefix_ senf::console::detail::LineEditorSwitcher::LineEditorSwitcher(Client & client) @@ -72,7 +72,7 @@ prefix_ unsigned senf::console::detail::LineEditorSwitcher::v_width() return reader_->width(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::LineEditorClientReader prefix_ senf::console::detail::LineEditorClientReader:: @@ -226,7 +226,7 @@ completePath(term::LineEditor & editor, unsigned & b, unsigned & e, std::string completions.push_back(j->first + (j->second->followLink().isDirectory() ? "/" : " ")); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "LineEditor.mpp" diff --git a/senf/Utils/Console/LineEditor.hh b/senf/Utils/Console/LineEditor.hh index 93991e8..38b44b6 100644 --- a/senf/Utils/Console/LineEditor.hh +++ b/senf/Utils/Console/LineEditor.hh @@ -33,7 +33,7 @@ #include "Server.hh" //#include "LineEditor.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -99,7 +99,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "LineEditor.cci" //#include "LineEditor.ct" //#include "LineEditor.cti" diff --git a/senf/Utils/Console/Node.cc b/senf/Utils/Console/Node.cc index 46f96d3..d38096b 100644 --- a/senf/Utils/Console/Node.cc +++ b/senf/Utils/Console/Node.cc @@ -31,7 +31,7 @@ //#include "Node.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::DirectoryNode & senf::console::root() { @@ -64,7 +64,7 @@ prefix_ void senf::console::dump(std::ostream & os, DirectoryNode & dir) dodump(os,0,dir); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::GenericNode prefix_ std::string senf::console::GenericNode::path() @@ -114,7 +114,7 @@ prefix_ bool senf::console::GenericNode::isChildOf(DirectoryNode & parent) return node; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::LinkNode prefix_ void senf::console::LinkNode::v_help(std::ostream & os) @@ -129,7 +129,7 @@ prefix_ std::string senf::console::LinkNode::v_shorthelp() return follow().shorthelp(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //senf::console::DirectoryNode prefix_ senf::console::DirectoryNode::~DirectoryNode() @@ -199,7 +199,7 @@ prefix_ std::string senf::console::DirectoryNode::v_shorthelp() return doc_.substr(0,doc_.find('\n')); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::NodeTraverser #ifndef DOXYGEN @@ -248,7 +248,7 @@ prefix_ senf::console::GenericNode & senf::console::detail::NodeTraverser::node( } #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::SimpleCommandNode prefix_ void senf::console::SimpleCommandNode::v_help(std::ostream & output) @@ -272,7 +272,7 @@ prefix_ void senf::console::SimpleCommandNode::v_execute(boost::any & rv, std::o fn_(os, command); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Node.mpp" diff --git a/senf/Utils/Console/Node.cci b/senf/Utils/Console/Node.cci index 21482ff..5bb7c09 100644 --- a/senf/Utils/Console/Node.cci +++ b/senf/Utils/Console/Node.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::GenericNode prefix_ senf::console::GenericNode::ptr senf::console::GenericNode::thisptr() @@ -134,7 +134,7 @@ prefix_ senf::console::GenericNode & senf::console::GenericNode::followLink() : *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::LinkNode prefix_ senf::console::GenericNode & senf::console::LinkNode::follow() @@ -155,7 +155,7 @@ prefix_ senf::console::LinkNode::LinkNode(GenericNode & node) : node_ (node.thisptr()) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::DirectoryNode prefix_ senf::console::DirectoryNode::ptr senf::console::DirectoryNode::create() @@ -253,7 +253,7 @@ prefix_ senf::console::DirectoryNode::cptr senf::console::DirectoryNode::thisptr return boost::static_pointer_cast(shared_from_this()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::NodeTraverser #ifndef DOXYGEN @@ -265,7 +265,7 @@ prefix_ senf::console::detail::NodeTraverser::NodeTraverser(DirectoryNode & root #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::CommandNode prefix_ senf::console::CommandNode::ptr senf::console::CommandNode::thisptr() @@ -312,7 +312,7 @@ prefix_ void senf::console::CommandNode::operator()(boost::any & rv, std::ostrea execute(rv, output, command); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::SimpleCommandNode prefix_ senf::console::SimpleCommandNode::SimpleCommandNode(Function const & fn) @@ -350,7 +350,7 @@ prefix_ senf::console::SimpleCommandNode::cptr senf::console::SimpleCommandNode: return boost::static_pointer_cast(shared_from_this()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::DirectoryNode & senf::console::provideDirectory(DirectoryNode & dir, std::string const & name) @@ -359,7 +359,7 @@ prefix_ senf::console::DirectoryNode & senf::console::provideDirectory(Directory } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::factory::SimpleCommand prefix_ senf::console::factory::SimpleCommand::SimpleCommand(SimpleCommandNode::Function fn) @@ -389,7 +389,7 @@ senf::console::factory::SimpleCommand::shortdoc(std::string const & doc) return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::factory::Directory prefix_ senf::console::factory::Directory::Directory() @@ -419,7 +419,7 @@ senf::console::factory::Directory::shortdoc(std::string const & doc) return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::factory::Link prefix_ senf::console::factory::Link::Link(GenericNode & target) @@ -433,7 +433,7 @@ prefix_ senf::console::LinkNode & senf::console::factory::Link::create(Directory return dir.add(name, node_); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Node.cti b/senf/Utils/Console/Node.cti index ee7db3d..fcfa6fe 100644 --- a/senf/Utils/Console/Node.cti +++ b/senf/Utils/Console/Node.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::DirectoryNode template @@ -61,7 +61,7 @@ add(std::string const & name, Factory const & factory, return factory.create(*this, name); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Node.hh b/senf/Utils/Console/Node.hh index a6d64c4..4665716 100644 --- a/senf/Utils/Console/Node.hh +++ b/senf/Utils/Console/Node.hh @@ -212,7 +212,7 @@ #include //#include "Node.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -258,14 +258,14 @@ namespace console { { SENF_LOG_CLASS_AREA(); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::shared_ptr ptr; typedef boost::shared_ptr cptr; typedef boost::weak_ptr weak_ptr; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// virtual ~GenericNode(); @@ -349,23 +349,23 @@ namespace console { : public GenericNode { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::shared_ptr ptr; typedef boost::shared_ptr cptr; typedef boost::weak_ptr weak_ptr; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static ptr create(GenericNode & node); ///< Create new link node. /**< You should normally use DirectoryNode::link() to create a link node. */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// GenericNode & follow() const; ///< Access the referenced node @@ -408,7 +408,7 @@ namespace console { SENF_LOG_CLASS_AREA(); typedef std::map ChildMap; public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::shared_ptr ptr; @@ -421,19 +421,19 @@ namespace console { typedef DirectoryNode node_type; typedef DirectoryNode & return_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///\{ + //\{ static ptr create(); ///< Create node object. /**< You should normally use either mkdir() or ScopedDirectory instead of create() */ ~DirectoryNode(); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Children - ///\{ + //\{ template NodeType & add(std::string const & name, boost::shared_ptr node); @@ -514,8 +514,8 @@ namespace console { ///< Return iterator range of completions for \a s /**< The returned range is sorted by child name. */ - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// DirectoryNode & doc(std::string const & doc); ///< Set node documentation DirectoryNode & shortdoc(std::string const & doc); ///< Set node short documentation @@ -558,14 +558,14 @@ namespace console { { SENF_LOG_CLASS_AREA(); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::shared_ptr ptr; typedef boost::shared_ptr cptr; typedef boost::weak_ptr weak_ptr; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// void execute(std::ostream & output, ParseCommandInfo const & command) const; ///< Execute the command @@ -630,7 +630,7 @@ namespace console { { SENF_LOG_CLASS_AREA(); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::shared_ptr ptr; @@ -642,14 +642,14 @@ namespace console { typedef SimpleCommandNode node_type; typedef SimpleCommandNode & return_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///\{ + //\{ static ptr create(Function const & fn); - ///\} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ptr thisptr(); cptr thisptr() const; @@ -808,7 +808,7 @@ namespace factory { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Node.cci" //#include "Node.ct" #include "Node.cti" diff --git a/senf/Utils/Console/Node.ih b/senf/Utils/Console/Node.ih index dfbfa15..8de3a81 100644 --- a/senf/Utils/Console/Node.ih +++ b/senf/Utils/Console/Node.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -57,7 +57,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Node.test.cc b/senf/Utils/Console/Node.test.cc index f363049..62880ef 100644 --- a/senf/Utils/Console/Node.test.cc +++ b/senf/Utils/Console/Node.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(genericNode) { @@ -210,7 +210,7 @@ SENF_AUTO_UNIT_TEST(simpleCommandNode) senf::console::root().remove("fn"); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/OverloadedCommand.cc b/senf/Utils/Console/OverloadedCommand.cc index 66b3068..d9363a3 100644 --- a/senf/Utils/Console/OverloadedCommand.cc +++ b/senf/Utils/Console/OverloadedCommand.cc @@ -30,9 +30,9 @@ //#include "OverloadedCommand.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::OverloadedCommandNode prefix_ senf::console::OverloadedCommandNode & @@ -48,7 +48,7 @@ senf::console::OverloadedCommandNode::insertOverload(DirectoryNode & dir, return node; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // So soll die doku aussehen: // // Usage: @@ -205,7 +205,7 @@ prefix_ void senf::console::OverloadedCommandNode::v_execute(boost::any & rv, throw err; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::SimpleCommandOverload prefix_ unsigned senf::console::SimpleCommandOverload::v_numArguments() @@ -232,7 +232,7 @@ prefix_ void senf::console::SimpleCommandOverload::v_execute(boost::any & rv, fn_(os, command); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "OverloadedCommand.mpp" diff --git a/senf/Utils/Console/OverloadedCommand.cci b/senf/Utils/Console/OverloadedCommand.cci index 5965021..352e162 100644 --- a/senf/Utils/Console/OverloadedCommand.cci +++ b/senf/Utils/Console/OverloadedCommand.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::OverloadedCommandNode prefix_ senf::console::OverloadedCommandNode::ptr senf::console::OverloadedCommandNode::create() @@ -80,7 +80,7 @@ senf::console::OverloadedCommandNode::overloads() prefix_ senf::console::OverloadedCommandNode::OverloadedCommandNode() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::CommandOverload prefix_ senf::console::CommandOverload::~CommandOverload() @@ -133,7 +133,7 @@ prefix_ senf::console::CommandOverload::CommandOverload() : node_(0) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::SimpleCommandOverload prefix_ senf::console::SimpleCommandOverload::ptr @@ -153,7 +153,7 @@ prefix_ senf::console::SimpleCommandOverload::SimpleCommandOverload(Function fn) : fn_ (fn) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::SimpleOverloadAttributor prefix_ senf::console::SimpleOverloadAttributor:: @@ -195,7 +195,7 @@ senf::console::SimpleOverloadAttributor::create(DirectoryNode & dir, std::string return node; } -/////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/OverloadedCommand.cti b/senf/Utils/Console/OverloadedCommand.cti index e622912..da01a2b 100644 --- a/senf/Utils/Console/OverloadedCommand.cti +++ b/senf/Utils/Console/OverloadedCommand.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::OverloadedCommandNode template @@ -42,7 +42,7 @@ senf::console::OverloadedCommandNode::add(boost::intrusive_ptr overload return *overload; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/OverloadedCommand.hh b/senf/Utils/Console/OverloadedCommand.hh index 9ba7252..fb3c24e 100644 --- a/senf/Utils/Console/OverloadedCommand.hh +++ b/senf/Utils/Console/OverloadedCommand.hh @@ -34,7 +34,7 @@ #include //#include "OverloadedCommand.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -62,13 +62,13 @@ namespace console { : public senf::intrusive_refcount { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::intrusive_ptr ptr; typedef boost::intrusive_ptr cptr; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// virtual ~CommandOverload(); @@ -165,7 +165,7 @@ namespace console { typedef std::vector Overloads; public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::shared_ptr ptr; @@ -177,14 +177,14 @@ namespace console { typedef boost::iterator_range OverloadsRange; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static ptr create(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// template Command & add(boost::intrusive_ptr overload); ///< Add an additional overload @@ -230,22 +230,22 @@ namespace console { : public CommandOverload { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::intrusive_ptr ptr; typedef boost::function Function; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static SimpleCommandOverload::ptr create(Function fn); ///< Create new SimpleCommandOverload /**< \param[in] fn callback to call */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// SimpleCommandOverload & doc(std::string const & doc); ///< Assign overload specific documentation @@ -286,7 +286,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "OverloadedCommand.cci" //#include "OverloadedCommand.ct" #include "OverloadedCommand.cti" diff --git a/senf/Utils/Console/OverloadedCommand.test.cc b/senf/Utils/Console/OverloadedCommand.test.cc index d68aac2..6170e4f 100644 --- a/senf/Utils/Console/OverloadedCommand.test.cc +++ b/senf/Utils/Console/OverloadedCommand.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -99,7 +99,7 @@ SENF_AUTO_UNIT_TEST(overladedCommand) cmd.unlink(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Parse.cc b/senf/Utils/Console/Parse.cc index afae4fe..cca6f69 100644 --- a/senf/Utils/Console/Parse.cc +++ b/senf/Utils/Console/Parse.cc @@ -45,7 +45,7 @@ //#include "Parse.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -128,7 +128,7 @@ namespace detail { }}} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Token prefix_ senf::console::Token::Token(TokenType type, std::string token, @@ -170,7 +170,7 @@ prefix_ std::ostream & senf::console::operator<<(std::ostream & os, Token const return os; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParseCommandInfo prefix_ std::ostream & senf::console::operator<<(std::ostream & stream, @@ -209,7 +209,7 @@ prefix_ std::ostream & senf::console::operator<<(std::ostream & stream, return stream; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParseCommandInfo::ArgumentIterator prefix_ void senf::console::ParseCommandInfo::ArgumentIterator::setRange() @@ -251,7 +251,7 @@ prefix_ void senf::console::ParseCommandInfo::ArgumentIterator::decrement() } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::CommandParser #ifndef DOXYGEN @@ -471,7 +471,7 @@ senf::console::CommandParser::parseIncremental(std::string const & commands, Cal parseLoop(commands.begin(), commands.end(), "", cb) ); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Character sets prefix_ bool senf::console::CommandParser::isSpecialChar(char ch) @@ -499,7 +499,7 @@ prefix_ bool senf::console::CommandParser::isWordChar(char ch) return Impl::Grammar::word_p.test(ch); } -/////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Parse.mpp" diff --git a/senf/Utils/Console/Parse.cci b/senf/Utils/Console/Parse.cci index 3ac5ed4..05815f8 100644 --- a/senf/Utils/Console/Parse.cci +++ b/senf/Utils/Console/Parse.cci @@ -30,9 +30,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Token prefix_ std::string const & senf::console::Token::value() @@ -146,7 +146,7 @@ prefix_ senf::console::Token senf::console::WordToken(std::string const & value) return Token(Token::Word, value); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParseCommandInfo prefix_ senf::console::ParseCommandInfo::ParseCommandInfo() @@ -210,7 +210,7 @@ prefix_ void senf::console::ParseCommandInfo::addToken(Token const & token) tokens_.push_back(token); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParseCommandInfo::ArgumentIterator prefix_ senf::console::ParseCommandInfo::ArgumentIterator::ArgumentIterator() @@ -244,7 +244,7 @@ prefix_ void senf::console::ParseCommandInfo::ArgumentIterator::increment() b_ = e_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::CheckedArgumentIteratorWrapper:: CheckedArgumentIteratorWrapper(ParseCommandInfo::ArgumentsRange const & range, @@ -324,7 +324,7 @@ senf::console::CheckedArgumentIteratorWrapper::operator++(int) return i; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::SingleCommandParser prefix_ senf::console::CommandParser::Impl & senf::console::CommandParser::impl() @@ -333,7 +333,7 @@ prefix_ senf::console::CommandParser::Impl & senf::console::CommandParser::impl( return *impl_; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Parse.hh b/senf/Utils/Console/Parse.hh index 54499b1..acd42f2 100644 --- a/senf/Utils/Console/Parse.hh +++ b/senf/Utils/Console/Parse.hh @@ -201,7 +201,7 @@ #include //#include "Parse.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -587,20 +587,20 @@ namespace console { : boost::noncopyable { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef boost::function Callback; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ CommandParser(); ~CommandParser(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void parse(std::string const & command, Callback cb); ///< Parse string void parseFile(std::string const & filename, Callback cb); ///< Parse file @@ -656,7 +656,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Parse.cci" //#include "Parse.ct" //#include "Parse.cti" diff --git a/senf/Utils/Console/Parse.ih b/senf/Utils/Console/Parse.ih index fffaec2..baedd18 100644 --- a/senf/Utils/Console/Parse.ih +++ b/senf/Utils/Console/Parse.ih @@ -44,7 +44,7 @@ #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -82,18 +82,18 @@ namespace detail { ::phoenix::function const positionOf; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // Grammar template struct CommandGrammar : boost_spirit::grammar > { - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Start rules enum { CommandParser, SkipParser, ArgumentsParser, PathParser }; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // The parse context (variables needed while parsing) typedef Token::TokenType TokenType; @@ -108,17 +108,17 @@ namespace detail { Context & context; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Configuration bool incremental; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Dispatching semantic actions ParseDispatcher & dispatcher; - ////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // charachter sets static boost_spirit::chset<> special_p; @@ -128,7 +128,7 @@ namespace detail { static boost_spirit::chset<> word_p; static boost_spirit::distinct_parser<> keyword_p; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Errors enum Errors { @@ -138,7 +138,7 @@ namespace detail { QuoteExpected }; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// CommandGrammar(ParseDispatcher & d, Context & c) : context(c), incremental(false), dispatcher(d) {} @@ -174,7 +174,7 @@ namespace detail { assertion closing_paren_expected (ClosingParenExpected); assertion quote_expected (QuoteExpected); - /////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////// // Spirit grammar // // Syntax summary: @@ -399,7 +399,7 @@ namespace detail { = self.space_p | comment_p('#') ; - /////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////// start_parsers( command, // CommandParser @@ -447,7 +447,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Parse.test.cc b/senf/Utils/Console/Parse.test.cc index 3ab948b..810344e 100644 --- a/senf/Utils/Console/Parse.test.cc +++ b/senf/Utils/Console/Parse.test.cc @@ -39,7 +39,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -361,7 +361,7 @@ SENF_AUTO_UNIT_TEST(parseExceptions) CheckParseEx( "/foo/bar (", "')' expected\nat :1:11" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ParsedCommand.cc b/senf/Utils/Console/ParsedCommand.cc index 3e537de..d2ea5bb 100644 --- a/senf/Utils/Console/ParsedCommand.cc +++ b/senf/Utils/Console/ParsedCommand.cc @@ -30,15 +30,15 @@ #include "ParsedCommand.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ArgumentInfoBase prefix_ senf::console::detail::ArgumentInfoBase::~ArgumentInfoBase() {} -//////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandOverloadBase prefix_ unsigned senf::console::ParsedCommandOverloadBase::v_numArguments() @@ -74,7 +74,7 @@ prefix_ std::string senf::console::ParsedCommandOverloadBase::v_doc() return doc_; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ #include "ParsedCommand.mpp" diff --git a/senf/Utils/Console/ParsedCommand.cci b/senf/Utils/Console/ParsedCommand.cci index c2aaf07..794b1ff 100644 --- a/senf/Utils/Console/ParsedCommand.cci +++ b/senf/Utils/Console/ParsedCommand.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ArgumentInfoBase prefix_ senf::console::detail::ArgumentInfoBase::ArgumentInfoBase(std::string const & type_, @@ -38,7 +38,7 @@ prefix_ senf::console::detail::ArgumentInfoBase::ArgumentInfoBase(std::string co : type (type_), name (), hasDefault (false), singleToken (singleToken_) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandOverloadBase prefix_ senf::console::ParsedCommandOverloadBase::ParsedCommandOverloadBase() @@ -57,7 +57,7 @@ prefix_ void senf::console::ParsedCommandOverloadBase::doc(std::string const & d doc_ = d; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandAttributorBase prefix_ senf::console::OverloadedCommandNode & @@ -123,7 +123,7 @@ prefix_ void senf::console::ParsedCommandAttributorBase::shortDoc(std::string co shortdoc_ = doc; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ParsedCommand.ct b/senf/Utils/Console/ParsedCommand.ct index f0c0555..33c0689 100644 --- a/senf/Utils/Console/ParsedCommand.ct +++ b/senf/Utils/Console/ParsedCommand.ct @@ -28,9 +28,9 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandOverload #define BOOST_PP_ITERATION_PARAMS_1 (4, (0, SENF_CONSOLE_MAX_COMMAND_ARITY, \ @@ -38,7 +38,7 @@ 3)) #include BOOST_PP_ITERATE() -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ParsedCommand.cti b/senf/Utils/Console/ParsedCommand.cti index 1d36bb4..a7d7acf 100644 --- a/senf/Utils/Console/ParsedCommand.cti +++ b/senf/Utils/Console/ParsedCommand.cti @@ -31,9 +31,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ArgumentInfo template @@ -57,7 +57,7 @@ prefix_ std::string senf::console::detail::ArgumentInfo::defaultV return hasDefault ? ArgumentTraits::str(defaultValue) : ""; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandOverloadBase template @@ -66,7 +66,7 @@ prefix_ void senf::console::ParsedCommandOverloadBase::addParameter() parameters_.push_back(detail::ArgumentInfo::create()); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandOverload #define BOOST_PP_ITERATION_PARAMS_1 (4, (0, SENF_CONSOLE_MAX_COMMAND_ARITY, \ @@ -74,7 +74,7 @@ prefix_ void senf::console::ParsedCommandOverloadBase::addParameter() 2)) #include BOOST_PP_ITERATE() -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedCommandAttributor template @@ -96,7 +96,7 @@ ParsedCommandAttributor(ParsedCommandAttributorBase const & other, unsigned inde : ParsedCommandAttributorBase (other, index) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedArgumentAttributorBase template @@ -183,7 +183,7 @@ ParsedArgumentAttributorBase(ParsedCommandAttributorBase const & other, unsigned : ParsedCommandAttributor (other, index) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedArgumentAttributor template @@ -311,7 +311,7 @@ prefix_ void senf::console::ParsedArgumentAttributor::parse this->overload().arg().parser = fn; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ParsedArgumentAttributor template @@ -329,7 +329,7 @@ ParsedArgumentAttributor(ParsedCommandAttributorBase const & other) : ParsedArgumentAttributorBase (other, index) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace members namespace senf { @@ -361,7 +361,7 @@ namespace detail { }}} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::console::SimpleOverloadAttributor @@ -473,7 +473,7 @@ Command(Member memfn, Owner const * owner, return detail::addOverloadedCommandNode(senf::membind(memfn,owner)); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ParsedCommand.hh b/senf/Utils/Console/ParsedCommand.hh index 919065e..17a6892 100644 --- a/senf/Utils/Console/ParsedCommand.hh +++ b/senf/Utils/Console/ParsedCommand.hh @@ -44,7 +44,7 @@ #include "ParsedCommand.ih" #include "ParsedCommand.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -704,7 +704,7 @@ namespace factory { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ParsedCommand.cci" #include "ParsedCommand.ct" #include "ParsedCommand.cti" diff --git a/senf/Utils/Console/ParsedCommand.ih b/senf/Utils/Console/ParsedCommand.ih index 0a2a3d0..391c7db 100644 --- a/senf/Utils/Console/ParsedCommand.ih +++ b/senf/Utils/Console/ParsedCommand.ih @@ -31,7 +31,7 @@ #include #include "Parse.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -201,7 +201,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/ParsedCommand.mpp b/senf/Utils/Console/ParsedCommand.mpp index de1c5f8..a06b6c2 100644 --- a/senf/Utils/Console/ParsedCommand.mpp +++ b/senf/Utils/Console/ParsedCommand.mpp @@ -42,9 +42,9 @@ #include #include "senf/Utils/IgnoreValue.hh" -// ///////////////////////////mpp.p//////////////////////////////////////// -#elif BOOST_PP_IS_ITERATING // //////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-///////////////////////////mpp.p//////////////////////////////////////// +#elif BOOST_PP_IS_ITERATING //-//////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Local Macros #define mpp_ArgTypeN(n) BOOST_PP_CAT(BOOST_PP_CAT(arg, BOOST_PP_INC(n)), _type) @@ -62,9 +62,9 @@ #define mpp_BindArgs_(z,n,d) BOOST_PP_CAT( _, BOOST_PP_INC(BOOST_PP_INC(n))) #define mpp_TrailingBindArgs() BOOST_PP_ENUM_TRAILING( BOOST_PP_ITERATION(), mpp_BindArgs_, _ ) -// //////////////////////////////////////////////////////////////////////// -#if BOOST_PP_ITERATION_FLAGS()==1 // ////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#if BOOST_PP_ITERATION_FLAGS()==1 //-////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Header file (.hh) @@ -148,9 +148,9 @@ private: Function function_; }; -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==2 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==2 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // inline template implementation (.cti) @@ -244,9 +244,9 @@ ParsedCommandOverload(Function fn) # undef mpp_l } -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==3 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==3 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // non-inline template implementation (.ct) @@ -328,9 +328,9 @@ v_execute(boost::any & rv, std::ostream & os, ParseCommandInfo const & command) function_(os mpp_TrailingArgs()); } -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==4 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==4 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // CreateParsedCommandOverload @@ -348,9 +348,9 @@ struct CreateParsedCommandOverload }; -// //////////////////////////////////////////////////////////////////////// -#elif BOOST_PP_ITERATION_FLAGS()==5 // //////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#elif BOOST_PP_ITERATION_FLAGS()==5 //-//////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Create keyword arg forwarding functions @@ -361,9 +361,9 @@ next_type arg ( BOOST_PP_ENUM_BINARY_PARAMS( BOOST_PP_ITERATION(), A, const & a return argInfo( kw(BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a )) ); } -// //////////////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// -// //////////////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#endif //-///////////////////////////////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// // Undefine local Macros #undef mpp_TrailingBindArgs @@ -381,9 +381,9 @@ next_type arg ( BOOST_PP_ENUM_BINARY_PARAMS( BOOST_PP_ITERATION(), A, const & a #undef mpp_ArgN #undef mpp_ArgTypeN -// //////////////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// -// ///////////////////////////mpp.e//////////////////////////////////////// +//-//////////////////////////////////////////////////////////////////////// +#endif //-///////////////////////////////////////////////////////////////// +//-///////////////////////////mpp.e//////////////////////////////////////// // Local Variables: diff --git a/senf/Utils/Console/ParsedCommand.test.cc b/senf/Utils/Console/ParsedCommand.test.cc index 20dc40f..78ecd03 100644 --- a/senf/Utils/Console/ParsedCommand.test.cc +++ b/senf/Utils/Console/ParsedCommand.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -344,7 +344,7 @@ COMPILE_FAIL(defaultDoc) #endif -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ProgramOptions.cc b/senf/Utils/Console/ProgramOptions.cc index 50f773a..044f10c 100644 --- a/senf/Utils/Console/ProgramOptions.cc +++ b/senf/Utils/Console/ProgramOptions.cc @@ -34,15 +34,15 @@ //#include "ProgramOptions.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ProgramOptionsSource::NonOptionContainer prefix_ senf::console::detail::ProgramOptionsSource::NonOptionContainer::~NonOptionContainer() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ProgramOptionsSource prefix_ void senf::console::detail::ProgramOptionsSource::v_parse(RestrictedExecutor & executor) @@ -192,7 +192,7 @@ senf::console::detail::ProgramOptionsSource::parseNonOption(std::string const & nonOptions_->push_back(arg); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::console::parseOptions(int argc, char const ** argv, DirectoryNode & root) { @@ -200,7 +200,7 @@ prefix_ void senf::console::parseOptions(int argc, char const ** argv, Directory opts.parse(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "ProgramOptions.mpp" diff --git a/senf/Utils/Console/ProgramOptions.cci b/senf/Utils/Console/ProgramOptions.cci index e24539e..36c529b 100644 --- a/senf/Utils/Console/ProgramOptions.cci +++ b/senf/Utils/Console/ProgramOptions.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ProgramOptionsSource prefix_ senf::console::detail::ProgramOptionsSource::ptr @@ -52,7 +52,7 @@ senf::console::detail::ProgramOptionsSource::alias(char letter, std::string cons return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ProgramOptionsSource::ShortOption prefix_ senf::console::detail::ProgramOptionsSource::ShortOption:: @@ -60,7 +60,7 @@ ShortOption(bool withArg_, std::string const & longOpt_) : withArg (withArg_), longOpt (longOpt_) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ProgramOptions prefix_ senf::console::ProgramOptions::ProgramOptions(int argc, char const ** argv, @@ -75,7 +75,7 @@ senf::console::ProgramOptions::alias(char letter, std::string const & longOpt, b return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::detail::ProgramOptionsSource::ptr senf::console::OptionsConfig(int argc, char const ** argv) @@ -83,7 +83,7 @@ senf::console::OptionsConfig(int argc, char const ** argv) return detail::ProgramOptionsSource::create(argc, argv); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ProgramOptions.cti b/senf/Utils/Console/ProgramOptions.cti index d37557e..4d9b19a 100644 --- a/senf/Utils/Console/ProgramOptions.cti +++ b/senf/Utils/Console/ProgramOptions.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ProgramOptionsSource template @@ -41,7 +41,7 @@ senf::console::detail::ProgramOptionsSource::nonOptions(Container & container) return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ProgramOptionsSource::NonOptionContainerImpl template @@ -66,7 +66,7 @@ push_back(std::string const & value) c_.push_back(value); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ProgramOptions template @@ -77,7 +77,7 @@ senf::console::ProgramOptions::nonOptions(Container & container) return *this; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ProgramOptions.hh b/senf/Utils/Console/ProgramOptions.hh index ab3c5c5..9f3d331 100644 --- a/senf/Utils/Console/ProgramOptions.hh +++ b/senf/Utils/Console/ProgramOptions.hh @@ -32,7 +32,7 @@ //#include "ProgramOptions.mpp" #include "ProgramOptions.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -68,9 +68,9 @@ namespace console { : public detail::BundleMixin { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ ProgramOptions(int argc, char const ** argv, DirectoryNode & root = root()); ///< Create ProgramOptions parser for given options @@ -78,8 +78,8 @@ namespace console { the operating system. Especially argv[0] is \e not an option and is ignored. */ - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// template ProgramOptions & nonOptions(Container & container); @@ -125,7 +125,7 @@ namespace console { detail::ProgramOptionsSource::ptr OptionsConfig(int argc, char const ** argv); }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ProgramOptions.cci" //#include "ProgramOptions.ct" #include "ProgramOptions.cti" diff --git a/senf/Utils/Console/ProgramOptions.ih b/senf/Utils/Console/ProgramOptions.ih index 29c2ebf..27b11f6 100644 --- a/senf/Utils/Console/ProgramOptions.ih +++ b/senf/Utils/Console/ProgramOptions.ih @@ -30,7 +30,7 @@ #include #include "Parse.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -96,7 +96,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/ProgramOptions.test.cc b/senf/Utils/Console/ProgramOptions.test.cc index 65cae20..40065b3 100644 --- a/senf/Utils/Console/ProgramOptions.test.cc +++ b/senf/Utils/Console/ProgramOptions.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { std::string val1; @@ -136,7 +136,7 @@ SENF_AUTO_UNIT_TEST(programOptions) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/STLSupport.ct b/senf/Utils/Console/STLSupport.ct index 1d0d99f..ec60550 100644 --- a/senf/Utils/Console/STLSupport.ct +++ b/senf/Utils/Console/STLSupport.ct @@ -29,11 +29,11 @@ #include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifndef DOXYGEN -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::CollectionArgumentTraitsBase template @@ -53,7 +53,7 @@ senf::console::detail::CollectionArgumentTraitsBase::str(Collection return ss.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::CollectionArgumentTraits template @@ -69,7 +69,7 @@ parse(ParseCommandInfo::TokensRange const & tokens, Collection & out) } } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::CollectionReturnValueTraits template @@ -91,7 +91,7 @@ senf::console::detail::CollectionReturnValueTraits::format(Collectio os << ")"; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::MapArgumentTraits template @@ -129,7 +129,7 @@ senf::console::detail::MapArgumentTraits::str(Collection const & val return ss.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::MapReturnValueTraits template @@ -153,7 +153,7 @@ senf::console::detail::MapReturnValueTraits::format(Collection const os << ")"; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ArgumentTraits< std::pair > template @@ -181,7 +181,7 @@ prefix_ std::string senf::console::ArgumentTraits< std::pair >::str(type return ss.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ReturnValueTraits< std::pair > template @@ -194,7 +194,7 @@ prefix_ void senf::console::ReturnValueTraits< std::pair >::format(type c #endif -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/STLSupport.cti b/senf/Utils/Console/STLSupport.cti index 1603192..f346459 100644 --- a/senf/Utils/Console/STLSupport.cti +++ b/senf/Utils/Console/STLSupport.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::PushBackFunctor template @@ -40,7 +40,7 @@ prefix_ void senf::console::detail::PushBackFunctor::add(Sequence & seq, seq.push_back(value); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::InsertFunctor template @@ -50,7 +50,7 @@ prefix_ void senf::console::detail::InsertFunctor::add(Collection & seq, seq.insert(value); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/STLSupport.hh b/senf/Utils/Console/STLSupport.hh index 89c51f7..8f95a12 100644 --- a/senf/Utils/Console/STLSupport.hh +++ b/senf/Utils/Console/STLSupport.hh @@ -33,7 +33,7 @@ //#include "STLSupport.mpp" #include "STLSupport.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -127,7 +127,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "STLSupport.cci" #include "STLSupport.ct" #include "STLSupport.cti" diff --git a/senf/Utils/Console/STLSupport.ih b/senf/Utils/Console/STLSupport.ih index 1b4a92d..b99b213 100644 --- a/senf/Utils/Console/STLSupport.ih +++ b/senf/Utils/Console/STLSupport.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -92,7 +92,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/STLSupport.test.cc b/senf/Utils/Console/STLSupport.test.cc index 2619c27..5d06db8 100644 --- a/senf/Utils/Console/STLSupport.test.cc +++ b/senf/Utils/Console/STLSupport.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -203,7 +203,7 @@ SENF_AUTO_UNIT_TEST(mapSupport) " default: (bar=2 \"foo bar\"=7)\n" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ScopedDirectory.cci b/senf/Utils/Console/ScopedDirectory.cci index bb4c090..0cf3b40 100644 --- a/senf/Utils/Console/ScopedDirectory.cci +++ b/senf/Utils/Console/ScopedDirectory.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ScopedDirectoryBase prefix_ senf::console::DirectoryNode & senf::console::ScopedDirectoryBase::node() @@ -162,7 +162,7 @@ prefix_ senf::console::ScopedDirectoryBase::~ScopedDirectoryBase() node_->unlink(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ScopedDirectory.cti b/senf/Utils/Console/ScopedDirectory.cti index c4e287f..a4bc816 100644 --- a/senf/Utils/Console/ScopedDirectory.cti +++ b/senf/Utils/Console/ScopedDirectory.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ScopedDirectory template @@ -76,7 +76,7 @@ add(std::string const & name, Factory const & factory, return node().add(name, factory); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ScopedDirectory @@ -103,7 +103,7 @@ add(std::string const & name, Factory const & factory, return node().add(name,factory); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/ScopedDirectory.hh b/senf/Utils/Console/ScopedDirectory.hh index e5f1248..c6038cf 100644 --- a/senf/Utils/Console/ScopedDirectory.hh +++ b/senf/Utils/Console/ScopedDirectory.hh @@ -33,7 +33,7 @@ #include "LazyDirectory.hh" // For ScopedDirectory template default arg //#include "ScopedDirectory.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -48,9 +48,9 @@ namespace console { DirectoryNode & node() const; ///< Access the proxied DirectoryNode operator DirectoryNode & () const; ///< Access the proxied DirectoryNode - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Proxied members (see DirectoryNode) - ///\{ + //\{ GenericNode::ptr remove(std::string const & name); bool hasChild(std::string const & name) const; @@ -70,7 +70,7 @@ namespace console { void help(std::ostream & output) const; std::string shorthelp() const; - ///\} + //\} protected: ScopedDirectoryBase(); @@ -118,19 +118,19 @@ namespace console { class ScopedDirectory : public ScopedDirectoryBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef Owner owner; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit ScopedDirectory(Owner * owner); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// template NodeType & add(std::string const & name, boost::shared_ptr node); @@ -171,7 +171,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ScopedDirectory.cci" //#include "ScopedDirectory.ct" #include "ScopedDirectory.cti" diff --git a/senf/Utils/Console/ScopedDirectory.test.cc b/senf/Utils/Console/ScopedDirectory.test.cc index 5087530..ce0a602 100644 --- a/senf/Utils/Console/ScopedDirectory.test.cc +++ b/senf/Utils/Console/ScopedDirectory.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { struct TestObject { @@ -125,7 +125,7 @@ SENF_AUTO_UNIT_TEST(scopedDirectoryBase) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Server.cc b/senf/Utils/Console/Server.cc index 5820508..243a782 100644 --- a/senf/Utils/Console/Server.cc +++ b/senf/Utils/Console/Server.cc @@ -45,7 +45,7 @@ //#include "Server.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #ifdef SENF_DEBUG # define BUILD_TYPE "development" @@ -63,7 +63,7 @@ namespace { senf::str(senf::log::LEVELNAMES[senf::SenfLog::compileLimit::value]), 0); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::NonBlockingSocketSink prefix_ std::streamsize senf::console::detail::NonblockingSocketSink::write(const char * s, @@ -79,7 +79,7 @@ prefix_ std::streamsize senf::console::detail::NonblockingSocketSink::write(cons return n; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Server prefix_ senf::console::Server & @@ -140,7 +140,7 @@ prefix_ void senf::console::Server::removeClient(Client & client) clients_.erase(boost::intrusive_ptr(&client)); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::DumbClientReader prefix_ senf::console::detail::DumbClientReader::DumbClientReader(Client & client) @@ -227,7 +227,7 @@ prefix_ unsigned senf::console::detail::DumbClientReader::v_width() return 80; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::NoninteractiveClientReader prefix_ @@ -290,7 +290,7 @@ senf::console::detail::NoninteractiveClientReader::newData(int event) stream() << std::flush; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Client prefix_ senf::console::Client::Client(Server & server, ClientHandle handle) @@ -400,7 +400,7 @@ prefix_ unsigned senf::console::Client::getWidth(std::ostream & os, unsigned def return rv < minWidth ? defaultWidth : rv; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Client::SysBacktrace prefix_ senf::console::Client::SysBacktrace::SysBacktrace() @@ -422,7 +422,7 @@ prefix_ void senf::console::Client::SysBacktrace::backtrace(std::ostream & os) senf::console::Client::SysBacktrace senf::console::Client::SysBacktrace::instance_; -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Server.mpp" diff --git a/senf/Utils/Console/Server.cci b/senf/Utils/Console/Server.cci index a3f77f0..1c73c98 100644 --- a/senf/Utils/Console/Server.cci +++ b/senf/Utils/Console/Server.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ServerManager prefix_ void senf::console::detail::ServerManager::add(ptr server) @@ -49,7 +49,7 @@ prefix_ senf::console::detail::ServerManager & senf::console::detail::ServerMana return manager; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::NonblockingSocketSink prefix_ senf::console::detail::NonblockingSocketSink::NonblockingSocketSink(Client & client) @@ -62,7 +62,7 @@ prefix_ senf::console::Client & senf::console::detail::NonblockingSocketSink::cl return client_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Server prefix_ senf::console::Server & senf::console::Server::name(std::string const & name) @@ -107,7 +107,7 @@ prefix_ void senf::console::Server::stop() detail::ServerManager::remove(boost::intrusive_ptr(this)); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::Client prefix_ senf::console::Client::~Client() @@ -185,7 +185,7 @@ prefix_ std::ostream & senf::console::Client::stream() return out_t::member; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ClientReader prefix_ senf::console::detail::ClientReader::~ClientReader() @@ -252,7 +252,7 @@ prefix_ senf::console::detail::ClientReader::ClientReader(Client & client) : client_ (client) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Server.hh b/senf/Utils/Console/Server.hh index 825bc28..a7a747c 100644 --- a/senf/Utils/Console/Server.hh +++ b/senf/Utils/Console/Server.hh @@ -43,7 +43,7 @@ //#include "Server.mpp" #include "Server.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -70,14 +70,14 @@ namespace console { SENF_LOG_CLASS_AREA(); SENF_LOG_DEFAULT_LEVEL( senf::log::NOTICE ); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef detail::ServerHandle ServerHandle; enum Mode { Automatic, Interactive, Noninteractive }; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// static Server & start(senf::INet4SocketAddress const & address); ///< Start server on given IPv4 address/port @@ -263,7 +263,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Server.cci" //#include "Server.ct" //#include "Server.cti" diff --git a/senf/Utils/Console/Server.ih b/senf/Utils/Console/Server.ih index fceb6c7..e293878 100644 --- a/senf/Utils/Console/Server.ih +++ b/senf/Utils/Console/Server.ih @@ -32,7 +32,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -181,7 +181,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Server.test.cc b/senf/Utils/Console/Server.test.cc index 0f58656..f5da6f1 100644 --- a/senf/Utils/Console/Server.test.cc +++ b/senf/Utils/Console/Server.test.cc @@ -33,14 +33,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(server) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/SysInfo.cc b/senf/Utils/Console/SysInfo.cc index 093453c..9c08002 100644 --- a/senf/Utils/Console/SysInfo.cc +++ b/senf/Utils/Console/SysInfo.cc @@ -32,7 +32,7 @@ #include "ParsedCommand.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::SysInfo::Proxy::Proxy(std::string const & descr, unsigned pos) { @@ -61,7 +61,7 @@ prefix_ void senf::console::SysInfo::dump(std::ostream & os) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/SysInfo.hh b/senf/Utils/Console/SysInfo.hh index 2a08e7c..75dc01e 100644 --- a/senf/Utils/Console/SysInfo.hh +++ b/senf/Utils/Console/SysInfo.hh @@ -30,7 +30,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -56,7 +56,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "SysInfo.cci" //#include "SysInfo.ct" //#include "SysInfo.cti" diff --git a/senf/Utils/Console/Sysdir.cci b/senf/Utils/Console/Sysdir.cci index d140d46..f9c8091 100644 --- a/senf/Utils/Console/Sysdir.cci +++ b/senf/Utils/Console/Sysdir.cci @@ -29,7 +29,7 @@ #include "ScopedDirectory.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::ScopedDirectory<> & senf::console::sysdir() { @@ -47,7 +47,7 @@ prefix_ senf::console::detail::SysdirManager::SysdirManager() senf::console::root().add("sys", sysdir_); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Sysdir.hh b/senf/Utils/Console/Sysdir.hh index 77b9c24..b3f8677 100644 --- a/senf/Utils/Console/Sysdir.hh +++ b/senf/Utils/Console/Sysdir.hh @@ -30,7 +30,7 @@ #include "Node.hh" //#include "Sysdir.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -39,7 +39,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Sysdir.cci" //#include "Sysdir.ct" //#include "Sysdir.cti" diff --git a/senf/Utils/Console/Sysdir.ih b/senf/Utils/Console/Sysdir.ih index be0cf5b..1a611aa 100644 --- a/senf/Utils/Console/Sysdir.ih +++ b/senf/Utils/Console/Sysdir.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -53,7 +53,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Traits.cc b/senf/Utils/Console/Traits.cc index 923e8ce..f704097 100644 --- a/senf/Utils/Console/Traits.cc +++ b/senf/Utils/Console/Traits.cc @@ -31,7 +31,7 @@ //#include "Traits.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ long senf::console::detail::parseEnum(EnumTable const & table, ParseCommandInfo::TokensRange const & tokens) @@ -63,7 +63,7 @@ prefix_ std::string senf::console::detail::formatEnum(EnumTable const & table, l return i->second; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Traits.mpp" diff --git a/senf/Utils/Console/Traits.cci b/senf/Utils/Console/Traits.cci index 3d1ca98..25f119e 100644 --- a/senf/Utils/Console/Traits.cci +++ b/senf/Utils/Console/Traits.cci @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ArgumentTraits prefix_ void @@ -69,7 +69,7 @@ prefix_ std::string senf::console::ArgumentTraits::str(bool value) return value ? "true" : "false"; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ReturnValueTraits prefix_ void senf::console::ReturnValueTraits::format(bool value, std::ostream & os) @@ -77,7 +77,7 @@ prefix_ void senf::console::ReturnValueTraits::format(bool value, std::ost formatTrueFalse(value, os); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::console::formatTrueFalse(bool value, std::ostream & os) { @@ -104,7 +104,7 @@ prefix_ void senf::console::formatOneZero(bool value, std::ostream & os) os << (value ? "0" : "1"); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Traits.ct b/senf/Utils/Console/Traits.ct index 433b908..a561f70 100644 --- a/senf/Utils/Console/Traits.ct +++ b/senf/Utils/Console/Traits.ct @@ -28,7 +28,7 @@ // Custom includes #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ bool @@ -47,7 +47,7 @@ senf::console::senf_console_parse_argument(ParseCommandInfo::TokensRange const & return false; } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Traits.cti b/senf/Utils/Console/Traits.cti index baca16e..1bdd459 100644 --- a/senf/Utils/Console/Traits.cti +++ b/senf/Utils/Console/Traits.cti @@ -32,9 +32,9 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ReturnValueTraits template @@ -50,7 +50,7 @@ prefix_ void senf::console::senf_console_format_value(Type const & value, std::o os << value; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ArgumentTraits template @@ -110,7 +110,7 @@ prefix_ std::string senf::console::ArgumentTraits::str(Type const & value) return ss.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::CharArgumentTraits template @@ -128,7 +128,7 @@ prefix_ std::string senf::console::detail::CharArgumentTraits::descriptio return std::numeric_limits::is_signed ? "byte" : "ubyte"; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Traits.hh b/senf/Utils/Console/Traits.hh index b655650..a0b9df0 100644 --- a/senf/Utils/Console/Traits.hh +++ b/senf/Utils/Console/Traits.hh @@ -35,7 +35,7 @@ #include "Traits.ih" //#include "Traits.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -258,7 +258,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Traits.cci" #include "Traits.ct" #include "Traits.cti" diff --git a/senf/Utils/Console/Traits.ih b/senf/Utils/Console/Traits.ih index a596ec2..faac9a3 100644 --- a/senf/Utils/Console/Traits.ih +++ b/senf/Utils/Console/Traits.ih @@ -37,7 +37,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -132,7 +132,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Traits.test.cc b/senf/Utils/Console/Traits.test.cc index 00e3d11..f242f1d 100644 --- a/senf/Utils/Console/Traits.test.cc +++ b/senf/Utils/Console/Traits.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { char charTest(char value) { return value; } @@ -235,7 +235,7 @@ SENF_AUTO_UNIT_TEST(singleToken) senf::console::FlagCollection >::singleToken ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/UDPServer.cc b/senf/Utils/Console/UDPServer.cc index 20b6cf5..783a565 100644 --- a/senf/Utils/Console/UDPServer.cc +++ b/senf/Utils/Console/UDPServer.cc @@ -32,7 +32,7 @@ //#include "UDPServer.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::console::UDPServer::UDPServer(senf::INet4SocketAddress const & address) : replies_ (true), emptyReplies_ (true), target_ (), @@ -144,7 +144,7 @@ prefix_ void senf::console::UDPServer::handleInput(int events) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "UDPServer.mpp" diff --git a/senf/Utils/Console/UDPServer.hh b/senf/Utils/Console/UDPServer.hh index 0691b00..fae9edd 100644 --- a/senf/Utils/Console/UDPServer.hh +++ b/senf/Utils/Console/UDPServer.hh @@ -35,7 +35,7 @@ #include "Executor.hh" //#include "UDPServer.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -60,24 +60,24 @@ namespace console { SENF_LOG_CLASS_AREA(); SENF_LOG_DEFAULT_LEVEL(senf::log::NOTICE); public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types typedef senf::ClientSocketHandle< senf::MakeSocketPolicy::policy > Handle; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit UDPServer(senf::INet4SocketAddress const & address); ///< Open UDP server on \a address explicit UDPServer(senf::INet6SocketAddress const & address); ///< Open UDP server on \a address - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// UDPServer & replies(bool enable); ///< Enable or disable reply packets /** \e Default: enabled */ @@ -115,7 +115,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UDPServer.cci" //#include "UDPServer.ct" //#include "UDPServer.cti" diff --git a/senf/Utils/Console/UDPServer.test.cc b/senf/Utils/Console/UDPServer.test.cc index 58175e5..de3cff6 100644 --- a/senf/Utils/Console/UDPServer.test.cc +++ b/senf/Utils/Console/UDPServer.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -131,7 +131,7 @@ SENF_AUTO_UNIT_TEST(udpServer) BOOST_CHECK_EQUAL( data, "sys/ \n" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Utility.ct b/senf/Utils/Console/Utility.ct index 4285cc8..603bbc7 100644 --- a/senf/Utils/Console/Utility.ct +++ b/senf/Utils/Console/Utility.ct @@ -32,9 +32,9 @@ #include "Traits.hh" #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ArgumentTraits< CharAsString > template @@ -69,7 +69,7 @@ format(CharAsString value, std::ostream & os) return senf::console::format(std::string(1,value.value),os); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ArgumentTraits< senf::console::ValueRange > template @@ -109,7 +109,7 @@ str(type const & value) return ss.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ReturnValueTraits< senf::console::ValueRange > template @@ -121,7 +121,7 @@ format(type const & value, std::ostream & os) os << ':' << senf::console::str(value.high); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ArgumentTraits< senf::console::FlagCollection > template @@ -153,7 +153,7 @@ senf::console::ArgumentTraits< senf::console::FlagCollection >::str(type c return ss.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ReturnValueTraits< senf::console::FlagCollection > template @@ -172,7 +172,7 @@ format(type const & value, std::ostream & os) os << (n != 1 ? "(" + ss.str() + ")" : ss.str()); } -///////////////////////////////ct.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Utility.cti b/senf/Utils/Console/Utility.cti index 4038da7..276cad1 100644 --- a/senf/Utils/Console/Utility.cti +++ b/senf/Utils/Console/Utility.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::console::CharAsString::CharAsString() @@ -47,7 +47,7 @@ prefix_ senf::console::CharAsString::operator CharT () return value; } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Utility.hh b/senf/Utils/Console/Utility.hh index e13c248..8f37737 100644 --- a/senf/Utils/Console/Utility.hh +++ b/senf/Utils/Console/Utility.hh @@ -30,7 +30,7 @@ #include "Parse.hh" //#include "Utility.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup senf_console_utilities Special console utility types @@ -204,7 +204,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Utility.cci" #include "Utility.ct" #include "Utility.cti" diff --git a/senf/Utils/Console/Utility.test.cc b/senf/Utils/Console/Utility.test.cc index 46c4a98..194c7a8 100644 --- a/senf/Utils/Console/Utility.test.cc +++ b/senf/Utils/Console/Utility.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -99,7 +99,7 @@ SENF_AUTO_UNIT_TEST(flagCollection) BOOST_CHECK_EQUAL( ss.str(), "()\n" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Variables.cti b/senf/Utils/Console/Variables.cti index cdf72ec..3b787bd 100644 --- a/senf/Utils/Console/Variables.cti +++ b/senf/Utils/Console/Variables.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::QueryVariable template @@ -52,7 +52,7 @@ prefix_ Variable const & senf::console::detail::QueryVariable::operato return var_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::SetVariable template @@ -83,7 +83,7 @@ prefix_ void senf::console::detail::SetVariable::operator()(Variable c var_ = value; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConstVariableFactory template @@ -128,7 +128,7 @@ ConstVariableFactory(Variable const & var) : queryOverload_ (detail::QueryVariable::create(var)) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::VariableFactory template @@ -198,7 +198,7 @@ prefix_ senf::console::factory::VariableFactory::VariableFactory(Varia var_ (var) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::console::factory::VariableFactory @@ -228,7 +228,7 @@ senf::console::factory::Variable(boost::reference_wrapper var) return ConstVariableFactory(var); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/Variables.hh b/senf/Utils/Console/Variables.hh index ee78fbc..a2cf855 100644 --- a/senf/Utils/Console/Variables.hh +++ b/senf/Utils/Console/Variables.hh @@ -34,7 +34,7 @@ #include "Variables.ih" //#include "Variables.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -185,7 +185,7 @@ namespace factory { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Variables.cci" //#include "Variables.ct" #include "Variables.cti" diff --git a/senf/Utils/Console/Variables.ih b/senf/Utils/Console/Variables.ih index f76e32f..1c8d7e2 100644 --- a/senf/Utils/Console/Variables.ih +++ b/senf/Utils/Console/Variables.ih @@ -30,7 +30,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -84,7 +84,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Console/Variables.test.cc b/senf/Utils/Console/Variables.test.cc index 6269b3f..90a4022 100644 --- a/senf/Utils/Console/Variables.test.cc +++ b/senf/Utils/Console/Variables.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { void testParser(senf::console::ParseCommandInfo::TokensRange const &, int & value) @@ -131,7 +131,7 @@ COMPILE_FAIL(constVariable) #endif -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Console/main.test.cc b/senf/Utils/Console/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Utils/Console/main.test.cc +++ b/senf/Utils/Console/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Daemon/Daemon.cc b/senf/Utils/Daemon/Daemon.cc index f866dca..ec9bd58 100644 --- a/senf/Utils/Daemon/Daemon.cc +++ b/senf/Utils/Daemon/Daemon.cc @@ -53,7 +53,7 @@ //#include "Daemon.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #define LIBC_CALL(fn, args) if (fn args < 0) \ SENF_THROW_SYSTEM_EXCEPTION(#fn "()") @@ -61,7 +61,7 @@ #define LIBC_CALL_RV(var, fn, args) \ int var (fn args); if (var < 0) SENF_THROW_SYSTEM_EXCEPTION(#fn "()") -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Daemon prefix_ senf::Daemon::~Daemon() @@ -296,7 +296,7 @@ prefix_ senf::Daemon & senf::Daemon::instance() return *instance_; } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::Daemon::Daemon() @@ -309,7 +309,7 @@ prefix_ senf::Daemon::Daemon() senf::Daemon * senf::Daemon::instance_ (0); -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::Daemon::configure() @@ -579,7 +579,7 @@ prefix_ void senf::Daemon::installSighandlers() #endif } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::DaemonWatcher prefix_ senf::detail::DaemonWatcher::DaemonWatcher(int pid, int coutpipe, int cerrpipe, @@ -604,7 +604,7 @@ prefix_ void senf::detail::DaemonWatcher::run() scheduler::process(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::detail::DaemonWatcher::pipeClosed(int id) @@ -650,7 +650,7 @@ prefix_ void senf::detail::DaemonWatcher::childOk() scheduler::terminate(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::detail::DaemonWatcher::Forwarder prefix_ senf::detail::DaemonWatcher::Forwarder::Forwarder(int src, Callback cb) @@ -741,7 +741,7 @@ prefix_ void senf::detail::DaemonWatcher::Forwarder::writeData(int event, Target #undef LIBC_CALL #undef LIBC_CALL_RV -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Daemon.mpp" diff --git a/senf/Utils/Daemon/Daemon.cci b/senf/Utils/Daemon/Daemon.cci index 8ae89db..435b8c3 100644 --- a/senf/Utils/Daemon/Daemon.cci +++ b/senf/Utils/Daemon/Daemon.cci @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::detail::DaemonWatcher::Forwarder::Target::Target(Forwarder & fwd, int fd_) : fd (fd_), offset (0), @@ -38,7 +38,7 @@ prefix_ senf::detail::DaemonWatcher::Forwarder::Target::Target(Forwarder & fwd, fd, scheduler::FdEvent::EV_WRITE, false) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Daemon/Daemon.hh b/senf/Utils/Daemon/Daemon.hh index 747120f..9c824fe 100644 --- a/senf/Utils/Daemon/Daemon.hh +++ b/senf/Utils/Daemon/Daemon.hh @@ -31,20 +31,21 @@ #include //#include "Daemon.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /** \brief %Daemon process - The %Daemon class provides simple management for daemon processes. Specifically, it implements + The %Daemon class provides simple management for daemon processes. Specifically, it + implements \li Safe startup. If the startup fails, the foreground process which launches the daemon will terminate with an appropriate error exit code. \li Straight forward application initialization. The daemon process is forked before - even initializing the application. The initialization procedure must not cater for a - later fork(). - \li Automatic pid file management. The daemon will not be started, if a valid pid file is - found. Stale pid files are automatically removed. + even initializing the application. The initialization procedure doesn't need to cater + for a later fork(). + \li Automatic pid file management. The daemon will not be started, if a valid pid + file is found. Stale pid files are automatically removed. \li Console log management. It is possible, to redirect standard output and error to one or two log files. Messages pertaining to application initialization will be written to both the console and the log file whereas later messages will be directed to the log @@ -105,7 +106,7 @@ namespace senf { public: SENF_LOG_CLASS_AREA(); - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// // Types /// Select standard stream to redirect @@ -115,15 +116,15 @@ namespace senf { , Both /** Both, standard output and error stream */ }; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///\{ + //\{ virtual ~Daemon(); - ///\} + //\} ///\name Parameters - ///\{ + //\{ void daemonize(bool); ///< Configure whether to run in fore- or background bool daemon(); ///< \c true, if running as daemon @@ -143,9 +144,9 @@ namespace senf { daemon startup. If another running instance of the daemon is detected, starting the daemon will fail. */ - ///\} + //\} ///\name Auxiliary helpers - ///\{ + //\{ void detach(); ///< Detach into background now /**< This is \e not the same as forking. The process will @@ -165,7 +166,7 @@ namespace senf { /**< This is used when rotating the logs. By default, SIGHUP calls logReopen. */ - ///\} + //\} int start(int argc, char const ** argv); ///< Called from main() to launch daemon. /**< Normally not called directly but from the @@ -241,7 +242,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Daemon.cci" //#include "Daemon.ct" //#include "Daemon.cti" diff --git a/senf/Utils/Daemon/Daemon.ih b/senf/Utils/Daemon/Daemon.ih index 5a237e3..a691ab1 100644 --- a/senf/Utils/Daemon/Daemon.ih +++ b/senf/Utils/Daemon/Daemon.ih @@ -35,7 +35,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -117,7 +117,7 @@ namespace detail { }} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Daemon/Daemon.test.cc b/senf/Utils/Daemon/Daemon.test.cc index bea493c..f4e61c0 100644 --- a/senf/Utils/Daemon/Daemon.test.cc +++ b/senf/Utils/Daemon/Daemon.test.cc @@ -42,7 +42,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -155,7 +155,7 @@ SENF_AUTO_UNIT_TEST(testDaemon) SENF_CHECK_NO_THROW( boost::filesystem::remove("testDaemon.log.1") ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Daemon/main.test.cc b/senf/Utils/Daemon/main.test.cc index 768c5aa..8db71d6 100644 --- a/senf/Utils/Daemon/main.test.cc +++ b/senf/Utils/Daemon/main.test.cc @@ -31,14 +31,14 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(testMain) { BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/DiscardStream.cci b/senf/Utils/DiscardStream.cci index cb83794..9e4e016 100644 --- a/senf/Utils/DiscardStream.cci +++ b/senf/Utils/DiscardStream.cci @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ std::streamsize senf::DiscardSink::write(char const * s, std::streamsize n) { @@ -40,7 +40,7 @@ prefix_ senf::DiscardStream::DiscardStream() open(DiscardSink()); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/DiscardStream.hh b/senf/Utils/DiscardStream.hh index 5879256..c32aa41 100644 --- a/senf/Utils/DiscardStream.hh +++ b/senf/Utils/DiscardStream.hh @@ -31,7 +31,7 @@ #include //#include "DiscardStream.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -51,7 +51,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "DiscardStream.cci" //#include "DiscardStream.ct" //#include "DiscardStream.cti" diff --git a/senf/Utils/DiscardStream.test.cc b/senf/Utils/DiscardStream.test.cc index 5232932..20c5b04 100644 --- a/senf/Utils/DiscardStream.test.cc +++ b/senf/Utils/DiscardStream.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(discardStream) { @@ -41,7 +41,7 @@ SENF_AUTO_UNIT_TEST(discardStream) SENF_CHECK_NO_THROW( stream << "discard me" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Exception.cc b/senf/Utils/Exception.cc index 39c132e..39b9503 100644 --- a/senf/Utils/Exception.cc +++ b/senf/Utils/Exception.cc @@ -35,9 +35,9 @@ #include "Backtrace.hh" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Exception #ifdef SENF_DEBUG @@ -56,7 +56,7 @@ prefix_ void senf::ExceptionMixin::addBacktrace() } #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Exception prefix_ senf::Exception::~Exception() @@ -69,7 +69,7 @@ prefix_ char const * senf::Exception::what() return what_.c_str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SystemException prefix_ void senf::SystemException::init(std::string const & descr, int code @@ -84,7 +84,7 @@ prefix_ void senf::SystemException::init(std::string const & descr, int code if (! descr.empty()) (*this) << " " << descr; } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Exception.cci b/senf/Utils/Exception.cci index f51f78a..d97c9ab 100644 --- a/senf/Utils/Exception.cci +++ b/senf/Utils/Exception.cci @@ -25,9 +25,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ExceptionMixin prefix_ senf::ExceptionMixin::ExceptionMixin(std::string const & description) @@ -63,14 +63,14 @@ prefix_ void senf::ExceptionMixin::append(std::string text) what_ += text; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::Exception prefix_ senf::Exception::Exception(std::string const & description) : ExceptionMixin(description) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::SystemException prefix_ senf::SystemException::SystemException(std::string const & descr _SENF_EXC_DEBUG_ARGS_ND) @@ -122,7 +122,7 @@ prefix_ senf::SystemException::~SystemException() throw() {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Exception.cti b/senf/Utils/Exception.cti index 4fb5379..76f1fbc 100644 --- a/senf/Utils/Exception.cti +++ b/senf/Utils/Exception.cti @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ typename boost::enable_if< boost::is_convertible, Exc & >::type @@ -39,7 +39,7 @@ senf::operator<<(Exc const & exc, Arg const & arg) return const_cast(exc); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::WrapExcecption template @@ -59,7 +59,7 @@ prefix_ char const * senf::WrapException::what() return what_.c_str(); } -/////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Exception.hh b/senf/Utils/Exception.hh index 7db4762..87d2055 100644 --- a/senf/Utils/Exception.hh +++ b/senf/Utils/Exception.hh @@ -37,7 +37,7 @@ #include //#include "Exception.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup exception Exception classes @@ -278,9 +278,9 @@ namespace senf { class SystemException : public Exception { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit SystemException(std::string const & descr = "" _SENF_EXC_DEBUG_ARGS); explicit SystemException(int code _SENF_EXC_DEBUG_ARGS); @@ -288,8 +288,8 @@ namespace senf { virtual ~SystemException() throw(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// int errorNumber() const; ///< Error code (\c errno number) char const * errorString() const; ///< Error string (\c strerror() value) @@ -314,7 +314,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Exception.cci" //#include "Exception.ct" #include "Exception.cti" diff --git a/senf/Utils/Exception.test.cc b/senf/Utils/Exception.test.cc index 3de5680..d9f1297 100644 --- a/senf/Utils/Exception.test.cc +++ b/senf/Utils/Exception.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(wrapException) { @@ -93,7 +93,7 @@ SENF_AUTO_UNIT_TEST(errnoException) } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Externals.dox b/senf/Utils/Externals.dox index 3c1e96c..63e2d0b 100644 --- a/senf/Utils/Externals.dox +++ b/senf/Utils/Externals.dox @@ -1,6 +1,6 @@ /**\defgroup externals External objects referenced from within SENF */ ///\addtogroup externals -///\{ +//\{ namespace boost { class array {}; } namespace boost { class base_from_member {}; } namespace boost { class enable_if {}; } @@ -17,4 +17,4 @@ namespace boost { namespace spirit { class grammar_def {}; } } namespace boost { namespace iostreams { class sink {}; } } namespace std { class exception {}; } namespace std { class string {}; } -///\} +//\} diff --git a/senf/Utils/Format.cc b/senf/Utils/Format.cc index 2e511b2..382c870 100644 --- a/senf/Utils/Format.cc +++ b/senf/Utils/Format.cc @@ -34,7 +34,7 @@ //#include "Format.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -155,7 +155,7 @@ prefix_ std::string senf::format::detail::dumpintUnsigned(unsigned long long v, unsigned int senf::format::IndentHelper::static_level = 0; -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Format.mpp" diff --git a/senf/Utils/Format.cci b/senf/Utils/Format.cci index b9cf5c5..2f3765e 100644 --- a/senf/Utils/Format.cci +++ b/senf/Utils/Format.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::format::eng prefix_ senf::format::eng::eng(float v, float d) @@ -153,7 +153,7 @@ prefix_ senf::format::eng const & senf::format::eng::right() return *this; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::format::IndentHelper prefix_ senf::format::IndentHelper::IndentHelper() @@ -191,7 +191,7 @@ prefix_ std::ostream & senf::format::operator<<(std::ostream & os, senf::format: -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Format.cti b/senf/Utils/Format.cti index e70cc4a..d7a6c2f 100644 --- a/senf/Utils/Format.cti +++ b/senf/Utils/Format.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ std::string @@ -58,7 +58,7 @@ senf::format::dumpint(T const & v, typename boost::enable_if::digits); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Format.hh b/senf/Utils/Format.hh index 502a4dd..42b92d1 100644 --- a/senf/Utils/Format.hh +++ b/senf/Utils/Format.hh @@ -34,7 +34,7 @@ #include //#include "Format.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace format { @@ -257,7 +257,7 @@ namespace format { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Format.cci" //#include "Format.ct" #include "Format.cti" diff --git a/senf/Utils/Format.ih b/senf/Utils/Format.ih index fb889a4..ea1e295 100644 --- a/senf/Utils/Format.ih +++ b/senf/Utils/Format.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace format { @@ -39,7 +39,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Format.test.cc b/senf/Utils/Format.test.cc index 3db080f..62e7c57 100644 --- a/senf/Utils/Format.test.cc +++ b/senf/Utils/Format.test.cc @@ -37,7 +37,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(formatEng) { @@ -174,7 +174,7 @@ SENF_AUTO_UNIT_TEST(indent) " f2_3\n"); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/IgnoreValue.cti b/senf/Utils/IgnoreValue.cti index ccfa45e..c990d45 100644 --- a/senf/Utils/IgnoreValue.cti +++ b/senf/Utils/IgnoreValue.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void senf::IGNORE(T const &) @@ -38,7 +38,7 @@ template prefix_ void senf::IGNORE(T const *) {} -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/IgnoreValue.hh b/senf/Utils/IgnoreValue.hh index 061193d..366eaf2 100644 --- a/senf/Utils/IgnoreValue.hh +++ b/senf/Utils/IgnoreValue.hh @@ -29,7 +29,7 @@ // Custom includes //#include "IgnoreValue.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -46,7 +46,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IgnoreValue.cci" //#include "IgnoreValue.ct" #include "IgnoreValue.cti" diff --git a/senf/Utils/IpChecksum.cci b/senf/Utils/IpChecksum.cci index dd6611a..17ed8a0 100644 --- a/senf/Utils/IpChecksum.cci +++ b/senf/Utils/IpChecksum.cci @@ -26,7 +26,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::IpChecksum::IpChecksum() : sum_(0), odd_(false) @@ -47,7 +47,7 @@ prefix_ boost::uint16_t senf::IpChecksum::sum() return ~ v; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/IpChecksum.cti b/senf/Utils/IpChecksum.cti index 782bd60..814a8f1 100644 --- a/senf/Utils/IpChecksum.cti +++ b/senf/Utils/IpChecksum.cti @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void senf::IpChecksum::feed(InputIterator b, InputIterator e) @@ -37,7 +37,7 @@ prefix_ void senf::IpChecksum::feed(InputIterator b, InputIterator e) feed(*b); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/IpChecksum.hh b/senf/Utils/IpChecksum.hh index 96d4902..d5b73da 100644 --- a/senf/Utils/IpChecksum.hh +++ b/senf/Utils/IpChecksum.hh @@ -30,7 +30,7 @@ #include //#include "IpChecksum.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -49,17 +49,17 @@ namespace senf { class IpChecksum { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ IpChecksum(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void feed(boost::uint8_t byte); ///< Feed single byte @@ -79,7 +79,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IpChecksum.cci" //#include "IpChecksum.ct" #include "IpChecksum.cti" diff --git a/senf/Utils/IpChecksum.test.cc b/senf/Utils/IpChecksum.test.cc index a1602b2..ea52a0a 100644 --- a/senf/Utils/IpChecksum.test.cc +++ b/senf/Utils/IpChecksum.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(ipChecksum) { @@ -47,7 +47,7 @@ SENF_AUTO_UNIT_TEST(ipChecksum) } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/IteratorTraits.cti b/senf/Utils/IteratorTraits.cti index 36ac108..203cf28 100644 --- a/senf/Utils/IteratorTraits.cti +++ b/senf/Utils/IteratorTraits.cti @@ -29,7 +29,7 @@ #include #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ typename std::iterator_traits::pointer senf::storage_iterator(Iterator i) @@ -38,7 +38,7 @@ prefix_ typename std::iterator_traits::pointer senf::storage_iterator( } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/IteratorTraits.hh b/senf/Utils/IteratorTraits.hh index e044a74..dbd9255 100644 --- a/senf/Utils/IteratorTraits.hh +++ b/senf/Utils/IteratorTraits.hh @@ -32,7 +32,7 @@ #include //#include "IteratorTraits.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -107,7 +107,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "IteratorTraits.cci" //#include "IteratorTraits.ct" #include "IteratorTraits.cti" diff --git a/senf/Utils/IteratorTraits.ih b/senf/Utils/IteratorTraits.ih index a536042..d0f56b1 100644 --- a/senf/Utils/IteratorTraits.ih +++ b/senf/Utils/IteratorTraits.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -52,7 +52,7 @@ namespace senf { } -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/IteratorTraits.test.cc b/senf/Utils/IteratorTraits.test.cc index 6575a60..de9e686 100644 --- a/senf/Utils/IteratorTraits.test.cc +++ b/senf/Utils/IteratorTraits.test.cc @@ -35,7 +35,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(iteratorTraits) { @@ -47,7 +47,7 @@ SENF_AUTO_UNIT_TEST(iteratorTraits) #endif } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/AreaRegistry.cc b/senf/Utils/Logger/AreaRegistry.cc index 22f4291..38b3032 100644 --- a/senf/Utils/Logger/AreaRegistry.cc +++ b/senf/Utils/Logger/AreaRegistry.cc @@ -31,9 +31,9 @@ //#include "AreaRegistry.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::AreaBase prefix_ senf::log::detail::AreaBase::AreaBase() @@ -106,7 +106,7 @@ prefix_ void senf::log::detail::AreaBase::write(time_type timestamp, i->target->write(timestamp, stream, *this, level, msg); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "AreaRegistry.mpp" diff --git a/senf/Utils/Logger/AreaRegistry.cci b/senf/Utils/Logger/AreaRegistry.cci index 85380a2..7c27eef 100644 --- a/senf/Utils/Logger/AreaRegistry.cci +++ b/senf/Utils/Logger/AreaRegistry.cci @@ -31,9 +31,9 @@ #include "StreamRegistry.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::AreaRegistry prefix_ std::string const & @@ -68,7 +68,7 @@ senf::log::AreaRegistry::lookup(std::string const & name) return i == registry_.end() ? 0 : i->second; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::AreaBase prefix_ std::string senf::log::detail::AreaBase::fullName() @@ -101,7 +101,7 @@ prefix_ unsigned senf::log::detail::AreaBase::limit(StreamBase const & stream) DISABLED::value : routingCache_[stream.index].limit; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/AreaRegistry.hh b/senf/Utils/Logger/AreaRegistry.hh index f6c49a6..21ebc12 100644 --- a/senf/Utils/Logger/AreaRegistry.hh +++ b/senf/Utils/Logger/AreaRegistry.hh @@ -34,7 +34,7 @@ //#include "AreaRegistry.mpp" #include "AreaRegistry.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -93,7 +93,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "AreaRegistry.cci" //#include "AreaRegistry.ct" //#include "AreaRegistry.cti" diff --git a/senf/Utils/Logger/AreaRegistry.ih b/senf/Utils/Logger/AreaRegistry.ih index 477ff25..bd0238c 100644 --- a/senf/Utils/Logger/AreaRegistry.ih +++ b/senf/Utils/Logger/AreaRegistry.ih @@ -33,7 +33,7 @@ #include "Levels.hh" #include "TimeSource.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -82,7 +82,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/AreaRegistry.test.cc b/senf/Utils/Logger/AreaRegistry.test.cc index d7b8dbf..b8fea46 100644 --- a/senf/Utils/Logger/AreaRegistry.test.cc +++ b/senf/Utils/Logger/AreaRegistry.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(areaRegistry) { @@ -51,7 +51,7 @@ SENF_AUTO_UNIT_TEST(areaRegistry) #endif } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/Config.hh b/senf/Utils/Logger/Config.hh index ccd8ba4..a7eaa89 100644 --- a/senf/Utils/Logger/Config.hh +++ b/senf/Utils/Logger/Config.hh @@ -31,7 +31,7 @@ //#include "Config.mpp" #include "Config.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup config Configuration @@ -152,7 +152,7 @@ namespace senf { namespace log { ///\ingroup config - ///\{ + //\{ # ifdef DOXYGEN @@ -218,11 +218,11 @@ namespace log { >= detail::Config::compileLimit::value ); }; - ///\} + //\} }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Config.cci" //#include "Config.ct" //#include "Config.cti" diff --git a/senf/Utils/Logger/Config.ih b/senf/Utils/Logger/Config.ih index d6c88c0..f3735b6 100644 --- a/senf/Utils/Logger/Config.ih +++ b/senf/Utils/Logger/Config.ih @@ -36,7 +36,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -131,7 +131,7 @@ namespace detail { -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/Config.test.cc b/senf/Utils/Logger/Config.test.cc index f5abd00..cfa757c 100644 --- a/senf/Utils/Logger/Config.test.cc +++ b/senf/Utils/Logger/Config.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(logConfig) { @@ -55,7 +55,7 @@ SENF_AUTO_UNIT_TEST(logConfig) senf::log::VERBOSE >::value )); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/ConsoleTarget.cci b/senf/Utils/Logger/ConsoleTarget.cci index 5fc13c1..5e193fd 100644 --- a/senf/Utils/Logger/ConsoleTarget.cci +++ b/senf/Utils/Logger/ConsoleTarget.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::ConsoleTarget prefix_ senf::log::ConsoleTarget & senf::log::ConsoleTarget::instance() @@ -43,7 +43,7 @@ prefix_ senf::log::ConsoleTarget::ConsoleTarget() : IOStreamTarget("console", std::cout) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/ConsoleTarget.hh b/senf/Utils/Logger/ConsoleTarget.hh index 1d94c3d..be03020 100644 --- a/senf/Utils/Logger/ConsoleTarget.hh +++ b/senf/Utils/Logger/ConsoleTarget.hh @@ -30,7 +30,7 @@ #include "IOStreamTarget.hh" //#include "ConsoleTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -50,14 +50,14 @@ namespace log { class ConsoleTarget : public IOStreamTarget { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ static ConsoleTarget & instance(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// private: ConsoleTarget(); @@ -65,7 +65,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ConsoleTarget.cci" //#include "ConsoleTarget.ct" //#include "ConsoleTarget.cti" diff --git a/senf/Utils/Logger/Definitions.hh b/senf/Utils/Logger/Definitions.hh index 314937b..c06af1e 100644 --- a/senf/Utils/Logger/Definitions.hh +++ b/senf/Utils/Logger/Definitions.hh @@ -30,15 +30,15 @@ //#include "Definitions.mpp" #include "Definitions.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { ///\addtogroup logging - ///\{ + //\{ ///\name Defining logger objects - ///\{ + //\{ /** \brief Define log stream @@ -118,12 +118,12 @@ namespace log { /** \brief Default global %log area */ SENF_LOG_DEFINE_AREA(DefaultArea); - ///\} - ///\} + //\} + //\} }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Definitions.cci" //#include "Definitions.ct" //#include "Definitions.cti" diff --git a/senf/Utils/Logger/Definitions.ih b/senf/Utils/Logger/Definitions.ih index b222293..1e81d28 100644 --- a/senf/Utils/Logger/Definitions.ih +++ b/senf/Utils/Logger/Definitions.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Implementation details concerning SENF_LOG_CLASS_AREA // @@ -86,7 +86,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/FileTarget.cc b/senf/Utils/Logger/FileTarget.cc index 8a980e1..b0a61c5 100644 --- a/senf/Utils/Logger/FileTarget.cc +++ b/senf/Utils/Logger/FileTarget.cc @@ -35,7 +35,7 @@ //#include "FileTarget.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -129,7 +129,7 @@ senf::log::FileTarget::RegisterConsole::create(std::string const & filename, return target.consoleDir().node().thisptr(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "FileTarget.mpp" diff --git a/senf/Utils/Logger/FileTarget.hh b/senf/Utils/Logger/FileTarget.hh index 505cdc6..e3b454c 100644 --- a/senf/Utils/Logger/FileTarget.hh +++ b/senf/Utils/Logger/FileTarget.hh @@ -33,7 +33,7 @@ #include "IOStreamTarget.hh" //#include "FileTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -65,15 +65,15 @@ namespace log { typedef boost::base_from_member ofstream_t; public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit FileTarget(std::string const & filename, std::string const & nodename = ""); ///< Construct FileTarget writing to \a file - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// void reopen(); ///< Reopen %log after log-file rotation void reopen(std::string const & file); ///< Reopen %log under a new name @@ -93,7 +93,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "FileTarget.cci" //#include "FileTarget.ct" //#include "FileTarget.cti" diff --git a/senf/Utils/Logger/FileTarget.test.cc b/senf/Utils/Logger/FileTarget.test.cc index be4c63d..e541f0b 100644 --- a/senf/Utils/Logger/FileTarget.test.cc +++ b/senf/Utils/Logger/FileTarget.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(fileTarget) { @@ -73,7 +73,7 @@ SENF_AUTO_UNIT_TEST(fileTarget) SENF_CHECK_NO_THROW( boost::filesystem::remove(filename) ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/IOStreamTarget.cc b/senf/Utils/Logger/IOStreamTarget.cc index b020e34..c302412 100644 --- a/senf/Utils/Logger/IOStreamTarget.cc +++ b/senf/Utils/Logger/IOStreamTarget.cc @@ -34,9 +34,9 @@ //#include "IOStreamTarget.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::IOStreamTarget prefix_ void senf::log::IOStreamTarget::v_write(time_type timestamp, @@ -66,7 +66,7 @@ prefix_ void senf::log::IOStreamTarget::v_write(time_type timestamp, } } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "IOStreamTarget.mpp" diff --git a/senf/Utils/Logger/IOStreamTarget.cci b/senf/Utils/Logger/IOStreamTarget.cci index 6b61f2c..fa93614 100644 --- a/senf/Utils/Logger/IOStreamTarget.cci +++ b/senf/Utils/Logger/IOStreamTarget.cci @@ -28,13 +28,13 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::log::IOStreamTarget::IOStreamTarget(std::string const & name, std::ostream & os) : Target(name), LogFormat(consoleDir()), stream_ (os) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/IOStreamTarget.hh b/senf/Utils/Logger/IOStreamTarget.hh index ff66dff..b70f02d 100644 --- a/senf/Utils/Logger/IOStreamTarget.hh +++ b/senf/Utils/Logger/IOStreamTarget.hh @@ -33,7 +33,7 @@ #include "LogFormat.hh" //#include "IOStreamTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -53,14 +53,14 @@ namespace log { : public Target, private detail::LogFormat { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ IOStreamTarget(std::string const & name, std::ostream & os); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// using detail::LogFormat::showTime; using detail::LogFormat::showStream; @@ -81,7 +81,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "IOStreamTarget.cci" //#include "IOStreamTarget.ct" //#include "IOStreamTarget.cti" diff --git a/senf/Utils/Logger/Levels.hh b/senf/Utils/Logger/Levels.hh index 35b58bd..5c39205 100644 --- a/senf/Utils/Logger/Levels.hh +++ b/senf/Utils/Logger/Levels.hh @@ -30,7 +30,7 @@ //#include "Levels.mpp" #include "Levels.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -73,7 +73,7 @@ namespace log { simpler to parse them if they are all of the same type. */ - ///\{ + //\{ /** \brief Log level %VERBOSE \see loglevels */ @@ -107,14 +107,14 @@ namespace log { \see loglevels */ struct NONE : public detail::LevelBase { static unsigned const value = 0; }; - ///\} + //\} static char const * const LEVELNAMES[8] = { "NONE", "VERBOSE", "NOTICE", "MESSAGE", "IMPORTANT", "CRITICAL", "FATAL", "DISABLED" }; }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Levels.cci" //#include "Levels.ct" //#include "Levels.cti" diff --git a/senf/Utils/Logger/Levels.ih b/senf/Utils/Logger/Levels.ih index 4d04452..ed1e5f3 100644 --- a/senf/Utils/Logger/Levels.ih +++ b/senf/Utils/Logger/Levels.ih @@ -28,7 +28,7 @@ // Custom includes -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -39,7 +39,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/Log.hh b/senf/Utils/Logger/Log.hh index 30c8d2a..00f192c 100644 --- a/senf/Utils/Logger/Log.hh +++ b/senf/Utils/Logger/Log.hh @@ -35,7 +35,7 @@ //#include "Log.mpp" #include "Log.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup logging Logging commands @@ -93,10 +93,10 @@ */ ///\addtogroup logging -///\{ +//\{ ///\name Generating log messages -///\{ +//\{ /** \brief Write log message @@ -150,10 +150,10 @@ SENF_LOG_BLOCK_TPL_( SENF_LOG_MERGE_PARAMETERS_TPL(BOOST_PP_SEQ_POP_BACK(args)), \ BOOST_PP_SEQ_ELEM(BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(args)),args)) -///\} -///\} +//\} +//\} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Log.cci" //#include "Log.ct" //#include "Log.cti" diff --git a/senf/Utils/Logger/Log.ih b/senf/Utils/Logger/Log.ih index d5d633c..db4a903 100644 --- a/senf/Utils/Logger/Log.ih +++ b/senf/Utils/Logger/Log.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #define SENF_LOG_BLOCK_(parameters, block) \ do { \ @@ -55,7 +55,7 @@ } \ } while(0) -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/Log.test.cc b/senf/Utils/Logger/Log.test.cc index ba1d448..5750d3d 100644 --- a/senf/Utils/Logger/Log.test.cc +++ b/senf/Utils/Logger/Log.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(logger) { @@ -83,7 +83,7 @@ SENF_AUTO_UNIT_TEST(logger) target.clear(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/LogFormat.cc b/senf/Utils/Logger/LogFormat.cc index a9812fb..67f7790 100644 --- a/senf/Utils/Logger/LogFormat.cc +++ b/senf/Utils/Logger/LogFormat.cc @@ -37,7 +37,7 @@ //#include "LogFormat.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::log::detail::LogFormat::LogFormat() : tag_ (detail::getDefaultTag()), noformat_ (false), showTime_ (true), @@ -147,7 +147,7 @@ prefix_ std::string senf::log::detail::LogFormat::prefix(time_type timestamp, return datestream_.str(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::log::detail::quoteNonPrintable(std::string & s) { @@ -163,7 +163,7 @@ prefix_ std::string senf::log::detail::getDefaultTag() return ss.str(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "LogFormat.mpp" diff --git a/senf/Utils/Logger/LogFormat.cci b/senf/Utils/Logger/LogFormat.cci index 45f596f..4173975 100644 --- a/senf/Utils/Logger/LogFormat.cci +++ b/senf/Utils/Logger/LogFormat.cci @@ -28,7 +28,7 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::log::detail::LogFormat::showTime(bool flag) { @@ -61,7 +61,7 @@ prefix_ bool senf::log::detail::LogFormat::isPlainFormat() return tag_.empty() && !showTime_ && !showStream_ && !showLevel_ && !showArea_; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/LogFormat.hh b/senf/Utils/Logger/LogFormat.hh index 62f01da..8e2469c 100644 --- a/senf/Utils/Logger/LogFormat.hh +++ b/senf/Utils/Logger/LogFormat.hh @@ -32,7 +32,7 @@ #include //#include "LogFormat.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -89,7 +89,7 @@ namespace detail { }}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "LogFormat.cci" //#include "LogFormat.ct" //#include "LogFormat.cti" diff --git a/senf/Utils/Logger/Parameters.hh b/senf/Utils/Logger/Parameters.hh index 7ecada1..d3d7fc9 100644 --- a/senf/Utils/Logger/Parameters.hh +++ b/senf/Utils/Logger/Parameters.hh @@ -30,12 +30,12 @@ //#include "Parameters.mpp" #include "Parameters.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// ///\addtogroup logging -///\{ +//\{ ///\name Default parameters -///\{ +//\{ /** \brief Set scope default log stream \hideinitializer @@ -52,10 +52,10 @@ */ #define SENF_LOG_DEFAULT_LEVEL(level) typedef level SENFLogDefaultLevel -///\} -///\} +//\} +//\} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "Parameters.cci" //#include "Parameters.ct" //#include "Parameters.cti" diff --git a/senf/Utils/Logger/Parameters.ih b/senf/Utils/Logger/Parameters.ih index 7abeada..1dcec41 100644 --- a/senf/Utils/Logger/Parameters.ih +++ b/senf/Utils/Logger/Parameters.ih @@ -40,7 +40,7 @@ #include "Config.hh" #include "Target.hh" -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -163,7 +163,7 @@ typedef senf::log::NONE SENFLogDefaultLevel; senf::log::detail::empty, \ (SENFLogDefaultStream)(SENFLogDefaultArea)(SENFLogDefaultLevel)args) > -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/Parameters.test.cc b/senf/Utils/Logger/Parameters.test.cc index 52a9656..80620ea 100644 --- a/senf/Utils/Logger/Parameters.test.cc +++ b/senf/Utils/Logger/Parameters.test.cc @@ -33,11 +33,11 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // Tested in Log.test.cc -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/SenfLog.hh b/senf/Utils/Logger/SenfLog.hh index 86116e5..d0ce135 100644 --- a/senf/Utils/Logger/SenfLog.hh +++ b/senf/Utils/Logger/SenfLog.hh @@ -31,7 +31,7 @@ #include "Logger.hh" //#include "SenfLog.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -40,7 +40,7 @@ namespace senf { } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "SenfLog.cci" //#include "SenfLog.ct" //#include "SenfLog.cti" diff --git a/senf/Utils/Logger/StreamRegistry.cc b/senf/Utils/Logger/StreamRegistry.cc index 44f5c96..06dc796 100644 --- a/senf/Utils/Logger/StreamRegistry.cc +++ b/senf/Utils/Logger/StreamRegistry.cc @@ -30,17 +30,17 @@ //#include "Stream.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// unsigned senf::log::detail::StreamBase::nStreams = 0; -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::StreamBase prefix_ senf::log::detail::StreamBase::~StreamBase() {} -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Stream.mpp" diff --git a/senf/Utils/Logger/StreamRegistry.cci b/senf/Utils/Logger/StreamRegistry.cci index 4b19deb..87d4fad 100644 --- a/senf/Utils/Logger/StreamRegistry.cci +++ b/senf/Utils/Logger/StreamRegistry.cci @@ -29,9 +29,9 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::StreamRegistry prefix_ senf::log::StreamRegistry::StreamRegistry() @@ -61,7 +61,7 @@ senf::log::StreamRegistry::lookup(std::string const & name) return i == registry_.end() ? 0 : i->second; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::StreamBase prefix_ senf::log::detail::StreamBase::StreamBase() @@ -85,7 +85,7 @@ prefix_ void senf::log::detail::StreamBase::init() senf::log::StreamRegistry::instance().registerStream(*this); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/StreamRegistry.hh b/senf/Utils/Logger/StreamRegistry.hh index 3d14804..14a007b 100644 --- a/senf/Utils/Logger/StreamRegistry.hh +++ b/senf/Utils/Logger/StreamRegistry.hh @@ -36,7 +36,7 @@ //#include "StreamRegistry.mpp" #include "StreamRegistry.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -87,7 +87,7 @@ namespace log { }} -///////////////////////////////hh.e////////////////////////////////////////# +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "StreamRegistry.cci" //#include "StreamRegistry.ct" //#include "StreamRegistry.cti" diff --git a/senf/Utils/Logger/StreamRegistry.ih b/senf/Utils/Logger/StreamRegistry.ih index 91cba86..50f4496 100644 --- a/senf/Utils/Logger/StreamRegistry.ih +++ b/senf/Utils/Logger/StreamRegistry.ih @@ -29,7 +29,7 @@ // Custom includes #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -53,7 +53,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/StreamRegistry.test.cc b/senf/Utils/Logger/StreamRegistry.test.cc index acb9fb5..7dd3b9f 100644 --- a/senf/Utils/Logger/StreamRegistry.test.cc +++ b/senf/Utils/Logger/StreamRegistry.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(streamRegistry) { @@ -46,7 +46,7 @@ SENF_AUTO_UNIT_TEST(streamRegistry) BOOST_CHECK_EQUAL( senf::log::detail::StreamBase::nStreams, 3u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/StringTarget.cti b/senf/Utils/Logger/StringTarget.cti index a1e6a37..e2d7c46 100644 --- a/senf/Utils/Logger/StringTarget.cti +++ b/senf/Utils/Logger/StringTarget.cti @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::StringTarget prefix_ senf::log::StringTarget::StringTarget() @@ -49,7 +49,7 @@ prefix_ void senf::log::StringTarget::clear() } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/StringTarget.hh b/senf/Utils/Logger/StringTarget.hh index 78c620c..d6fcb47 100644 --- a/senf/Utils/Logger/StringTarget.hh +++ b/senf/Utils/Logger/StringTarget.hh @@ -31,7 +31,7 @@ #include "IOStreamTarget.hh" //#include "StringTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -48,17 +48,17 @@ namespace log { { typedef boost::base_from_member stream_base; public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ StringTarget(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// std::string str() const; ///< Get log messages accumulated so far void clear(); ///< Clear buffer @@ -71,7 +71,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "StringTarget.cci" //#include "StringTarget.ct" #include "StringTarget.cti" diff --git a/senf/Utils/Logger/SyslogTarget.cc b/senf/Utils/Logger/SyslogTarget.cc index 1df1989..071db90 100644 --- a/senf/Utils/Logger/SyslogTarget.cc +++ b/senf/Utils/Logger/SyslogTarget.cc @@ -33,7 +33,7 @@ //#include "SyslogTarget.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// int const senf::log::SyslogTarget::LEVELMAP[8] = { 0, LOG_DEBUG, LOG_INFO, LOG_NOTICE, LOG_WARNING, LOG_CRIT, LOG_EMERG, 0 }; @@ -93,7 +93,7 @@ senf::log::SyslogTarget::RegisterConsole::create(LogFacility facility) return target.consoleDir().node().thisptr(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "SyslogTarget.mpp" diff --git a/senf/Utils/Logger/SyslogTarget.cci b/senf/Utils/Logger/SyslogTarget.cci index 5f3ed0d..7bc020e 100644 --- a/senf/Utils/Logger/SyslogTarget.cci +++ b/senf/Utils/Logger/SyslogTarget.cci @@ -28,13 +28,13 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::log::SyslogTarget::SyslogTarget(int facility) : Target("syslog"), facility_ (facility) {} -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/SyslogTarget.hh b/senf/Utils/Logger/SyslogTarget.hh index 76508d9..03032b1 100644 --- a/senf/Utils/Logger/SyslogTarget.hh +++ b/senf/Utils/Logger/SyslogTarget.hh @@ -32,7 +32,7 @@ #include "Target.hh" //#include "SyslogTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -78,14 +78,14 @@ namespace log { : public Target { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit SyslogTarget(int facility = LOG_USER); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// private: void v_write(time_type timestamp, std::string const & stream, @@ -130,7 +130,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SyslogTarget.cci" //#include "SyslogTarget.ct" //#include "SyslogTarget.cti" diff --git a/senf/Utils/Logger/SyslogTarget.test.cc b/senf/Utils/Logger/SyslogTarget.test.cc index a838682..39bfa8d 100644 --- a/senf/Utils/Logger/SyslogTarget.test.cc +++ b/senf/Utils/Logger/SyslogTarget.test.cc @@ -33,7 +33,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// SENF_AUTO_UNIT_TEST(syslogTarget) { @@ -45,7 +45,7 @@ SENF_AUTO_UNIT_TEST(syslogTarget) BOOST_CHECK( true ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/SyslogUDPTarget.cc b/senf/Utils/Logger/SyslogUDPTarget.cc index 839b99f..bd7ed8f 100644 --- a/senf/Utils/Logger/SyslogUDPTarget.cc +++ b/senf/Utils/Logger/SyslogUDPTarget.cc @@ -36,7 +36,7 @@ //#include "SyslogUDPTarget.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ void senf::log::SyslogUDPTarget::init() { @@ -201,7 +201,7 @@ senf::log::SyslogUDPTarget::RegisterConsole::create(senf::INet6Address const & t return tg.consoleDir().node().thisptr(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "SyslogUDPTarget.mpp" diff --git a/senf/Utils/Logger/SyslogUDPTarget.cci b/senf/Utils/Logger/SyslogUDPTarget.cci index 0d49bea..6e7f90e 100644 --- a/senf/Utils/Logger/SyslogUDPTarget.cci +++ b/senf/Utils/Logger/SyslogUDPTarget.cci @@ -30,7 +30,7 @@ #include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::log::SyslogUDPTarget::SyslogUDPTarget(senf::INet4Address const & target, int facility) @@ -79,7 +79,7 @@ prefix_ void senf::log::SyslogUDPTarget::syslog(bool enabled) syslogFormat_ = enabled; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/SyslogUDPTarget.hh b/senf/Utils/Logger/SyslogUDPTarget.hh index e978951..fd14f7a 100644 --- a/senf/Utils/Logger/SyslogUDPTarget.hh +++ b/senf/Utils/Logger/SyslogUDPTarget.hh @@ -36,7 +36,7 @@ #include //#include "SyslogUDPTarget.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace log { @@ -93,20 +93,20 @@ namespace log { : public Target, private detail::LogFormat { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit SyslogUDPTarget(senf::INet4Address const & target, int facility = LOG_USER); explicit SyslogUDPTarget(senf::INet4SocketAddress const & target, int facility = LOG_USER); explicit SyslogUDPTarget(senf::INet6Address const & target, int facility = LOG_USER); explicit SyslogUDPTarget(senf::INet6SocketAddress const & target, int facility = LOG_USER); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// using detail::LogFormat::showTime; using detail::LogFormat::showStream; @@ -178,7 +178,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SyslogUDPTarget.cci" //#include "SyslogUDPTarget.ct" //#include "SyslogUDPTarget.cti" diff --git a/senf/Utils/Logger/SyslogUDPTarget.test.cc b/senf/Utils/Logger/SyslogUDPTarget.test.cc index 442c4c3..f2561fb 100644 --- a/senf/Utils/Logger/SyslogUDPTarget.test.cc +++ b/senf/Utils/Logger/SyslogUDPTarget.test.cc @@ -36,7 +36,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -88,7 +88,7 @@ SENF_AUTO_UNIT_TEST(syslogUDPTarget) BOOST_CHECK_EQUAL( server.read(), "<13> 0000000000.000000000 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/Target.cc b/senf/Utils/Logger/Target.cc index f73a8e4..2884449 100644 --- a/senf/Utils/Logger/Target.cc +++ b/senf/Utils/Logger/Target.cc @@ -34,9 +34,9 @@ //#include "Target.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::Target namespace senf { @@ -215,7 +215,7 @@ prefix_ void senf::log::Target::flush() updateRoutingCache(i->stream_, i->area_); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // protected members prefix_ senf::console::ScopedDirectory<> & senf::log::Target::consoleDir() @@ -223,7 +223,7 @@ prefix_ senf::console::ScopedDirectory<> & senf::log::Target::consoleDir() return consoleDir_(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::log::Target::route(detail::StreamBase const * stream, @@ -359,7 +359,7 @@ prefix_ void senf::log::Target::consoleUnroute(detail::LogParameters const & pm, unroute(pm.stream, pm.area, pm.level, action); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::TargetRegistry prefix_ void senf::log::detail::TargetRegistry::dynamicTarget(std::auto_ptr target) @@ -479,7 +479,7 @@ senf::log::detail::TargetRegistry::consoleSelf(std::ostream & os) return senf::console::Client::get(os).consoleDir().node().thisptr(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::LogParameters prefix_ void senf::log::detail::LogParameters::clear() @@ -508,7 +508,7 @@ senf::log::detail::LogParameters::defaultParameters() return pm; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace members prefix_ std::ostream & senf::log::operator<<(std::ostream & os, senf::log::Target::action_t const & action) @@ -579,7 +579,7 @@ senf_console_parse_argument(console::ParseCommandInfo::TokensRange const & token parseParamToken(i->value(), out); } -////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // I need to put this here, otherwise the file target will not be registered // if it is not used ... :-( @@ -587,7 +587,7 @@ senf::log::FileTarget::RegisterConsole senf::log::FileTarget::RegisterConsole::i senf::log::SyslogTarget::RegisterConsole senf::log::SyslogTarget::RegisterConsole::instance; senf::log::SyslogUDPTarget::RegisterConsole senf::log::SyslogUDPTarget::RegisterConsole::instance; -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "Target.mpp" diff --git a/senf/Utils/Logger/Target.cci b/senf/Utils/Logger/Target.cci index 374aab5..e642367 100644 --- a/senf/Utils/Logger/Target.cci +++ b/senf/Utils/Logger/Target.cci @@ -29,9 +29,9 @@ #include "AreaRegistry.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::Target prefix_ void senf::log::Target::route(action_t action, int index) @@ -74,7 +74,7 @@ prefix_ bool senf::log::Target::empty() return rib_.empty(); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::Target::RoutingEntry prefix_ senf::log::Target::RoutingEntry::RoutingEntry(detail::StreamBase const * stream, @@ -121,7 +121,7 @@ prefix_ senf::log::Target::action_t senf::log::Target::RoutingEntry::action() return action_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::TargetRegistry prefix_ void senf::log::detail::TargetRegistry::routed() @@ -139,7 +139,7 @@ prefix_ senf::console::ScopedDirectory<> & senf::log::detail::TargetRegistry::co return consoleDir_(); } -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::log::detail::TargetRegistry::unregisterTarget(Target * target) @@ -147,7 +147,7 @@ prefix_ void senf::log::detail::TargetRegistry::unregisterTarget(Target * target targets_.erase(target); } -/////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/Target.cti b/senf/Utils/Logger/Target.cti index 124aa2c..138ca5d 100644 --- a/senf/Utils/Logger/Target.cti +++ b/senf/Utils/Logger/Target.cti @@ -29,9 +29,9 @@ #include "Levels.hh" #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::Target // senf::log::Target::route @@ -84,7 +84,7 @@ prefix_ void senf::log::Target::unroute(action_t action) #endif -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // namespace senf::log::detail members template @@ -93,7 +93,7 @@ prefix_ void senf::log::detail::write(std::string const & msg) TargetRegistry::instance().write(Stream::instance(), Area::instance(), Level::value, msg); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/Target.hh b/senf/Utils/Logger/Target.hh index 40a2165..7682a06 100644 --- a/senf/Utils/Logger/Target.hh +++ b/senf/Utils/Logger/Target.hh @@ -39,7 +39,7 @@ #include //#include "Target.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// /** \defgroup targets Targets @@ -145,7 +145,7 @@ namespace log { class Target : private boost::noncopyable { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types /** \brief Routing action @@ -198,17 +198,17 @@ namespace log { typedef RIB::const_iterator iterator; ///< Routing table iterator typedef RIB::size_type size_type; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit Target(std::string const & name); virtual ~Target(); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// ///\name Routing - ///\{ + //\{ # ifdef DOXYGEN @@ -335,7 +335,7 @@ namespace log { # endif - ///\} + //\} /** \brief Exception: Invalid stream */ struct InvalidStreamException : public senf::Exception @@ -418,7 +418,7 @@ namespace log { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "Target.cci" //#include "Target.ct" #include "Target.cti" diff --git a/senf/Utils/Logger/Target.ih b/senf/Utils/Logger/Target.ih index 7a7c832..8cd0095 100644 --- a/senf/Utils/Logger/Target.ih +++ b/senf/Utils/Logger/Target.ih @@ -34,7 +34,7 @@ #include #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { @@ -200,7 +200,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif diff --git a/senf/Utils/Logger/Target.test.cc b/senf/Utils/Logger/Target.test.cc index 381df1c..0a8a299 100644 --- a/senf/Utils/Logger/Target.test.cc +++ b/senf/Utils/Logger/Target.test.cc @@ -34,7 +34,7 @@ #include #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace { @@ -110,7 +110,7 @@ SENF_AUTO_UNIT_TEST(target) BOOST_CHECK_EQUAL( target.size(), 0u ); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ diff --git a/senf/Utils/Logger/TimeSource.cc b/senf/Utils/Logger/TimeSource.cc index ff226a6..2883115 100644 --- a/senf/Utils/Logger/TimeSource.cc +++ b/senf/Utils/Logger/TimeSource.cc @@ -32,15 +32,15 @@ //#include "TimeSource.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::TimeSource prefix_ senf::log::TimeSource::~TimeSource() {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::SystemTimeSource prefix_ senf::log::time_type senf::log::SystemTimeSource::operator()() @@ -49,7 +49,7 @@ prefix_ senf::log::time_type senf::log::SystemTimeSource::operator()() return senf::ClockService::now(); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "TimeSource.mpp" diff --git a/senf/Utils/Logger/TimeSource.cci b/senf/Utils/Logger/TimeSource.cci index cf247c4..834194b 100644 --- a/senf/Utils/Logger/TimeSource.cci +++ b/senf/Utils/Logger/TimeSource.cci @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::log::detail::TimeSourceManager prefix_ senf::log::detail::TimeSourceManager::TimeSourceManager() @@ -47,7 +47,7 @@ prefix_ void senf::log::detail::TimeSourceManager::timeSource(std::auto_ptr