32 #ifndef DRAIN_CMD_SECTIONS_H_
33 #define DRAIN_CMD_SECTIONS_H_
35 #include <drain/Log.h>
41 #include "drain/util/ReferenceMap.h"
46 #include "CommandBank.h"
60 Logger mout(__FILE__, __FUNCTION__);
62 mout.
debug(__FUNCTION__ ,
':' , title ,
'(' , index ,
')' );
67 const std::string title;
69 const drain::Flagger::ivalue_t index;
71 operator const std::string & ()
const {
75 operator drain::Flagger::ivalue_t ()
const {
93 CommandSection(
const std::string & title, drain::Flagger::ivalue_t index) : title(title), index(index){
Definition: CommandSections.h:54
CommandSection(const std::string &title, drain::Flagger::ivalue_t index)
Definition: CommandSections.h:93
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition: Log.h:308
Logger & debug(const TT &... args)
Public, yet typically used "internally", when TIMING=true.
Definition: Log.h:676
Definition: DataSelector.cpp:1277
CommandBank & getCommandBank()
Global program command registry. Optional utility.
Definition: CommandBank.cpp:51
Definition: CommandSections.h:110
Definition: CommandSections.h:101
Definition: CommandSections.h:119