Sierra Toolkit Version of the Day
DiagWriterDetail

Classes

class  stk::diag::WriterParser
 Class WriterParser implements a parser a Writer PrintMask string. More...
class  sierra::Diag::WriterRegistry
 Typedef WriterRegistry is a mapping from name to diagnostic writer. More...

Functions

WriterRegistry & sierra::Diag::getWriterRegistry ()
 Function getWriterRegistry returns a reference to the diagnostic writer registry.
void sierra::Diag::registerWriter (const std::string &name, Writer &diag_writer, OptionMaskParser &option_parser)
 Function registerWriter registers a diagnostic writer with the diagnostic writer registry.
void sierra::Diag::unregisterWriter (const std::string &name, Writer &diag_writer)
 Member function unregisterWriter unregisters a diagnostic writer from the diagnostic writer registry.

Function Documentation

WriterRegistry & sierra::Diag::getWriterRegistry ( )

Function getWriterRegistry returns a reference to the diagnostic writer registry.

Returns:
a WriterRegistry reference to the diagnostic writer registry.

Definition at line 30 of file WriterRegistry.cpp.

void sierra::Diag::registerWriter ( const std::string &  name,
Writer &  diag_writer,
OptionMaskParser &  option_parser 
)

Function registerWriter registers a diagnostic writer with the diagnostic writer registry.

Parameters:
namea std::string const reference to the name to use for the diagnostic writer.
diag_writera Writer reference to the diagnostic writer.

Definition at line 39 of file WriterRegistry.cpp.

void sierra::Diag::unregisterWriter ( const std::string &  name,
Writer &  diag_writer 
)

Member function unregisterWriter unregisters a diagnostic writer from the diagnostic writer registry.

Parameters:
namea std::string const reference to the name to use for the diagnostic writer.
diag_writera Writer reference to the diagnostic writer.

Definition at line 49 of file WriterRegistry.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines