#include <ISSummaryManager.h>
Public Member Functions | |
void | write (const TestResult &t) |
For use by clients Writes to a given ostream the summary. | |
bool | addWriter (const std::string &testname, boost::shared_ptr< ISSummaryWriter > writer) |
concrete ISSummaryWriters should add themselves to the map using this mechanism | |
boost::shared_ptr< const ISSummaryWriter > | getWriter (const std::string &classname) const |
get the appropriateISSummaryWriter for the TestResult | |
Static Public Member Functions | |
static ISSummaryManager & | instance () |
get the instance of the singleton | |
Private Types | |
typedef map< std::string, boost::shared_ptr< const ISSummaryWriter > > | WriterMap |
Private Member Functions | |
~ISSummaryManager () | |
do NOT delete the singleton! | |
ISSummaryManager () | |
Singleton. | |
Private Attributes | |
WriterMap | theMap |
maps TestResult names to ISSummaryWriters |
Definition at line 33 of file ISSummaryManager.h.
|
do NOT delete the singleton!
Definition at line 20 of file ISSummaryManager.cpp. |
|
Singleton.
Definition at line 18 of file ISSummaryManager.cpp. |
|
concrete ISSummaryWriters should add themselves to the map using this mechanism
|
|
get the appropriateISSummaryWriter for the TestResult
Referenced by write(). |
|
get the instance of the singleton
Definition at line 22 of file ISSummaryManager.cpp. Referenced by SctAnalysis::AnalysisAlgorithm::finish(). |
|
For use by clients Writes to a given ostream the summary.
Definition at line 27 of file ISSummaryManager.cpp. References Sct::Streamable::getClassName(), and getWriter(). Here is the call graph for this function: ![]() |
|
maps TestResult names to ISSummaryWriters
Definition at line 63 of file ISSummaryManager.h. |