1 #include <stk_util/diag/WriterRegistry.hpp>
2 #include <stk_util/diag/Option.hpp>
7 WriterThrowSafe::WriterThrowSafe()
10 m_writerVector.push_back(
new stk_classic::diag::WriterThrowSafe(*(*it).second.first));
14 WriterThrowSafe::~WriterThrowSafe()
16 for (std::vector<stk_classic::diag::WriterThrowSafe *>::iterator it = m_writerVector.begin(); it != m_writerVector.end(); ++it)
21 WriterRegistry::WriterRegistry()
25 WriterRegistry::~WriterRegistry()
34 return s_writerRegistry;
40 const std::string & name,
44 getWriterRegistry().insert(std::make_pair(name, std::make_pair(&diag_writer, &option_parser)));
50 const std::string & name,