本文整理汇总了C++中MergeFrom函数的典型用法代码示例。如果您正苦于以下问题:C++ MergeFrom函数的具体用法?C++ MergeFrom怎么用?C++ MergeFrom使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了MergeFrom函数的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: Clear
void CSCreateRoomRequest::CopyFrom(const CSCreateRoomRequest& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:MicroBlogProjects,项目名称:IceBurning,代码行数:5,代码来源:CreateRoom.cpp
示例2: SharedCtor
RceHeartbeat::RceHeartbeat(const RceHeartbeat& from) {
SharedCtor();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:4,代码来源:RceHeartbeat.pb.cpp
示例3: Clear
void MsgItem::CopyFrom(const ::google::protobuf::Message& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:5,代码来源:RseObtainSocialItems.pb.cpp
示例4: MergeFrom
void HeartbeatResponse::CheckTypeAndMergeFrom(
const ::google::protobuf::MessageLite& from) {
MergeFrom(*::google::protobuf::down_cast<const HeartbeatResponse*>(&from));
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:4,代码来源:Heartbeat.pb.cpp
示例5: SharedCtor
HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& from)
: ::google::protobuf::MessageLite() {
SharedCtor();
MergeFrom(from);
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:5,代码来源:Heartbeat.pb.cpp
示例6: Clear
void RceObtainAskForHelp::CopyFrom(const RceObtainAskForHelp& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:5,代码来源:RceObtainAskForHelp.pb.cpp
示例7: Clear
void HeartbeatRequest::CopyFrom(const HeartbeatRequest& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:5,代码来源:Heartbeat.pb.cpp
示例8: Clear
void LanBattleDataNotice::CopyFrom(const LanBattleDataNotice& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:5,代码来源:LanBattleData.pb.cpp
示例9: SharedCtor
LanBattleDataNotice::LanBattleDataNotice(const LanBattleDataNotice& from)
: ::google::protobuf::MessageLite() {
SharedCtor();
MergeFrom(from);
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:5,代码来源:LanBattleData.pb.cpp
示例10: MergeFrom
void LanBattleDataNotice::CheckTypeAndMergeFrom(
const ::google::protobuf::MessageLite& from) {
MergeFrom(*::google::protobuf::down_cast<const LanBattleDataNotice*>(&from));
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:4,代码来源:LanBattleData.pb.cpp
示例11: SharedCtor
CSJoinRoomResponse::CSJoinRoomResponse(const CSJoinRoomResponse& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
}
开发者ID:MicroBlogProjects,项目名称:IceBurning,代码行数:5,代码来源:CreateRoom.cpp
示例12: Clear
void UpdateUserInfo::CopyFrom(const UpdateUserInfo& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:5,代码来源:BattleResult.pb.cpp
示例13: Clear
void RceObtainCustomizer::CopyFrom(const RceObtainCustomizer& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:5,代码来源:RceObtainCustomizer.pb.cpp
示例14: SharedCtor
RceObtainCustomizer::RceObtainCustomizer(const RceObtainCustomizer& from) {
SharedCtor();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:4,代码来源:RceObtainCustomizer.pb.cpp
示例15: SharedCtor
RceObtainAskForHelp::RceObtainAskForHelp(const RceObtainAskForHelp& from) {
SharedCtor();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:4,代码来源:RceObtainAskForHelp.pb.cpp
示例16: MergeFrom
void BattleResultResponse::CheckTypeAndMergeFrom(
const ::google::protobuf::MessageLite& from) {
MergeFrom(*::google::protobuf::down_cast<const BattleResultResponse*>(&from));
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:4,代码来源:BattleResult.pb.cpp
示例17: SharedCtor
UpdateUserInfo::UpdateUserInfo(const UpdateUserInfo& from)
: ::google::protobuf::MessageLite() {
SharedCtor();
MergeFrom(from);
}
开发者ID:wanggan768q,项目名称:GameWork,代码行数:5,代码来源:BattleResult.pb.cpp
示例18: Clear
void RceHeartbeat::CopyFrom(const RceHeartbeat& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:5,代码来源:RceHeartbeat.pb.cpp
示例19: SharedCtor
MsgItem::MsgItem(const MsgItem& from) {
SharedCtor();
MergeFrom(from);
}
开发者ID:CrazyPro,项目名称:ape,代码行数:4,代码来源:RseObtainSocialItems.pb.cpp
注:本文中的MergeFrom函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论