Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::io::OstreamOutputStream Class Reference

#include <zero_copy_stream_impl.h>

Inheritance diagram for google::protobuf::io::OstreamOutputStream:
Inheritance graph
[legend]

Classes

class  CopyingOstreamOutputStream
 

Public Member Functions

void BackUp (int count) override
 
int64 ByteCount () const override
 
bool Next (void **data, int *size) override
 
 OstreamOutputStream (std::ostream *stream, int block_size=-1)
 
 ~OstreamOutputStream () override
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyOutputStream
virtual bool AllowsAliasing () const
 
virtual bool WriteAliasedRaw (const void *data, int size)
 
 ZeroCopyOutputStream ()
 
virtual ~ZeroCopyOutputStream ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OstreamOutputStream)
 

Private Attributes

CopyingOstreamOutputStream copying_output_
 
CopyingOutputStreamAdaptor impl_
 

Detailed Description

Definition at line 258 of file zero_copy_stream_impl.h.

Constructor & Destructor Documentation

◆ OstreamOutputStream()

google::protobuf::io::OstreamOutputStream::OstreamOutputStream ( std::ostream *  stream,
int  block_size = -1 
)
explicit

Definition at line 283 of file zero_copy_stream_impl.cc.

◆ ~OstreamOutputStream()

google::protobuf::io::OstreamOutputStream::~OstreamOutputStream ( )
override

Definition at line 286 of file zero_copy_stream_impl.cc.

Member Function Documentation

◆ BackUp()

void google::protobuf::io::OstreamOutputStream::BackUp ( int  count)
overridevirtual

◆ ByteCount()

int64 google::protobuf::io::OstreamOutputStream::ByteCount ( ) const
overridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::io::OstreamOutputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( OstreamOutputStream  )
private

◆ Next()

bool google::protobuf::io::OstreamOutputStream::Next ( void **  data,
int *  size 
)
overridevirtual

Member Data Documentation

◆ copying_output_

CopyingOstreamOutputStream google::protobuf::io::OstreamOutputStream::copying_output_
private

Definition at line 289 of file zero_copy_stream_impl.h.

◆ impl_

CopyingOutputStreamAdaptor google::protobuf::io::OstreamOutputStream::impl_
private

Definition at line 290 of file zero_copy_stream_impl.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10