Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::jd3::output::MultipleOutputter Class Reference

The MultipleOutputter class is a vector of ResultOutputters. It should be used alongside the MultipleOutputSpecification class, which is a vector of ResultSpecifications and will hand each ResultSpecification in that vector to the corresponding ResultOutputter in its own vector. More...

#include <MultipleOutputter.hh>

Inheritance diagram for protocols::jd3::output::MultipleOutputter:
Inheritance graph
[legend]

Public Member Functions

 MultipleOutputter ()
 
 ~MultipleOutputter () override
 
void write_output (OutputSpecification const &specification, JobResult const &result) override
 Invoke write_output on all of the ResultOutputters this MultipleOutputter contains. This class expects the OutputSpecification to be of type MultipleOutputSpecification and will hand the ResultSpecifications that this class contains to the corresponding ResultOutputter. More...
 
void flush () override
 Invoke flush on all of the ResultOutputters this MultipleOutputter contains. More...
 
void append_outputter (ResultOutputterOP outputter)
 
utility::vector1
< ResultOutputterOP > const & 
outputters () const
 
- Public Member Functions inherited from protocols::jd3::output::ResultOutputter
 ResultOutputter ()
 
 ~ResultOutputter () override
 

Private Attributes

utility::vector1
< ResultOutputterOP
outputters_
 

Detailed Description

The MultipleOutputter class is a vector of ResultOutputters. It should be used alongside the MultipleOutputSpecification class, which is a vector of ResultSpecifications and will hand each ResultSpecification in that vector to the corresponding ResultOutputter in its own vector.

Constructor & Destructor Documentation

protocols::jd3::output::MultipleOutputter::MultipleOutputter ( )
default
protocols::jd3::output::MultipleOutputter::~MultipleOutputter ( )
overridedefault

Member Function Documentation

void protocols::jd3::output::MultipleOutputter::append_outputter ( ResultOutputterOP  outputter)

References outputters_.

void protocols::jd3::output::MultipleOutputter::flush ( )
overridevirtual

Invoke flush on all of the ResultOutputters this MultipleOutputter contains.

Implements protocols::jd3::output::ResultOutputter.

References outputters_.

utility::vector1< ResultOutputterOP > const & protocols::jd3::output::MultipleOutputter::outputters ( ) const

References outputters_.

void protocols::jd3::output::MultipleOutputter::write_output ( OutputSpecification const &  specification,
JobResult const &  result 
)
overridevirtual

Invoke write_output on all of the ResultOutputters this MultipleOutputter contains. This class expects the OutputSpecification to be of type MultipleOutputSpecification and will hand the ResultSpecifications that this class contains to the corresponding ResultOutputter.

Implements protocols::jd3::output::ResultOutputter.

References outputters_.

Member Data Documentation

utility::vector1< ResultOutputterOP > protocols::jd3::output::MultipleOutputter::outputters_
private

The documentation for this class was generated from the following files: