本文整理汇总了C++中MergeFrom函数的典型用法代码示例。如果您正苦于以下问题:C++ MergeFrom函数的具体用法?C++ MergeFrom怎么用?C++ MergeFrom使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了MergeFrom函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Clear
void CSCreateRoomRequest::CopyFrom(const CSCreateRoomRequest& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例2: SharedCtor
RceHeartbeat::RceHeartbeat(const RceHeartbeat& from) {
SharedCtor();
MergeFrom(from);
}
示例3: Clear
void MsgItem::CopyFrom(const ::google::protobuf::Message& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例4: MergeFrom
void HeartbeatResponse::CheckTypeAndMergeFrom(
const ::google::protobuf::MessageLite& from) {
MergeFrom(*::google::protobuf::down_cast<const HeartbeatResponse*>(&from));
}
示例5: SharedCtor
HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& from)
: ::google::protobuf::MessageLite() {
SharedCtor();
MergeFrom(from);
}
示例6: Clear
void RceObtainAskForHelp::CopyFrom(const RceObtainAskForHelp& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例7: Clear
void HeartbeatRequest::CopyFrom(const HeartbeatRequest& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例8: Clear
void LanBattleDataNotice::CopyFrom(const LanBattleDataNotice& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例9: SharedCtor
LanBattleDataNotice::LanBattleDataNotice(const LanBattleDataNotice& from)
: ::google::protobuf::MessageLite() {
SharedCtor();
MergeFrom(from);
}
示例10: MergeFrom
void LanBattleDataNotice::CheckTypeAndMergeFrom(
const ::google::protobuf::MessageLite& from) {
MergeFrom(*::google::protobuf::down_cast<const LanBattleDataNotice*>(&from));
}
示例11: SharedCtor
CSJoinRoomResponse::CSJoinRoomResponse(const CSJoinRoomResponse& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
}
示例12: Clear
void UpdateUserInfo::CopyFrom(const UpdateUserInfo& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例13: Clear
void RceObtainCustomizer::CopyFrom(const RceObtainCustomizer& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
示例14: SharedCtor
RceObtainCustomizer::RceObtainCustomizer(const RceObtainCustomizer& from) {
SharedCtor();
MergeFrom(from);
}
示例15: SharedCtor
RceObtainAskForHelp::RceObtainAskForHelp(const RceObtainAskForHelp& from) {
SharedCtor();
MergeFrom(from);
}