TrinityCore
google::protobuf Namespace Reference

Namespaces

 compiler
 
 internal
 
 io
 
 strings
 

Classes

struct  hash
 
struct  hash< const char * >
 
struct  hash< pair< First, Second > >
 
struct  hash< string >
 
class  hash_map
 
class  hash_set
 
struct  is_proto_enum< ::Battlenet::JSON::Login::AuthenticationState >
 
struct  is_proto_enum< ::Battlenet::JSON::Login::FormType >
 
struct  is_proto_enum< ::bgs::protocol::account::v1::IdentityVerificationStatus >
 
struct  is_proto_enum< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy >
 
struct  is_proto_enum< ::bgs::protocol::AttributeFilter_Operation >
 
struct  is_proto_enum< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::ClubRemovedReason >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::PresenceLevel >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::PrivacyLevel >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::StreamNotificationFilter >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::StreamVoiceLevel >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::VisibilityLevel >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::VoiceMicrophoneState >
 
struct  is_proto_enum< ::bgs::protocol::club::v1::WhisperLevel >
 
struct  is_proto_enum< ::bgs::protocol::EntityIdRestriction_Kind >
 
struct  is_proto_enum< ::bgs::protocol::EventOrder >
 
struct  is_proto_enum< ::bgs::protocol::InvitationRemovedReason >
 
struct  is_proto_enum< ::bgs::protocol::LogOption >
 
struct  is_proto_enum< ::bgs::protocol::presence::v1::FieldOperation_OperationType >
 
struct  is_proto_enum< ::bgs::protocol::report::v1::SpamReport_SpamSource >
 
struct  is_proto_enum< ::bgs::protocol::report::v2::ClubSource >
 
struct  is_proto_enum< ::bgs::protocol::report::v2::IssueType >
 
struct  is_proto_enum< ::bgs::protocol::report::v2::UserSource >
 
struct  is_proto_enum< ::bgs::protocol::SuggestionRemovedReason >
 
struct  is_proto_enum< ::bgs::protocol::TypingIndicator >
 
struct  is_proto_enum< ::bgs::protocol::v2::AttributeFilter_Operation >
 
struct  is_proto_enum< ::bgs::protocol::VoiceJoinType >
 
struct  is_proto_enum< ::bgs::protocol::VoiceMuteReason >
 
struct  streq
 

Functions

bool ascii_isalnum (char c)
 
bool ascii_isdigit (char c)
 
bool HasPrefixString (const string &str, const string &prefix)
 
string StripPrefixString (const string &str, const string &prefix)
 
bool HasSuffixString (const string &str, const string &suffix)
 
string StripSuffixString (const string &str, const string &suffix)
 
LIBPROTOBUF_EXPORT void StripString (string *s, const char *remove, char replacewith)
 
void LowerString (string *s)
 
void UpperString (string *s)
 
string ToUpper (const string &s)
 
LIBPROTOBUF_EXPORT string StringReplace (const string &s, const string &oldsub, const string &newsub, bool replace_all)
 
LIBPROTOBUF_EXPORT void SplitStringUsing (const string &full, const char *delim, vector< string > *res)
 
LIBPROTOBUF_EXPORT void SplitStringAllowEmpty (const string &full, const char *delim, vector< string > *result)
 
vector< string > Split (const string &full, const char *delim, bool skip_empty=true)
 
LIBPROTOBUF_EXPORT void JoinStrings (const vector< string > &components, const char *delim, string *result)
 
string JoinStrings (const vector< string > &components, const char *delim)
 
LIBPROTOBUF_EXPORT int UnescapeCEscapeSequences (const char *source, char *dest)
 
LIBPROTOBUF_EXPORT int UnescapeCEscapeSequences (const char *source, char *dest, vector< string > *errors)
 
LIBPROTOBUF_EXPORT int UnescapeCEscapeString (const string &src, string *dest)
 
LIBPROTOBUF_EXPORT int UnescapeCEscapeString (const string &src, string *dest, vector< string > *errors)
 
LIBPROTOBUF_EXPORT string UnescapeCEscapeString (const string &src)
 
LIBPROTOBUF_EXPORT int CEscapeString (const char *src, int src_len, char *dest, int dest_len)
 
