Classes | |
struct | CommentHolder |
struct | File |
struct | Method |
struct | Printer |
struct | Service |
Functions | |
std::string | CapitalizeFirstLetter (std::string s) |
std::string | FileNameInUpperCamel (const grpc::protobuf::FileDescriptor *file) |
std::string | FileNameInUpperCamel (const grpc::protobuf::FileDescriptor *file, bool include_package_path) |
std::string | GenerateCommentsWithPrefix (const std::vector< std::string > &in, const std::string &prefix) |
template<typename DescriptorType > | |
void | GetComment (const DescriptorType *desc, CommentType type, std::vector< std::string > *out) |
template<> | |
void | GetComment (const grpc::protobuf::FileDescriptor *desc, CommentType type, std::vector< std::string > *out) |
MethodType | GetMethodType (const grpc::protobuf::MethodDescriptor *method) |
template<typename DescriptorType > | |
std::string | GetPrefixedComments (const DescriptorType *desc, bool leading, const std::string &prefix) |
std::string | LowercaseFirstLetter (std::string s) |
std::string | LowerUnderscoreToUpperCamel (std::string str) |
void | Split (const std::string &s, char, std::vector< std::string > *append_to) |
std::string | StringReplace (std::string str, const std::string &from, const std::string &to) |
std::string | StringReplace (std::string str, const std::string &from, const std::string &to, bool replace_all) |
bool | StripPrefix (std::string *name, const std::string &prefix) |
std::string | StripProto (std::string filename) |
bool | StripSuffix (std::string *filename, const std::string &suffix) |
std::vector< std::string > | tokenize (const std::string &input, const std::string &delimiters) |
Enumerator | |
---|---|
COMMENTTYPE_LEADING | |
COMMENTTYPE_TRAILING | |
COMMENTTYPE_LEADING_DETACHED |
Definition at line 178 of file generator_helpers.h.
Enumerator | |
---|---|
METHODTYPE_NO_STREAMING | |
METHODTYPE_CLIENT_STREAMING | |
METHODTYPE_SERVER_STREAMING | |
METHODTYPE_BIDI_STREAMING |
Definition at line 145 of file generator_helpers.h.
|
inline |
Definition at line 102 of file generator_helpers.h.
|
inline |
Definition at line 140 of file generator_helpers.h.
|
inline |
Definition at line 127 of file generator_helpers.h.
|
inline |
Definition at line 240 of file generator_helpers.h.
|
inline |
Definition at line 186 of file generator_helpers.h.
|
inline |
Definition at line 213 of file generator_helpers.h.
|
inline |
Definition at line 152 of file generator_helpers.h.
|
inline |
Definition at line 257 of file generator_helpers.h.
|
inline |
Definition at line 110 of file generator_helpers.h.
|
inline |
Definition at line 118 of file generator_helpers.h.
|
inline |
Definition at line 169 of file generator_helpers.h.
|
inline |
Definition at line 77 of file generator_helpers.h.
|
inline |
Definition at line 61 of file generator_helpers.h.
Definition at line 44 of file generator_helpers.h.
|
inline |
Definition at line 54 of file generator_helpers.h.
Definition at line 32 of file generator_helpers.h.
|
inline |
Definition at line 82 of file generator_helpers.h.