Fast DDS  Version 3.6.1.0
Fast DDS
ContentFilterProperty.hpp
1 // Copyright 2022 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 
19 #ifndef FASTDDS_RTPS_BUILTIN_DATA__CONTENTFILTERPROPERTY_HPP
20 #define FASTDDS_RTPS_BUILTIN_DATA__CONTENTFILTERPROPERTY_HPP
21 
22 #include <string>
23 
24 #include <fastcdr/cdr/fixed_size_string.hpp>
25 #include <fastdds/utils/collections/ResourceLimitedContainerConfig.hpp>
26 #include <fastdds/utils/collections/ResourceLimitedVector.hpp>
27 
28 namespace eprosima {
29 namespace fastdds {
30 namespace rtps {
31 
36 {
37 public:
38 
43  {
48  };
49 
56  const AllocationConfiguration& config)
58  {
60  }
61 
63  fastcdr::string_255 content_filtered_topic_name;
65  fastcdr::string_255 related_topic_name;
68  fastcdr::string_255 filter_class_name;
71  std::string filter_expression;
74 };
75 
76 } // namespace rtps
77 } // namespace fastdds
78 } // namespace eprosima
79 
80 #endif // FASTDDS_RTPS_BUILTIN_DATA__CONTENTFILTERPROPERTY_HPP
Information about the content filter being applied by a reader.
Definition: ContentFilterProperty.hpp:36
fastcdr::string_255 related_topic_name
Name of the related topic being filtered.
Definition: ContentFilterProperty.hpp:65
fastdds::ResourceLimitedVector< fastcdr::string_255, std::true_type > expression_parameters
List of values for the parameters present on the filter expression.
Definition: ContentFilterProperty.hpp:73
fastcdr::string_255 filter_class_name
Class name of the filter being used.
Definition: ContentFilterProperty.hpp:68
std::string filter_expression
Filter expression indicating which content the reader wants to receive.
Definition: ContentFilterProperty.hpp:71
fastcdr::string_255 content_filtered_topic_name
Name of the content filtered topic on which the reader was created.
Definition: ContentFilterProperty.hpp:63
ContentFilterProperty(const AllocationConfiguration &config)
Construct a ContentFilterProperty.
Definition: ContentFilterProperty.hpp:55
Specifies the configuration of a resource limited collection.
Definition: ResourceLimitedContainerConfig.hpp:36
Allocation configuration for a ContentFilterProperty.
Definition: ContentFilterProperty.hpp:43
size_t expression_initial_size
Preallocated size of the filter expression.
Definition: ContentFilterProperty.hpp:45
fastdds::ResourceLimitedContainerConfig expression_parameters
Allocation configuration for the list of expression parameters.
Definition: ContentFilterProperty.hpp:47