Coverage Report

Created: 2026-05-04 06:13

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/Fast-DDS/src/cpp/xmlparser/attributes/ReplierAttributes.hpp
Line
Count
Source
1
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
//     http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/**
16
 * @file ReplierAttributes.hpp
17
 */
18
19
#ifndef FASTDDS_XMLPARSER_ATTRIBUTES__REPLIERATTRIBUTES_HPP
20
#define FASTDDS_XMLPARSER_ATTRIBUTES__REPLIERATTRIBUTES_HPP
21
22
#include <xmlparser/attributes/PublisherAttributes.hpp>
23
#include <xmlparser/attributes/SubscriberAttributes.hpp>
24
25
namespace eprosima {
26
namespace fastdds {
27
namespace xmlparser {
28
29
class ReplierAttributes
30
{
31
public:
32
33
12.6k
    ReplierAttributes() = default;
34
35
    bool operator ==(
36
            const ReplierAttributes& b) const
37
0
    {
38
0
        return (this->service_name == b.service_name) &&
39
0
               (this->request_topic_name == b.request_topic_name) &&
40
0
               (this->reply_topic_name == b.reply_topic_name) &&
41
0
               (this->publisher == b.publisher) &&
42
0
               (this->subscriber == b.subscriber);
43
0
    }
44
45
    std::string service_name;
46
    std::string request_type;
47
    std::string reply_type;
48
    std::string request_topic_name;
49
    std::string reply_topic_name;
50
    PublisherAttributes publisher;
51
    SubscriberAttributes subscriber;
52
};
53
54
} // namespace xmlparser
55
} /* namespace fastdds */
56
} /* namespace eprosima */
57
58
#endif // FASTDDS_XMLPARSER_ATTRIBUTES__REPLIERATTRIBUTES_HPP