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

#include <zero_copy_stream_impl_lite.h>

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

Public Member Functions

 ArrayOutputStream (void *data, int size, int block_size=-1)
 
void BackUp (int count) override
 
int64 ByteCount () const override
 
bool Next (void **data, int *size) override
 
 ~ArrayOutputStream () 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 (ArrayOutputStream)
 

Private Attributes

const int block_size_
 
uint8 *const data_
 
int last_returned_size_
 
int position_
 
const int size_
 

Detailed Description

Definition at line 99 of file zero_copy_stream_impl_lite.h.

Constructor & Destructor Documentation

◆ ArrayOutputStream()

google::protobuf::io::ArrayOutputStream::ArrayOutputStream ( void data,
int  size,
int  block_size = -1 
)

Definition at line 105 of file zero_copy_stream_impl_lite.cc.

◆ ~ArrayOutputStream()

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

Member Function Documentation

◆ BackUp()

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

◆ ByteCount()

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

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

◆ Next()

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

Member Data Documentation

◆ block_size_

const int google::protobuf::io::ArrayOutputStream::block_size_
private

Definition at line 119 of file zero_copy_stream_impl_lite.h.

◆ data_

uint8* const google::protobuf::io::ArrayOutputStream::data_
private

Definition at line 117 of file zero_copy_stream_impl_lite.h.

◆ last_returned_size_

int google::protobuf::io::ArrayOutputStream::last_returned_size_
private

Definition at line 122 of file zero_copy_stream_impl_lite.h.

◆ position_

int google::protobuf::io::ArrayOutputStream::position_
private

Definition at line 121 of file zero_copy_stream_impl_lite.h.

◆ size_

const int google::protobuf::io::ArrayOutputStream::size_
private

Definition at line 118 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