Rosetta 3.4
Public Member Functions | Protected Types
protocols::jd2::SingleFileBuffer Class Reference

#include <SingleFileBuffer.hh>

Inheritance diagram for protocols::jd2::SingleFileBuffer:
Inheritance graph
[legend]
Collaboration diagram for protocols::jd2::SingleFileBuffer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SingleFileBuffer (std::string const &filename, core::Size channel, core::Size &status)
virtual ~SingleFileBuffer ()
void flush (core::Size slave)
void store_line (core::Size slave, core::Size channel, std::string const &line)
core::Size length (core::Size slave)
void close (core::Size slave)
bool has_open_slaves () const
core::Size nr_open_slaves () const
virtual void write_lines (LineBuffer const &)
virtual void block (core::Size slave)
std::string const & filename ()

Protected Types

typedef utility::vector1
< std::string > 
LineBuffer
typedef std::map< int, LineBufferBufferMap

Detailed Description

this is a implementation of Buffer for silent-file-based output.


Member Typedef Documentation


Constructor & Destructor Documentation

protocols::jd2::SingleFileBuffer::SingleFileBuffer ( std::string const &  filename,
core::Size  channel,
core::Size status 
) [inline]
virtual protocols::jd2::SingleFileBuffer::~SingleFileBuffer ( ) [inline, virtual]

References has_open_slaves().


Member Function Documentation

virtual void protocols::jd2::SingleFileBuffer::block ( core::Size  slave) [virtual]

Reimplemented in protocols::jd2::WriteFileSFB.

void protocols::jd2::SingleFileBuffer::close ( core::Size  slave)

References protocols::jd2::tr().

std::string const& protocols::jd2::SingleFileBuffer::filename ( ) [inline]
void protocols::jd2::SingleFileBuffer::flush ( core::Size  slave)
bool protocols::jd2::SingleFileBuffer::has_open_slaves ( ) const

Referenced by ~SingleFileBuffer().

core::Size protocols::jd2::SingleFileBuffer::length ( core::Size  slave)
Size protocols::jd2::SingleFileBuffer::nr_open_slaves ( ) const
void protocols::jd2::SingleFileBuffer::store_line ( core::Size  slave,
core::Size  channel,
std::string const &  line 
)
void protocols::jd2::SingleFileBuffer::write_lines ( LineBuffer const &  buf) [virtual]

Reimplemented in protocols::jd2::WriteFileSFB.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines