Public Member Functions | Private Member Functions | Private Attributes | List of all members
upbc::Output Class Reference

#include <common.h>

Public Member Functions

template<class... Arg>
void operator() (absl::string_view format, const Arg &... arg)
 
 Output (google::protobuf::io::ZeroCopyOutputStream *stream)
 
 ~Output ()
 

Private Member Functions

void RefreshOutput ()
 
void Write (absl::string_view data)
 

Private Attributes

char * ptr_ = nullptr
 
size_t size_ = 0
 
google::protobuf::io::ZeroCopyOutputStreamstream_
 

Detailed Description

Definition at line 40 of file upb/upbc/common.h.

Constructor & Destructor Documentation

◆ Output()

upbc::Output::Output ( google::protobuf::io::ZeroCopyOutputStream stream)
inline

Definition at line 42 of file upb/upbc/common.h.

◆ ~Output()

upbc::Output::~Output ( )
inline

Definition at line 44 of file upb/upbc/common.h.

Member Function Documentation

◆ operator()()

template<class... Arg>
void upbc::Output::operator() ( absl::string_view  format,
const Arg &...  arg 
)
inline

Definition at line 47 of file upb/upbc/common.h.

◆ RefreshOutput()

void upbc::Output::RefreshOutput ( )
inlineprivate

Definition at line 83 of file upb/upbc/common.h.

◆ Write()

void upbc::Output::Write ( absl::string_view  data)
inlineprivate

Definition at line 52 of file upb/upbc/common.h.

Member Data Documentation

◆ ptr_

char* upbc::Output::ptr_ = nullptr
private

Definition at line 97 of file upb/upbc/common.h.

◆ size_

size_t upbc::Output::size_ = 0
private

Definition at line 98 of file upb/upbc/common.h.

◆ stream_

google::protobuf::io::ZeroCopyOutputStream* upbc::Output::stream_
private

Definition at line 96 of file upb/upbc/common.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:56