Public Member Functions | Private Attributes | List of all members
ProtoBufPrinter Class Reference

#include <protobuf_plugin.h>

Inheritance diagram for ProtoBufPrinter:
Inheritance graph
[legend]

Public Member Functions

void Indent ()
 
void Outdent ()
 
void Print (const char *string)
 
void Print (const std::map< std::string, std::string > &vars, const char *string_template)
 
void PrintRaw (const char *string)
 
 ProtoBufPrinter (std::string *str)
 
- Public Member Functions inherited from grpc_generator::Printer
virtual ~Printer ()
 

Private Attributes

grpc::protobuf::io::StringOutputStream output_stream_
 
grpc::protobuf::io::Printer printer_
 

Detailed Description

Definition at line 134 of file protobuf_plugin.h.

Constructor & Destructor Documentation

◆ ProtoBufPrinter()

ProtoBufPrinter::ProtoBufPrinter ( std::string *  str)
inline

Definition at line 136 of file protobuf_plugin.h.

Member Function Documentation

◆ Indent()

void ProtoBufPrinter::Indent ( )
inlinevirtual

Implements grpc_generator::Printer.

Definition at line 146 of file protobuf_plugin.h.

◆ Outdent()

void ProtoBufPrinter::Outdent ( )
inlinevirtual

Implements grpc_generator::Printer.

Definition at line 147 of file protobuf_plugin.h.

◆ Print() [1/2]

void ProtoBufPrinter::Print ( const char *  string)
inlinevirtual

Implements grpc_generator::Printer.

Definition at line 144 of file protobuf_plugin.h.

◆ Print() [2/2]

void ProtoBufPrinter::Print ( const std::map< std::string, std::string > &  vars,
const char *  string_template 
)
inlinevirtual

Implements grpc_generator::Printer.

Definition at line 139 of file protobuf_plugin.h.

◆ PrintRaw()

void ProtoBufPrinter::PrintRaw ( const char *  string)
inlinevirtual

Implements grpc_generator::Printer.

Definition at line 145 of file protobuf_plugin.h.

Member Data Documentation

◆ output_stream_

grpc::protobuf::io::StringOutputStream ProtoBufPrinter::output_stream_
private

Definition at line 150 of file protobuf_plugin.h.

◆ printer_

grpc::protobuf::io::Printer ProtoBufPrinter::printer_
private

Definition at line 151 of file protobuf_plugin.h.


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


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