aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc')
-rw-r--r--Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc170
1 files changed, 141 insertions, 29 deletions
diff --git a/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc
index 583b199af..cf99636ab 100644
--- a/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc
+++ b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubGPIOWriteByteResponse.pb.cc
@@ -57,6 +57,7 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION
~0u, // no _weak_field_map_
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubGPIOWriteByteResponse, portid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubGPIOWriteByteResponse, status_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubGPIOWriteByteResponse, statusword_),
};
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, sizeof(StubGPIOWriteByteResponse)},
@@ -105,12 +106,13 @@ void AddDescriptorsImpl() {
InitDefaults();
static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
"\n\037StubGPIOWriteByteResponse.proto\022\017Tango"
- ".PMR.Stubs\";\n\031StubGPIOWriteByteResponse\022"
- "\016\n\006PortId\030\001 \001(\t\022\016\n\006status\030\003 \001(\rB\033\n\031com.t"
- "wine.tango.pmr.stubsb\006proto3"
+ ".PMR.Stubs\"O\n\031StubGPIOWriteByteResponse\022"
+ "\016\n\006PortId\030\001 \001(\t\022\016\n\006Status\030\002 \001(\t\022\022\n\nStatu"
+ "sWord\030\003 \001(\rB\033\n\031com.twine.tango.pmr.stubs"
+ "b\006proto3"
};
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 148);
+ descriptor, 168);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"StubGPIOWriteByteResponse.proto", &protobuf_RegisterTypes);
}
@@ -135,6 +137,7 @@ struct StaticDescriptorInitializer {
#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int StubGPIOWriteByteResponse::kPortIdFieldNumber;
const int StubGPIOWriteByteResponse::kStatusFieldNumber;
+const int StubGPIOWriteByteResponse::kStatusWordFieldNumber;
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
StubGPIOWriteByteResponse::StubGPIOWriteByteResponse()
@@ -154,13 +157,18 @@ StubGPIOWriteByteResponse::StubGPIOWriteByteResponse(const StubGPIOWriteByteResp
if (from.portid().size() > 0) {
portid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.portid_);
}
- status_ = from.status_;
+ status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ if (from.status().size() > 0) {
+ status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_);
+ }
+ statusword_ = from.statusword_;
// @@protoc_insertion_point(copy_constructor:Tango.PMR.Stubs.StubGPIOWriteByteResponse)
}
void StubGPIOWriteByteResponse::SharedCtor() {
portid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- status_ = 0u;
+ status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ statusword_ = 0u;
_cached_size_ = 0;
}
@@ -171,6 +179,7 @@ StubGPIOWriteByteResponse::~StubGPIOWriteByteResponse() {
void StubGPIOWriteByteResponse::SharedDtor() {
portid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void StubGPIOWriteByteResponse::SetCachedSize(int size) const {
@@ -203,7 +212,8 @@ void StubGPIOWriteByteResponse::Clear() {
(void) cached_has_bits;
portid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- status_ = 0u;
+ status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+ statusword_ = 0u;
_internal_metadata_.Clear();
}
@@ -233,14 +243,30 @@ bool StubGPIOWriteByteResponse::MergePartialFromCodedStream(
break;
}
- // uint32 status = 3;
+ // string Status = 2;
+ case 2: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
+ input, this->mutable_status()));
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+ this->status().data(), static_cast<int>(this->status().length()),
+ ::google::protobuf::internal::WireFormatLite::PARSE,
+ "Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status"));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // uint32 StatusWord = 3;
case 3: {
if (static_cast< ::google::protobuf::uint8>(tag) ==
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
- input, &status_)));
+ input, &statusword_)));
} else {
goto handle_unusual;
}
@@ -283,9 +309,19 @@ void StubGPIOWriteByteResponse::SerializeWithCachedSizes(
1, this->portid(), output);
}
- // uint32 status = 3;
- if (this->status() != 0) {
- ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->status(), output);
+ // string Status = 2;
+ if (this->status().size() > 0) {
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+ this->status().data(), static_cast<int>(this->status().length()),
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
+ "Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status");
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
+ 2, this->status(), output);
+ }
+
+ // uint32 StatusWord = 3;
+ if (this->statusword() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->statusword(), output);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
@@ -313,9 +349,20 @@ void StubGPIOWriteByteResponse::SerializeWithCachedSizes(
1, this->portid(), target);
}
- // uint32 status = 3;
- if (this->status() != 0) {
- target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->status(), target);
+ // string Status = 2;
+ if (this->status().size() > 0) {
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+ this->status().data(), static_cast<int>(this->status().length()),
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
+ "Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status");
+ target =
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
+ 2, this->status(), target);
+ }
+
+ // uint32 StatusWord = 3;
+ if (this->statusword() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->statusword(), target);
}
if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
@@ -342,13 +389,20 @@ size_t StubGPIOWriteByteResponse::ByteSizeLong() const {
this->portid());
}
- // uint32 status = 3;
- if (this->status() != 0) {
+ // string Status = 2;
+ if (this->status().size() > 0) {
total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::UInt32Size(
+ ::google::protobuf::internal::WireFormatLite::StringSize(
this->status());
}
+ // uint32 StatusWord = 3;
+ if (this->statusword() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::UInt32Size(
+ this->statusword());
+ }
+
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = cached_size;
@@ -382,8 +436,12 @@ void StubGPIOWriteByteResponse::MergeFrom(const StubGPIOWriteByteResponse& from)
portid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.portid_);
}
- if (from.status() != 0) {
- set_status(from.status());
+ if (from.status().size() > 0) {
+
+ status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_);
+ }
+ if (from.statusword() != 0) {
+ set_statusword(from.statusword());
}
}
@@ -412,7 +470,8 @@ void StubGPIOWriteByteResponse::Swap(StubGPIOWriteByteResponse* other) {
void StubGPIOWriteByteResponse::InternalSwap(StubGPIOWriteByteResponse* other) {
using std::swap;
portid_.Swap(&other->portid_);
- swap(status_, other->status_);
+ status_.Swap(&other->status_);
+ swap(statusword_, other->statusword_);
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(_cached_size_, other->_cached_size_);
}
@@ -478,18 +537,71 @@ void StubGPIOWriteByteResponse::set_allocated_portid(::std::string* portid) {
// @@protoc_insertion_point(field_set_allocated:Tango.PMR.Stubs.StubGPIOWriteByteResponse.PortId)
}
-// uint32 status = 3;
+// string Status = 2;
void StubGPIOWriteByteResponse::clear_status() {
- status_ = 0u;
+ status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+const ::std::string& StubGPIOWriteByteResponse::status() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+ return status_.GetNoArena();
+}
+void StubGPIOWriteByteResponse::set_status(const ::std::string& value) {
+
+ status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+}
+#if LANG_CXX11
+void StubGPIOWriteByteResponse::set_status(::std::string&& value) {
+
+ status_.SetNoArena(
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+ // @@protoc_insertion_point(field_set_rvalue:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+}
+#endif
+void StubGPIOWriteByteResponse::set_status(const char* value) {
+ GOOGLE_DCHECK(value != NULL);
+
+ status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
+ // @@protoc_insertion_point(field_set_char:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+}
+void StubGPIOWriteByteResponse::set_status(const char* value, size_t size) {
+
+ status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+ ::std::string(reinterpret_cast<const char*>(value), size));
+ // @@protoc_insertion_point(field_set_pointer:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+}
+::std::string* StubGPIOWriteByteResponse::mutable_status() {
+
+ // @@protoc_insertion_point(field_mutable:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+ return status_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+::std::string* StubGPIOWriteByteResponse::release_status() {
+ // @@protoc_insertion_point(field_release:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+
+ return status_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+}
+void StubGPIOWriteByteResponse::set_allocated_status(::std::string* status) {
+ if (status != NULL) {
+
+ } else {
+
+ }
+ status_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), status);
+ // @@protoc_insertion_point(field_set_allocated:Tango.PMR.Stubs.StubGPIOWriteByteResponse.Status)
+}
+
+// uint32 StatusWord = 3;
+void StubGPIOWriteByteResponse::clear_statusword() {
+ statusword_ = 0u;
}
-::google::protobuf::uint32 StubGPIOWriteByteResponse::status() const {
- // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubGPIOWriteByteResponse.status)
- return status_;
+::google::protobuf::uint32 StubGPIOWriteByteResponse::statusword() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubGPIOWriteByteResponse.StatusWord)
+ return statusword_;
}
-void StubGPIOWriteByteResponse::set_status(::google::protobuf::uint32 value) {
+void StubGPIOWriteByteResponse::set_statusword(::google::protobuf::uint32 value) {
- status_ = value;
- // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubGPIOWriteByteResponse.status)
+ statusword_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubGPIOWriteByteResponse.StatusWord)
}
#endif // PROTOBUF_INLINE_NOT_IN_HEADERS