OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Attributes | List of all members
FileSink Class Reference

#include <FileSink.h>

Inheritance diagram for FileSink:
Inheritance graph
[legend]
Collaboration diagram for FileSink:
Collaboration graph
[legend]

Public Member Functions

 FileSink (std::string filename)
 
virtual ~FileSink ()
 
void execute (std::ostringstream &dump)
 
- Public Member Functions inherited from TraceComponent
 TraceComponent (std::string name)
 
 ~TraceComponent ()
 
void prepend (std::ostringstream &dump, std::ostringstream &prepender)
 
void prepend (std::ostringstream &dump, std::string prepender)
 

Private Attributes

std::string filename_
 

Detailed Description

Definition at line 30 of file FileSink.h.

Constructor & Destructor Documentation

◆ FileSink()

FileSink::FileSink ( std::string  filename)
inline

Definition at line 35 of file FileSink.h.

◆ ~FileSink()

virtual FileSink::~FileSink ( )
inlinevirtual

Definition at line 40 of file FileSink.h.

Member Function Documentation

◆ execute()

void FileSink::execute ( std::ostringstream &  dump)
inlinevirtual

Implements TraceComponent.

Definition at line 43 of file FileSink.h.

References filename_.

Member Data Documentation

◆ filename_

std::string FileSink::filename_
private

Definition at line 52 of file FileSink.h.

Referenced by execute().


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