LIBPROTOBUF_EXPORT string CEscape (const string &src)
 
LIBPROTOBUF_EXPORT int32 strto32_adaptor (const char *nptr, char **endptr, int base)
 
LIBPROTOBUF_EXPORT uint32 strtou32_adaptor (const char *nptr, char **endptr, int base)
 
int32 strto32 (const char *nptr, char **endptr, int base)
 
uint32 strtou32 (const char *nptr, char **endptr, int base)
 
int64 strto64 (const char *nptr, char **endptr, int base)
 
uint64 strtou64 (const char *nptr, char **endptr, int base)
 
LIBPROTOBUF_EXPORT bool safe_int (string text, int32 *value_p)
 
bool safe_strto32 (string text, int32 *value)
 
LIBPROTOBUF_EXPORT char * FastInt32ToBuffer (int32 i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastInt64ToBuffer (int64 i, char *buffer)
 
char * FastUInt32ToBuffer (uint32 i, char *buffer)
 
char * FastUInt64ToBuffer (uint64 i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastHexToBuffer (int i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastHex64ToBuffer (uint64 i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastHex32ToBuffer (uint32 i, char *buffer)
 
char * FastIntToBuffer (int i, char *buffer)
 
char * FastUIntToBuffer (unsigned int i, char *buffer)
 
char * FastLongToBuffer (long i, char *buffer)
 
char * FastULongToBuffer (unsigned long i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastInt32ToBufferLeft (int32 i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastUInt32ToBufferLeft (uint32 i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastInt64ToBufferLeft (int64 i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FastUInt64ToBufferLeft (uint64 i, char *buffer)
 
LIBPROTOBUF_EXPORT string SimpleItoa (int i)
 
LIBPROTOBUF_EXPORT string SimpleItoa (unsigned int i)
 
LIBPROTOBUF_EXPORT string SimpleItoa (long i)
 
LIBPROTOBUF_EXPORT string SimpleItoa (unsigned long i)
 
LIBPROTOBUF_EXPORT string SimpleItoa (long long i)
 
LIBPROTOBUF_EXPORT string SimpleItoa (unsigned long long i)
 
LIBPROTOBUF_EXPORT string SimpleDtoa (double value)
 
LIBPROTOBUF_EXPORT string SimpleFtoa (float value)
 
LIBPROTOBUF_EXPORT char * DoubleToBuffer (double i, char *buffer)
 
LIBPROTOBUF_EXPORT char * FloatToBuffer (float i, char *buffer)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
string StrCat (const T1 &a, const T2 &b, const T3 &c, const T4 &d, const T5 &e)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
string StrCat (const T1 &a, const T2 &b, const T3 &c, const T4 &d)
 
template<typename T1 , typename T2 , typename T3 >
string StrCat (const T1 &a, const T2 &b, const T3 &c)
 
template<typename T1 , typename T2 >
string StrCat (const T1 &a, const T2 &b)
 
template<typename Iterator >
void Join (Iterator start, Iterator end, const char *delim, string *result)
 
template<typename Range >
string Join (const Range &components, const char *delim)
 
LIBPROTOBUF_EXPORT string ToHex (uint64 num)
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::account::v1::IdentityVerificationStatus > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::report::v2::IssueType > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::report::v2::UserSource > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::report::v2::ClubSource > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::AttributeFilter_Operation > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::PrivacyLevel > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::VisibilityLevel > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::ClubRemovedReason > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::StreamVoiceLevel > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::VoiceMicrophoneState > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::PresenceLevel > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::WhisperLevel > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::StreamNotificationFilter > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::EventOrder > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::EntityIdRestriction_Kind > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::LogOption > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::InvitationRemovedReason > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::SuggestionRemovedReason > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::TypingIndicator > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::presence::v1::FieldOperation_OperationType > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::report::v1::SpamReport_SpamSource > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::VoiceJoinType > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::VoiceMuteReason > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::Battlenet::JSON::Login::FormType > ()
 
template<>
const EnumDescriptor * GetEnumDescriptor< ::Battlenet::JSON::Login::AuthenticationState > ()
 

Variables

static const int kFastToBufferSize = 32
 
static const int kDoubleToBufferSize = 32
 
static const int kFloatToBufferSize = 24
 

Function Documentation

◆ ascii_isalnum()

bool google::protobuf::ascii_isalnum ( char  c)
inline
62  {
63  return ('a' <= c && c <= 'z') ||
64  ('A' <= c && c <= 'Z') ||
65  ('0' <= c && c <= '9');
66 }

◆ ascii_isdigit()

bool google::protobuf::ascii_isdigit ( char  c)
inline
68  {
69  return ('0' <= c && c <= '9');
70 }

◆ CEscape()

LIBPROTOBUF_EXPORT string google::protobuf::CEscape ( const string &  src)
+ Here is the caller graph for this function:

◆ CEscapeString()

LIBPROTOBUF_EXPORT int google::protobuf::CEscapeString ( const char *  src,
int  src_len,
char *  dest,
int  dest_len 
)
+ Here is the caller graph for this function:

◆ DoubleToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::DoubleToBuffer ( double  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastHex32ToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::FastHex32ToBuffer ( uint32  i,
char *  buffer 
)

◆ FastHex64ToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::FastHex64ToBuffer ( uint64  i,
char *  buffer 
)

◆ FastHexToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::FastHexToBuffer ( int  i,
char *  buffer 
)

◆ FastInt32ToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::FastInt32ToBuffer ( int32  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastInt32ToBufferLeft()

LIBPROTOBUF_EXPORT char* google::protobuf::FastInt32ToBufferLeft ( int32  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastInt64ToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::FastInt64ToBuffer ( int64  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastInt64ToBufferLeft()

LIBPROTOBUF_EXPORT char* google::protobuf::FastInt64ToBufferLeft ( int64  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastIntToBuffer()

char* google::protobuf::FastIntToBuffer ( int  i,
char *  buffer 
)
inline
395  {
396  return (sizeof(i) == 4 ?
397  FastInt32ToBuffer(i, buffer) : FastInt64ToBuffer(i, buffer));
398 }
LIBPROTOBUF_EXPORT char * FastInt32ToBuffer(int32 i, char *buffer)
LIBPROTOBUF_EXPORT char * FastInt64ToBuffer(int64 i, char *buffer)
+ Here is the call graph for this function:

◆ FastLongToBuffer()

char* google::protobuf::FastLongToBuffer ( long  i,
char *  buffer 
)
inline
403  {
404  return (sizeof(i) == 4 ?
405  FastInt32ToBuffer(i, buffer) : FastInt64ToBuffer(i, buffer));
406 }
LIBPROTOBUF_EXPORT char * FastInt32ToBuffer(int32 i, char *buffer)
LIBPROTOBUF_EXPORT char * FastInt64ToBuffer(int64 i, char *buffer)
+ Here is the call graph for this function:

◆ FastUInt32ToBuffer()

char * google::protobuf::FastUInt32ToBuffer ( uint32  i,
char *  buffer 
)
inline
434  {
435  FastUInt32ToBufferLeft(i, buffer);
436  return buffer;
437 }
LIBPROTOBUF_EXPORT char * FastUInt32ToBufferLeft(uint32 i, char *buffer)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FastUInt32ToBufferLeft()

LIBPROTOBUF_EXPORT char* google::protobuf::FastUInt32ToBufferLeft ( uint32  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastUInt64ToBuffer()

char * google::protobuf::FastUInt64ToBuffer ( uint64  i,
char *  buffer 
)
inline
438  {
439  FastUInt64ToBufferLeft(i, buffer);
440  return buffer;
441 }
LIBPROTOBUF_EXPORT char * FastUInt64ToBufferLeft(uint64 i, char *buffer)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FastUInt64ToBufferLeft()

LIBPROTOBUF_EXPORT char* google::protobuf::FastUInt64ToBufferLeft ( uint64  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ FastUIntToBuffer()

char* google::protobuf::FastUIntToBuffer ( unsigned int  i,
char *  buffer 
)
inline
399  {
400  return (sizeof(i) == 4 ?
401  FastUInt32ToBuffer(i, buffer) : FastUInt64ToBuffer(i, buffer));
402 }
char * FastUInt64ToBuffer(uint64 i, char *buffer)
Definition: strutil.h:438
char * FastUInt32ToBuffer(uint32 i, char *buffer)
Definition: strutil.h:434
+ Here is the call graph for this function:

◆ FastULongToBuffer()

char* google::protobuf::FastULongToBuffer ( unsigned long  i,
char *  buffer 
)
inline
407  {
408  return (sizeof(i) == 4 ?
409  FastUInt32ToBuffer(i, buffer) : FastUInt64ToBuffer(i, buffer));
410 }
char * FastUInt64ToBuffer(uint64 i, char *buffer)
Definition: strutil.h:438
char * FastUInt32ToBuffer(uint32 i, char *buffer)
Definition: strutil.h:434
+ Here is the call graph for this function:

◆ FloatToBuffer()

LIBPROTOBUF_EXPORT char* google::protobuf::FloatToBuffer ( float  i,
char *  buffer 
)
+ Here is the caller graph for this function:

◆ GetEnumDescriptor< ::Battlenet::JSON::Login::AuthenticationState >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::Battlenet::JSON::Login::AuthenticationState > ( )
inline
2364  {
2366 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * AuthenticationState_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::Battlenet::JSON::Login::FormType >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::Battlenet::JSON::Login::FormType > ( )
inline
2359  {
2361 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * FormType_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::account::v1::IdentityVerificationStatus >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::account::v1::IdentityVerificationStatus > ( )
inline
8335  {
8337 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * IdentityVerificationStatus_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::account::v1::PrivacyInfo_GameInfoPrivacy > ( )
inline
8330  {
8332 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * PrivacyInfo_GameInfoPrivacy_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::AttributeFilter_Operation >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::AttributeFilter_Operation > ( )
inline
1103  {
1105 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * AttributeFilter_Operation_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel > ( )
inline
2475  {
2477 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * ChannelState_PrivacyLevel_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::ClubRemovedReason >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::ClubRemovedReason > ( )
inline
238  {
240 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * ClubRemovedReason_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::PresenceLevel >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::PresenceLevel > ( )
inline
253  {
255 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * PresenceLevel_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::PrivacyLevel >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::PrivacyLevel > ( )
inline
228  {
230 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * PrivacyLevel_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::StreamNotificationFilter >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::StreamNotificationFilter > ( )
inline
263  {
265 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * StreamNotificationFilter_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::StreamVoiceLevel >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::StreamVoiceLevel > ( )
inline
243  {
245 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * StreamVoiceLevel_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::VisibilityLevel >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::VisibilityLevel > ( )
inline
233  {
235 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VisibilityLevel_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::VoiceMicrophoneState >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::VoiceMicrophoneState > ( )
inline
248  {
250 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VoiceMicrophoneState_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::club::v1::WhisperLevel >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::club::v1::WhisperLevel > ( )
inline
258  {
260 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * WhisperLevel_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::EntityIdRestriction_Kind >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::EntityIdRestriction_Kind > ( )
inline
2213  {
2215 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * EntityIdRestriction_Kind_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::EventOrder >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::EventOrder > ( )
inline
430  {
432 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * EventOrder_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::InvitationRemovedReason >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::InvitationRemovedReason > ( )
inline
863  {
865 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * InvitationRemovedReason_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::LogOption >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::LogOption > ( )
inline
2218  {
2220 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * LogOption_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::presence::v1::FieldOperation_OperationType >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::presence::v1::FieldOperation_OperationType > ( )
inline
1214  {
1216 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * FieldOperation_OperationType_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::report::v1::SpamReport_SpamSource >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::report::v1::SpamReport_SpamSource > ( )
inline
2436  {
2438 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * SpamReport_SpamSource_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::report::v2::ClubSource >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::report::v2::ClubSource > ( )
inline
808  {
810 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * ClubSource_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::report::v2::IssueType >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::report::v2::IssueType > ( )
inline
798  {
800 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * IssueType_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::report::v2::UserSource >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::report::v2::UserSource > ( )
inline
803  {
805 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * UserSource_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::SuggestionRemovedReason >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::SuggestionRemovedReason > ( )
inline
868  {
870 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * SuggestionRemovedReason_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::TypingIndicator >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::TypingIndicator > ( )
inline
219  {
221 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * TypingIndicator_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation > ( )
inline
891  {
893 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * AttributeFilter_Operation_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::VoiceJoinType >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::VoiceJoinType > ( )
inline
515  {
517 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VoiceJoinType_descriptor()
+ Here is the call graph for this function:

◆ GetEnumDescriptor< ::bgs::protocol::VoiceMuteReason >()

template<>
const EnumDescriptor* google::protobuf::GetEnumDescriptor< ::bgs::protocol::VoiceMuteReason > ( )
inline
520  {
522 }
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * VoiceMuteReason_descriptor()
+ Here is the call graph for this function:

◆ HasPrefixString()

bool google::protobuf::HasPrefixString ( const string &  str,
const string &  prefix 
)
inline
81  {
82  return str.size() >= prefix.size() &&
83  str.compare(0, prefix.size(), prefix) == 0;
84 }
+ Here is the caller graph for this function:

◆ HasSuffixString()

bool google::protobuf::HasSuffixString ( const string &  str,
const string &  suffix 
)
inline
103  {
104  return str.size() >= suffix.size() &&
105  str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0;
106 }
+ Here is the caller graph for this function:

◆ Join() [1/2]

template<typename Iterator >
void google::protobuf::Join ( Iterator  start,
Iterator  end,
const char *  delim,
string *  result 
)
536  {
537  for (Iterator it = start; it != end; ++it) {
538  if (it != start) {
539  result->append(delim);
540  }
541  result->append(internal::ToString(*it));
542  }
543 }
string ToString(string a)
Definition: strutil.h:495
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Join() [2/2]

template<typename Range >
string google::protobuf::Join ( const Range &  components,
const char *  delim 
)
547  {
548  string result;
549  Join(components.begin(), components.end(), delim, &result);
550  return result;
551 }
string Join(const Range &components, const char *delim)
Definition: strutil.h:546
+ Here is the call graph for this function:

◆ JoinStrings() [1/2]

LIBPROTOBUF_EXPORT void google::protobuf::JoinStrings ( const vector< string > &  components,
const char *  delim,
string *  result 
)
+ Here is the caller graph for this function:

◆ JoinStrings() [2/2]

string google::protobuf::JoinStrings ( const vector< string > &  components,
const char *  delim 
)
inline
217  {
218  string result;
219  JoinStrings(components, delim, &result);
220  return result;
221 }
string JoinStrings(const vector< string > &components, const char *delim)
Definition: strutil.h:216
+ Here is the call graph for this function:

◆ LowerString()

void google::protobuf::LowerString ( string *  s)
inline
136  {
137  string::iterator end = s->end();
138  for (string::iterator i = s->begin(); i != end; ++i) {
139  // tolower() changes based on locale. We don't want this!
140  if ('A' <= *i && *i <= 'Z') *i += 'a' - 'A';
141  }
142 }

◆ safe_int()

LIBPROTOBUF_EXPORT bool google::protobuf::safe_int ( string  text,
int32 value_p 
)
+ Here is the caller graph for this function:

◆ safe_strto32()

bool google::protobuf::safe_strto32 ( string  text,
int32 value 
)
inline
356  {
357  return safe_int(text, value);
358 }
LIBPROTOBUF_EXPORT bool safe_int(string text, int32 *value_p)
+ Here is the call graph for this function:

◆ SimpleDtoa()

LIBPROTOBUF_EXPORT string google::protobuf::SimpleDtoa ( double  value)
+ Here is the caller graph for this function:

◆ SimpleFtoa()

LIBPROTOBUF_EXPORT string google::protobuf::SimpleFtoa ( float  value)
+ Here is the caller graph for this function:

◆ SimpleItoa() [1/6]

LIBPROTOBUF_EXPORT string google::protobuf::SimpleItoa ( int  i)
+ Here is the caller graph for this function:

◆ SimpleItoa() [2/6]

LIBPROTOBUF_EXPORT string google::protobuf::SimpleItoa ( unsigned int  i)

◆ SimpleItoa() [3/6]

LIBPROTOBUF_EXPORT string google::protobuf::SimpleItoa ( long  i)

◆ SimpleItoa() [4/6]

LIBPROTOBUF_EXPORT string google::protobuf::SimpleItoa ( unsigned long  i)

◆ SimpleItoa() [5/6]

LIBPROTOBUF_EXPORT string google::protobuf::SimpleItoa ( long long  i)

◆ SimpleItoa() [6/6]

LIBPROTOBUF_EXPORT string google::protobuf::SimpleItoa ( unsigned long long  i)

◆ Split()

vector<string> google::protobuf::Split ( const string &  full,
const char *  delim,
bool  skip_empty = true 
)
inline
195  {
196  vector<string> result;
197  if (skip_empty) {
198  SplitStringUsing(full, delim, &result);
199  } else {
200  SplitStringAllowEmpty(full, delim, &result);
201  }
202  return result;
203 }
LIBPROTOBUF_EXPORT void SplitStringUsing(const string &full, const char *delim, vector< string > *res)
LIBPROTOBUF_EXPORT void SplitStringAllowEmpty(const string &full, const char *delim, vector< string > *result)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SplitStringAllowEmpty()

LIBPROTOBUF_EXPORT void google::protobuf::SplitStringAllowEmpty ( const string &  full,
const char *  delim,
vector< string > *  result 
)
+ Here is the caller graph for this function:

◆ SplitStringUsing()

LIBPROTOBUF_EXPORT void google::protobuf::SplitStringUsing ( const string &  full,
const char *  delim,
vector< string > *  res 
)
+ Here is the caller graph for this function:

◆ StrCat() [1/4]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
string google::protobuf::StrCat ( const T1 &  a,
const T2 &  b,
const T3 &  c,
const T4 &  d,
const T5 &  e 
)
506  {
507  return internal::ToString(a) + internal::ToString(b) +
509 }
string ToString(string a)
Definition: strutil.h:495
+ Here is the call graph for this function:

◆ StrCat() [2/4]

template<typename T1 , typename T2 , typename T3 , typename T4 >
string google::protobuf::StrCat ( const T1 &  a,
const T2 &  b,
const T3 &  c,
const T4 &  d 
)
513  {
514  return internal::ToString(a) + internal::ToString(b) +
516 }
string ToString(string a)
Definition: strutil.h:495
+ Here is the call graph for this function:

◆ StrCat() [3/4]

template<typename T1 , typename T2 , typename T3 >
string google::protobuf::StrCat ( const T1 &  a,
const T2 &  b,
const T3 &  c 
)
519  {
520  return internal::ToString(a) + internal::ToString(b) +
522 }
string ToString(string a)
Definition: strutil.h:495
+ Here is the call graph for this function:

◆ StrCat() [4/4]

template<typename T1 , typename T2 >
string google::protobuf::StrCat ( const T1 &  a,
const T2 &  b 
)
525  {
526  return internal::ToString(a) + internal::ToString(b);
527 }
string ToString(string a)
Definition: strutil.h:495
+ Here is the call graph for this function:

◆ StringReplace()

LIBPROTOBUF_EXPORT string google::protobuf::StringReplace ( const string &  s,
const string &  oldsub,
const string &  newsub,
bool  replace_all 
)
+ Here is the caller graph for this function:

◆ StripPrefixString()

string google::protobuf::StripPrefixString ( const string &  str,
const string &  prefix 
)
inline
86  {
87  if (HasPrefixString(str, prefix)) {
88  return str.substr(prefix.size());
89  } else {
90  return str;
91  }
92 }
bool HasPrefixString(const string &str, const string &prefix)
Definition: strutil.h:80
+ Here is the call graph for this function:

◆ StripString()

LIBPROTOBUF_EXPORT void google::protobuf::StripString ( string *  s,
const char *  remove,
char  replacewith 
)
+ Here is the caller graph for this function:

◆ StripSuffixString()

string google::protobuf::StripSuffixString ( const string &  str,
const string &  suffix 
)
inline
108  {
109  if (HasSuffixString(str, suffix)) {
110  return str.substr(0, str.size() - suffix.size());
111  } else {
112  return str;
113  }
114 }
bool HasSuffixString(const string &str, const string &suffix)
Definition: strutil.h:102
+ Here is the call graph for this function:

◆ strto32()

int32 google::protobuf::strto32 ( const char *  nptr,
char **  endptr,
int  base 
)
inline
323  {
324  if (sizeof(int32) == sizeof(long))
325  return strtol(nptr, endptr, base);
326  else
327  return strto32_adaptor(nptr, endptr, base);
328 }
LIBPROTOBUF_EXPORT int32 strto32_adaptor(const char *nptr, char **endptr, int base)
int32_t int32
Definition: Define.h:148
+ Here is the call graph for this function:

◆ strto32_adaptor()

LIBPROTOBUF_EXPORT int32 google::protobuf::strto32_adaptor ( const char *  nptr,
char **  endptr,
int  base 
)
+ Here is the caller graph for this function:

◆ strto64()

int64 google::protobuf::strto64 ( const char *  nptr,
char **  endptr,
int  base 
)
inline
339  {
340  GOOGLE_COMPILE_ASSERT(sizeof(int64) == sizeof(long long),
341  sizeof_int64_is_not_sizeof_long_long);
342  return strtoll(nptr, endptr, base);
343 }
int64_t int64
Definition: Define.h:147

◆ strtou32()

uint32 google::protobuf::strtou32 ( const char *  nptr,
char **  endptr,
int  base 
)
inline
330  {
331  if (sizeof(uint32) == sizeof(unsigned long))
332  return strtoul(nptr, endptr, base);
333  else
334  return strtou32_adaptor(nptr, endptr, base);
335 }
uint32_t uint32
Definition: Define.h:152
LIBPROTOBUF_EXPORT uint32 strtou32_adaptor(const char *nptr, char **endptr, int base)
+ Here is the call graph for this function:

◆ strtou32_adaptor()

LIBPROTOBUF_EXPORT uint32 google::protobuf::strtou32_adaptor ( const char *  nptr,
char **  endptr,
int  base 
)
+ Here is the caller graph for this function:

◆ strtou64()

uint64 google::protobuf::strtou64 ( const char *  nptr,
char **  endptr,
int  base 
)
inline
345  {
346  GOOGLE_COMPILE_ASSERT(sizeof(uint64) == sizeof(unsigned long long),
347  sizeof_uint64_is_not_sizeof_long_long);
348  return strtoull(nptr, endptr, base);
349 }
uint64_t uint64
Definition: Define.h:151
+ Here is the call graph for this function:

◆ ToHex()

LIBPROTOBUF_EXPORT string google::protobuf::ToHex ( uint64  num)
+ Here is the caller graph for this function:

◆ ToUpper()

string google::protobuf::ToUpper ( const string &  s)
inline
152  {
153  string out = s;
154  UpperString(&out);
155  return out;
156 }
void UpperString(string *s)
Definition: strutil.h:144
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnescapeCEscapeSequences() [1/2]

LIBPROTOBUF_EXPORT int google::protobuf::UnescapeCEscapeSequences ( const char *  source,
char *  dest 
)
+ Here is the caller graph for this function:

◆ UnescapeCEscapeSequences() [2/2]

LIBPROTOBUF_EXPORT int google::protobuf::UnescapeCEscapeSequences ( const char *  source,
char *  dest,
vector< string > *  errors 
)

◆ UnescapeCEscapeString() [1/3]

LIBPROTOBUF_EXPORT int google::protobuf::UnescapeCEscapeString ( const string &  src,
string *  dest 
)
+ Here is the caller graph for this function:

◆ UnescapeCEscapeString() [2/3]

LIBPROTOBUF_EXPORT int google::protobuf::UnescapeCEscapeString ( const string &  src,
string *  dest,
vector< string > *  errors 
)

◆ UnescapeCEscapeString() [3/3]

LIBPROTOBUF_EXPORT string google::protobuf::UnescapeCEscapeString ( const string &  src)

◆ UpperString()

void google::protobuf::UpperString ( string *  s)
inline
144  {
145  string::iterator end = s->end();
146  for (string::iterator i = s->begin(); i != end; ++i) {
147  // toupper() changes based on locale. We don't want this!
148  if ('a' <= *i && *i <= 'z') *i += 'A' - 'a';
149  }
150 }
+ Here is the caller graph for this function:

Variable Documentation

◆ kDoubleToBufferSize

const int google::protobuf::kDoubleToBufferSize = 32
static

◆ kFastToBufferSize

const int google::protobuf::kFastToBufferSize = 32
static

◆ kFloatToBufferSize

const int google::protobuf::kFloatToBufferSize = 24
static