server/DemoServer/MessageServer.pb.cc
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MessageServer.proto
#include "stdafx.h"
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "MessageServer.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
namespace IMServer {
namespace {
const ::google::protobuf::Descriptor* serverGroupMsg_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
serverGroupMsg_reflection_ = NULL;
} // namespace
void protobuf_AssignDesc_MessageServer_2eproto() {
protobuf_AddDesc_MessageServer_2eproto();
const ::google::protobuf::FileDescriptor* file =
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
"MessageServer.proto");
GOOGLE_CHECK(file != NULL);
serverGroupMsg_descriptor_ = file->message_type(0);
static const int serverGroupMsg_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(serverGroupMsg, userid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(serverGroupMsg, msgdata_),
};
serverGroupMsg_reflection_ =
::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
serverGroupMsg_descriptor_,
serverGroupMsg::default_instance_,
serverGroupMsg_offsets_,
-1,
-1,
-1,
sizeof(serverGroupMsg),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(serverGroupMsg, _internal_metadata_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(serverGroupMsg, _is_default_instance_));
}
namespace {
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
inline void protobuf_AssignDescriptorsOnce() {
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
&protobuf_AssignDesc_MessageServer_2eproto);
后面还有 317 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
