#include <cpp_helpers.h>
|
void | AddMap (const std::map< std::string, std::string > &vars) |
|
void | AddMap (const std::map< std::string, std::string > &vars) |
|
| Formatter (io::Printer *printer) |
|
| Formatter (io::Printer *printer) |
|
| Formatter (io::Printer *printer, const std::map< std::string, std::string > &vars) |
|
| Formatter (io::Printer *printer, const std::map< std::string, std::string > &vars) |
|
void | Indent () const |
|
void | Indent () const |
|
template<typename... Args> |
void | operator() (const char *format, const Args &... args) const |
|
template<typename... Args> |
void | operator() (const char *format, const Args &... args) const |
|
void | Outdent () const |
|
void | Outdent () const |
|
io::Printer * | printer () const |
|
io::Printer * | printer () const |
|
PROTOBUF_NODISCARD ScopedIndenter | ScopedIndent () |
|
template<typename... Args> |
PROTOBUF_NODISCARD ScopedIndenter | ScopedIndent (const char *format, const Args &&... args) |
|
template<typename T > |
void | Set (const std::string &key, const T &value) |
|
template<typename T > |
void | Set (const std::string &key, const T &value) |
|
◆ Formatter() [1/4]
google::protobuf::compiler::cpp::Formatter::Formatter |
( |
io::Printer * |
printer | ) |
|
|
inlineexplicit |
◆ Formatter() [2/4]
google::protobuf::compiler::cpp::Formatter::Formatter |
( |
io::Printer * |
printer, |
|
|
const std::map< std::string, std::string > & |
vars |
|
) |
| |
|
inline |
◆ Formatter() [3/4]
google::protobuf::compiler::cpp::Formatter::Formatter |
( |
io::Printer * |
printer | ) |
|
|
inlineexplicit |
◆ Formatter() [4/4]
google::protobuf::compiler::cpp::Formatter::Formatter |
( |
io::Printer * |
printer, |
|
|
const std::map< std::string, std::string > & |
vars |
|
) |
| |
|
inline |
◆ AddMap() [1/2]
void google::protobuf::compiler::cpp::Formatter::AddMap |
( |
const std::map< std::string, std::string > & |
vars | ) |
|
|
inline |
◆ AddMap() [2/2]
void google::protobuf::compiler::cpp::Formatter::AddMap |
( |
const std::map< std::string, std::string > & |
vars | ) |
|
|
inline |
◆ Indent() [1/2]
void google::protobuf::compiler::cpp::Formatter::Indent |
( |
| ) |
const |
|
inline |
◆ Indent() [2/2]
void google::protobuf::compiler::cpp::Formatter::Indent |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
template<typename... Args>
void google::protobuf::compiler::cpp::Formatter::operator() |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| const |
|
inline |
◆ operator()() [2/2]
template<typename... Args>
void google::protobuf::compiler::cpp::Formatter::operator() |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| const |
|
inline |
◆ Outdent() [1/2]
void google::protobuf::compiler::cpp::Formatter::Outdent |
( |
| ) |
const |
|
inline |
◆ Outdent() [2/2]
void google::protobuf::compiler::cpp::Formatter::Outdent |
( |
| ) |
const |
|
inline |
◆ Payload() [1/2]
template<typename Descriptor >
static std::string google::protobuf::compiler::cpp::Formatter::Payload |
( |
const Descriptor * |
descriptor | ) |
|
|
inlinestaticprivate |
◆ Payload() [2/2]
template<typename Descriptor >
static std::string google::protobuf::compiler::cpp::Formatter::Payload |
( |
const Descriptor * |
descriptor | ) |
|
|
inlinestaticprivate |
◆ printer() [1/2]
io::Printer* google::protobuf::compiler::cpp::Formatter::printer |
( |
| ) |
const |
|
inline |
◆ printer() [2/2]
io::Printer* google::protobuf::compiler::cpp::Formatter::printer |
( |
| ) |
const |
|
inline |
◆ ScopedIndent() [1/2]
PROTOBUF_NODISCARD ScopedIndenter google::protobuf::compiler::cpp::Formatter::ScopedIndent |
( |
| ) |
|
|
inline |
◆ ScopedIndent() [2/2]
template<typename... Args>
◆ Set() [1/2]
template<typename T >
void google::protobuf::compiler::cpp::Formatter::Set |
( |
const std::string & |
key, |
|
|
const T & |
value |
|
) |
| |
|
inline |
◆ Set() [2/2]
template<typename T >
void google::protobuf::compiler::cpp::Formatter::Set |
( |
const std::string & |
key, |
|
|
const T & |
value |
|
) |
| |
|
inline |
◆ ToString() [1/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const Descriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [2/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const Descriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [3/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const EnumDescriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [4/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const EnumDescriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [5/16]
◆ ToString() [6/16]
◆ ToString() [7/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const FieldDescriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [8/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const FieldDescriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [9/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const OneofDescriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [10/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const OneofDescriptor * |
d | ) |
|
|
inlinestaticprivate |
◆ ToString() [11/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const std::string & |
s | ) |
|
|
inlinestaticprivate |
◆ ToString() [12/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
const std::string & |
s | ) |
|
|
inlinestaticprivate |
◆ ToString() [13/16]
template<typename I , typename = typename std::enable_if< std::is_integral<I>::value>::type>
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
I |
x | ) |
|
|
inlinestaticprivate |
◆ ToString() [14/16]
template<typename I , typename = typename std::enable_if< std::is_integral<I>::value>::type>
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
I |
x | ) |
|
|
inlinestaticprivate |
◆ ToString() [15/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
strings::Hex |
x | ) |
|
|
inlinestaticprivate |
◆ ToString() [16/16]
static std::string google::protobuf::compiler::cpp::Formatter::ToString |
( |
strings::Hex |
x | ) |
|
|
inlinestaticprivate |
◆ printer_
io::Printer * google::protobuf::compiler::cpp::Formatter::printer_ |
|
private |
◆ vars_
std::map< std::string, std::string > google::protobuf::compiler::cpp::Formatter::vars_ |
|
private |
The documentation for this class was generated from the following file: