Apache Mesos
Public Member Functions | List of all members
process::DataEncoder Class Reference

#include <encoder.hpp>

Inheritance diagram for process::DataEncoder:
process::Encoder process::HttpResponseEncoder process::MessageEncoder

Public Member Functions

 DataEncoder (const std::string &_data)
 
 DataEncoder (std::string &&_data)
 
 ~DataEncoder () override
 
Kind kind () const override
 
virtual const char * next (size_t *length)
 
void backup (size_t length) override
 
size_t remaining () const override
 
- Public Member Functions inherited from process::Encoder
 Encoder ()=default
 
virtual ~Encoder ()
 

Additional Inherited Members

- Public Types inherited from process::Encoder
enum  Kind { DATA, FILE }
 

Constructor & Destructor Documentation

process::DataEncoder::DataEncoder ( const std::string &  _data)
inline
process::DataEncoder::DataEncoder ( std::string &&  _data)
inline
process::DataEncoder::~DataEncoder ( )
inlineoverride

Member Function Documentation

void process::DataEncoder::backup ( size_t  length)
inlineoverridevirtual

Implements process::Encoder.

Kind process::DataEncoder::kind ( ) const
inlineoverridevirtual

Implements process::Encoder.

virtual const char* process::DataEncoder::next ( size_t *  length)
inlinevirtual
size_t process::DataEncoder::remaining ( ) const
inlineoverridevirtual

Implements process::Encoder.


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