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

#include <zero_copy_stream_impl_lite.h>

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

Public Member Functions

void BackUp (int count) override
 
int64 ByteCount () const override
 
bool Next (void **data, int *size) override
 
 StringOutputStream (std::string *target)
 
 ~StringOutputStream () override=default
 
- 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 (StringOutputStream)
 

Private Attributes

std::stringtarget_
 

Static Private Attributes

static const int kMinimumSize = 16
 

Detailed Description

Definition at line 131 of file zero_copy_stream_impl_lite.h.

Constructor & Destructor Documentation

◆ StringOutputStream()

google::protobuf::io::StringOutputStream::StringOutputStream ( std::string target)
explicit

Definition at line 139 of file zero_copy_stream_impl_lite.cc.

◆ ~StringOutputStream()

google::protobuf::io::StringOutputStream::~StringOutputStream ( )
overridedefault

Member Function Documentation

◆ BackUp()

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

◆ ByteCount()

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

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

◆ Next()

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

Member Data Documentation

◆ kMinimumSize

const int google::protobuf::io::StringOutputStream::kMinimumSize = 16
staticprivate

Definition at line 151 of file zero_copy_stream_impl_lite.h.

◆ target_

std::string* google::protobuf::io::StringOutputStream::target_
private

Definition at line 153 of file zero_copy_stream_impl_lite.h.


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


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