Go to the documentation of this file.
45 if (!type_url_prefix.
empty() &&
46 type_url_prefix[type_url_prefix.
size() - 1] ==
'/') {
47 return StrCat(type_url_prefix, message_name);
49 return StrCat(type_url_prefix,
"/", message_name);
106 size_t pos =
type_url.find_last_of(
"/");
107 if (pos == std::string::npos || pos + 1 ==
type_url.size()) {
111 *url_prefix =
type_url.substr(0, pos + 1);
113 *full_type_name =
type_url.substr(pos + 1);
inline ::std::string * MutableNoArena(const ::std::string *default_value)
string StrCat(const AlphaNum &a, const AlphaNum &b)
const T & Get(const void *ptr)
bool ParseAnyTypeUrl(const std::string &type_url, std::string *full_type_name)
const char kAnyFullTypeName[]
GLsizei const GLchar *const * string
#define T(upbtypeconst, upbtype, ctype, default_value)
void SetNoArena(const ::std::string *default_value, const ::std::string &value)
const ::std::string & GetNoArena() const
const char kTypeGoogleApisComPrefix[]
const PROTOBUF_EXPORT std::string & GetEmptyString()
const char kTypeGoogleProdComPrefix[]
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
std::string GetTypeUrl(StringPiece message_name, StringPiece type_url_prefix)
bool HasSuffixString(const string &str, const string &suffix)
GLsizei const GLfloat * value
stringpiece_ssize_type size() const
GLenum GLuint GLenum GLsizei const GLchar * message
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:47