// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ConversionOutput.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "ConversionOutput.pb.h" #include #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace Tango { namespace PMR { namespace ColorLab { class ConversionOutputDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _ConversionOutput_default_instance_; namespace protobuf_ConversionOutput_2eproto { namespace { ::google::protobuf::Metadata file_level_metadata[1]; } // namespace PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField const TableStruct::entries[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0}, }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField const TableStruct::aux[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ::google::protobuf::internal::AuxillaryParseTableField(), }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const TableStruct::schema[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { NULL, NULL, 0, -1, -1, -1, -1, NULL, false }, }; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionOutput, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionOutput, hivecoordinates_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionOutput, triplecoordinates_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionOutput, singlecoordinates_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ConversionOutput, outofgamut_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(ConversionOutput)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&_ConversionOutput_default_instance_), }; namespace { void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "ConversionOutput.proto", schemas, file_default_instances, TableStruct::offsets, factory, file_level_metadata, NULL, NULL); } void protobuf_AssignDescriptorsOnce() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); } void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD; void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1); } } // namespace void TableStruct::InitDefaultsImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::internal::InitProtobufDefaults(); ::Tango::PMR::ColorLab::protobuf_OutputCoordinates_2eproto::InitDefaults(); _ConversionOutput_default_instance_._instance.DefaultConstruct(); ::google::protobuf::internal::OnShutdownDestroyMessage( &_ConversionOutput_default_instance_);_ConversionOutput_default_instance_._instance.get_mutable()->singlecoordinates_ = const_cast< ::Tango::PMR::ColorLab::OutputCoordinates*>( ::Tango::PMR::ColorLab::OutputCoordinates::internal_default_instance()); } void InitDefaults() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl); } namespace { void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { "\n\026ConversionOutput.proto\022\022Tango.PMR.Colo" "rLab\032\027OutputCoordinates.proto\"\352\001\n\020Conver" "sionOutput\022>\n\017HiveCoordinates\030\001 \003(\0132%.Ta" "ngo.PMR.ColorLab.OutputCoordinates\022@\n\021Tr" "ipleCoordinates\030\002 \003(\0132%.Tango.PMR.ColorL" "ab.OutputCoordinates\022@\n\021SingleCoordinate" "s\030\003 \001(\0132%.Tango.PMR.ColorLab.OutputCoord" "inates\022\022\n\nOutOfGamut\030\005 \001(\010B\036\n\034com.twine." "tango.pmr.colorlabb\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 346); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "ConversionOutput.proto", &protobuf_RegisterTypes); ::Tango::PMR::ColorLab::protobuf_OutputCoordinates_2eproto::AddDescriptors(); } } // anonymous namespace void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } // Force AddDescriptors() to be called at dynamic initialization time. struct StaticDescriptorInitializer { StaticDescriptorInitializer() { AddDescriptors(); } } static_descriptor_initializer; } // namespace protobuf_ConversionOutput_2eproto // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ConversionOutput::kHiveCoordinatesFieldNumber; const int ConversionOutput::kTripleCoordinatesFieldNumber; const int ConversionOutput::kSingleCoordinatesFieldNumber; const int ConversionOutput::kOutOfGamutFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ConversionOutput::ConversionOutput() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_ConversionOutput_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:Tango.PMR.ColorLab.ConversionOutput) } ConversionOutput::ConversionOutput(const ConversionOutput& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), hivecoordinates_(from.hivecoordinates_), triplecoordinates_(from.triplecoordinates_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_singlecoordinates()) { singlecoordinates_ = new ::Tango::PMR::ColorLab::OutputCoordinates(*from.singlecoordinates_); } else { singlecoordinates_ = NULL; } outofgamut_ = from.outofgamut_; // @@protoc_insertion_point(copy_constructor:Tango.PMR.ColorLab.ConversionOutput) } void ConversionOutput::SharedCtor() { ::memset(&singlecoordinates_, 0, static_cast( reinterpret_cast(&outofgamut_) - reinterpret_cast(&singlecoordinates_)) + sizeof(outofgamut_)); _cached_size_ = 0; } ConversionOutput::~ConversionOutput() { // @@protoc_insertion_point(destructor:Tango.PMR.ColorLab.ConversionOutput) SharedDtor(); } void ConversionOutput::SharedDtor() { if (this != internal_default_instance()) delete singlecoordinates_; } void ConversionOutput::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* ConversionOutput::descriptor() { protobuf_ConversionOutput_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_ConversionOutput_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const ConversionOutput& ConversionOutput::default_instance() { protobuf_ConversionOutput_2eproto::InitDefaults(); return *internal_default_instance(); } ConversionOutput* ConversionOutput::New(::google::protobuf::Arena* arena) const { ConversionOutput* n = new ConversionOutput; if (arena != NULL) { arena->Own(n); } return n; } void ConversionOutput::Clear() { // @@protoc_insertion_point(message_clear_start:Tango.PMR.ColorLab.ConversionOutput) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; hivecoordinates_.Clear(); triplecoordinates_.Clear(); if (GetArenaNoVirtual() == NULL && singlecoordinates_ != NULL) { delete singlecoordinates_; } singlecoordinates_ = NULL; outofgamut_ = false; _internal_metadata_.Clear(); } bool ConversionOutput::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Tango.PMR.ColorLab.ConversionOutput) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .Tango.PMR.ColorLab.OutputCoordinates HiveCoordinates = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_hivecoordinates())); } else { goto handle_unusual; } break; } // repeated .Tango.PMR.ColorLab.OutputCoordinates TripleCoordinates = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_triplecoordinates())); } else { goto handle_unusual; } break; } // .Tango.PMR.ColorLab.OutputCoordinates SingleCoordinates = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_singlecoordinates())); } else { goto handle_unusual; } break; } // bool OutOfGamut = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &outofgamut_))); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Tango.PMR.ColorLab.ConversionOutput) return true; failure: // @@protoc_insertion_point(parse_failure:Tango.PMR.ColorLab.ConversionOutput) return false; #undef DO_ } void ConversionOutput::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Tango.PMR.ColorLab.ConversionOutput) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .Tango.PMR.ColorLab.OutputCoordinates HiveCoordinates = 1; for (unsigned int i = 0, n = static_cast(this->hivecoordinates_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, this->hivecoordinates(static_cast(i)), output); } // repeated .Tango.PMR.ColorLab.OutputCoordinates TripleCoordinates = 2; for (unsigned int i = 0, n = static_cast(this->triplecoordinates_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->triplecoordinates(static_cast(i)), output); } // .Tango.PMR.ColorLab.OutputCoordinates SingleCoordinates = 3; if (this->has_singlecoordinates()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, *this->singlecoordinates_, output); } // bool OutOfGamut = 5; if (this->outofgamut() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->outofgamut(), output); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } // @@protoc_insertion_point(serialize_end:Tango.PMR.ColorLab.ConversionOutput) } ::google::protobuf::uint8* ConversionOutput::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.ColorLab.ConversionOutput) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .Tango.PMR.ColorLab.OutputCoordinates HiveCoordinates = 1; for (unsigned int i = 0, n = static_cast(this->hivecoordinates_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageNoVirtualToArray( 1, this->hivecoordinates(static_cast(i)), deterministic, target); } // repeated .Tango.PMR.ColorLab.OutputCoordinates TripleCoordinates = 2; for (unsigned int i = 0, n = static_cast(this->triplecoordinates_size()); i < n; i++) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageNoVirtualToArray( 2, this->triplecoordinates(static_cast(i)), deterministic, target); } // .Tango.PMR.ColorLab.OutputCoordinates SingleCoordinates = 3; if (this->has_singlecoordinates()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageNoVirtualToArray( 3, *this->singlecoordinates_, deterministic, target); } // bool OutOfGamut = 5; if (this->outofgamut() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->outofgamut(), target); } if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } // @@protoc_insertion_point(serialize_to_array_end:Tango.PMR.ColorLab.ConversionOutput) return target; } size_t ConversionOutput::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Tango.PMR.ColorLab.ConversionOutput) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance())); } // repeated .Tango.PMR.ColorLab.OutputCoordinates HiveCoordinates = 1; { unsigned int count = static_cast(this->hivecoordinates_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->hivecoordinates(static_cast(i))); } } // repeated .Tango.PMR.ColorLab.OutputCoordinates TripleCoordinates = 2; { unsigned int count = static_cast(this->triplecoordinates_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->triplecoordinates(static_cast(i))); } } // .Tango.PMR.ColorLab.OutputCoordinates SingleCoordinates = 3; if (this->has_singlecoordinates()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( *this->singlecoordinates_); } // bool OutOfGamut = 5; if (this->outofgamut() != 0) { total_size += 1 + 1; } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void ConversionOutput::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.ColorLab.ConversionOutput) GOOGLE_DCHECK_NE(&from, this); const ConversionOutput* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.ColorLab.ConversionOutput) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.ColorLab.ConversionOutput) MergeFrom(*source); } } void ConversionOutput::MergeFrom(const ConversionOutput& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.ColorLab.ConversionOutput) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; hivecoordinates_.MergeFrom(from.hivecoordinates_); triplecoordinates_.MergeFrom(from.triplecoordinates_); if (from.has_singlecoordinates()) { mutable_singlecoordinates()->::Tango::PMR::ColorLab::OutputCoordinates::MergeFrom(from.singlecoordinates()); } if (from.outofgamut() != 0) { set_outofgamut(from.outofgamut()); } } void ConversionOutput::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.ColorLab.ConversionOutput) if (&from == this) return; Clear(); MergeFrom(from); } void ConversionOutput::CopyFrom(const ConversionOutput& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.ColorLab.ConversionOutput) if (&from == this) return; Clear(); MergeFrom(from); } bool ConversionOutput::IsInitialized() const { return true; } void ConversionOutput::Swap(ConversionOutput* other) { if (other == this) return; InternalSwap(other); } void ConversionOutput::InternalSwap(ConversionOutput* other) { using std::swap; hivecoordinates_.InternalSwap(&other->hivecoordinates_); triplecoordinates_.InternalSwap(&other->triplecoordinates_); swap(singlecoordinates_, other->singlecoordinates_); swap(outofgamut_, other->outofgamut_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata ConversionOutput::GetMetadata() const { protobuf_ConversionOutput_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_ConversionOutput_2eproto::file_level_metadata[kIndexInFileMessages]; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // ConversionOutput // repeated .Tango.PMR.ColorLab.OutputCoordinates HiveCoordinates = 1; int ConversionOutput::hivecoordinates_size() const { return hivecoordinates_.size(); } void ConversionOutput::clear_hivecoordinates() { hivecoordinates_.Clear(); } const ::Tango::PMR::ColorLab::OutputCoordinates& ConversionOutput::hivecoordinates(int index) const { // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionOutput.HiveCoordinates) return hivecoordinates_.Get(index); } ::Tango::PMR::ColorLab::OutputCoordinates* ConversionOutput::mutable_hivecoordinates(int index) { // @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.ConversionOutput.HiveCoordinates) return hivecoordinates_.Mutable(index); } ::Tango::PMR::ColorLab::OutputCoordinates* ConversionOutput::add_hivecoordinates() { // @@protoc_insertion_point(field_add:Tango.PMR.ColorLab.ConversionOutput.HiveCoordinates) return hivecoordinates_.Add(); } ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::OutputCoordinates >* ConversionOutput::mutable_hivecoordinates() { // @@protoc_insertion_point(field_mutable_list:Tango.PMR.ColorLab.ConversionOutput.HiveCoordinates) return &hivecoordinates_; } const ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::OutputCoordinates >& ConversionOutput::hivecoordinates() const { // @@protoc_insertion_point(field_list:Tango.PMR.ColorLab.ConversionOutput.HiveCoordinates) return hivecoordinates_; } // repeated .Tango.PMR.ColorLab.OutputCoordinates TripleCoordinates = 2; int ConversionOutput::triplecoordinates_size() const { return triplecoordinates_.size(); } void ConversionOutput::clear_triplecoordinates() { triplecoordinates_.Clear(); } const ::Tango::PMR::ColorLab::OutputCoordinates& ConversionOutput::triplecoordinates(int index) const { // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionOutput.TripleCoordinates) return triplecoordinates_.Get(index); } ::Tango::PMR::ColorLab::OutputCoordinates* ConversionOutput::mutable_triplecoordinates(int index) { // @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.ConversionOutput.TripleCoordinates) return triplecoordinates_.Mutable(index); } ::Tango::PMR::ColorLab::OutputCoordinates* ConversionOutput::add_triplecoordinates() { // @@protoc_insertion_point(field_add:Tango.PMR.ColorLab.ConversionOutput.TripleCoordinates) return triplecoordinates_.Add(); } ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::OutputCoordinates >* ConversionOutput::mutable_triplecoordinates() { // @@protoc_insertion_point(field_mutable_list:Tango.PMR.ColorLab.ConversionOutput.TripleCoordinates) return &triplecoordinates_; } const ::google::protobuf::RepeatedPtrField< ::Tango::PMR::ColorLab::OutputCoordinates >& ConversionOutput::triplecoordinates() const { // @@protoc_insertion_point(field_list:Tango.PMR.ColorLab.ConversionOutput.TripleCoordinates) return triplecoordinates_; } // .Tango.PMR.ColorLab.OutputCoordinates SingleCoordinates = 3; bool ConversionOutput::has_singlecoordinates() const { return this != internal_default_instance() && singlecoordinates_ != NULL; } void ConversionOutput::clear_singlecoordinates() { if (GetArenaNoVirtual() == NULL && singlecoordinates_ != NULL) delete singlecoordinates_; singlecoordinates_ = NULL; } const ::Tango::PMR::ColorLab::OutputCoordinates& ConversionOutput::singlecoordinates() const { const ::Tango::PMR::ColorLab::OutputCoordinates* p = singlecoordinates_; // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionOutput.SingleCoordinates) return p != NULL ? *p : *reinterpret_cast( &::Tango::PMR::ColorLab::_OutputCoordinates_default_instance_); } ::Tango::PMR::ColorLab::OutputCoordinates* ConversionOutput::mutable_singlecoordinates() { if (singlecoordinates_ == NULL) { singlecoordinates_ = new ::Tango::PMR::ColorLab::OutputCoordinates; } // @@protoc_insertion_point(field_mutable:Tango.PMR.ColorLab.ConversionOutput.SingleCoordinates) return singlecoordinates_; } ::Tango::PMR::ColorLab::OutputCoordinates* ConversionOutput::release_singlecoordinates() { // @@protoc_insertion_point(field_release:Tango.PMR.ColorLab.ConversionOutput.SingleCoordinates) ::Tango::PMR::ColorLab::OutputCoordinates* temp = singlecoordinates_; singlecoordinates_ = NULL; return temp; } void ConversionOutput::set_allocated_singlecoordinates(::Tango::PMR::ColorLab::OutputCoordinates* singlecoordinates) { delete singlecoordinates_; singlecoordinates_ = singlecoordinates; if (singlecoordinates) { } else { } // @@protoc_insertion_point(field_set_allocated:Tango.PMR.ColorLab.ConversionOutput.SingleCoordinates) } // bool OutOfGamut = 5; void ConversionOutput::clear_outofgamut() { outofgamut_ = false; } bool ConversionOutput::outofgamut() const { // @@protoc_insertion_point(field_get:Tango.PMR.ColorLab.ConversionOutput.OutOfGamut) return outofgamut_; } void ConversionOutput::set_outofgamut(bool value) { outofgamut_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.ColorLab.ConversionOutput.OutOfGamut) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace ColorLab } // namespace PMR } // namespace Tango // @@protoc_insertion_point(global_scope)