37 #ifndef GOOGLE_PROTOBUF_IO_PRINTER_H__
38 #define GOOGLE_PROTOBUF_IO_PRINTER_H__
48 class ZeroCopyOutputStream;
76 void Print(
const map<string, string>& variables,
const char* text);
79 void Print(
const char* text);
81 void Print(
const char* text,
const char* variable,
const string&
value);
83 void Print(
const char* text,
const char* variable1,
const string& value1,
84 const char* variable2,
const string& value2);
86 void Print(
const char* text,
const char* variable1,
const string& value1,
87 const char* variable2,
const string& value2,
88 const char* variable3,
const string& value3);
103 void PrintRaw(
const string& data);
107 void PrintRaw(
const char* data);
111 void WriteRaw(
const char* data,
int size);
136 #endif // GOOGLE_PROTOBUF_IO_PRINTER_H__
bool failed() const
Definition: printer.h:116
const char variable_delimiter_
Definition: printer.h:119
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
ZeroCopyOutputStream *const output_
Definition: printer.h:121
char * buffer_
Definition: printer.h:122
string indent_
Definition: printer.h:125
Definition: zero_copy_stream.h:181
#define LIBPROTOBUF_EXPORT
Definition: common.h:105
bool at_start_of_line_
Definition: printer.h:126
bool failed_
Definition: printer.h:127
int buffer_size_
Definition: printer.h:123
Definition: BnetFileGenerator.h:47
const FieldDescriptor value
Definition: descriptor.h:1522