Class ParameterPropertyList_t
Defined in File ParameterTypes.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public eprosima::fastdds::dds::Parameter_t
(Class Parameter_t)
Class Documentation
-
class ParameterPropertyList_t : public eprosima::fastdds::dds::Parameter_t
Public Functions
-
inline ParameterPropertyList_t()
Constructor without parameters Sets PID_PROPERTY_LIST as the PID of the parameter.
-
inline ParameterPropertyList_t(uint32_t size)
Constructor with a defined maximum size
- Parameters:
size – Size to be set as maximum
-
inline ParameterPropertyList_t(ParameterId_t pid, uint16_t in_length)
Constructor using a parameter PID and the parameter length
- Parameters:
pid – Pid of the parameter
in_length – Its associated length
-
inline ParameterPropertyList_t(const ParameterPropertyList_t ¶meter_properties)
Constructor using a Parameter Property List.
- Parameters:
parameter_properties – Properties to be set
-
inline ParameterPropertyList_t &operator=(const ParameterPropertyList_t ¶meter_properties)
-
inline iterator begin()
Getter for the first position of the ParameterPropertyList.
- Returns:
iterator
-
inline const_iterator begin() const
Getter for the first position of the ParameterPropertyList.
- Returns:
-
inline const_iterator end() const
Getter for the end of the ParameterPropertyList.
- Returns:
-
inline bool push_back(std::pair<std::string, std::string> p)
Introduce a new property in the ParameterPropertyList.
- Parameters:
p – Pair with the values of the new property
- Returns:
true if it is introduced, false if not.
-
inline bool push_back(const std::string &key, const std::string &value)
Introduce a new property in the ParameterPropertyList.
- Parameters:
key – Key part of the new property
value – Value part of the new property
- Returns:
true if it is introduced, false if not.
-
inline bool push_back(const unsigned char *str1, uint32_t str1_size, const unsigned char *str2, uint32_t str2_size)
Introduce a new property in the ParameterPropertyList.
- Parameters:
str1 – Name of the property
str1_size – Size of the first string
str2 – Value of the property
str2_size – Size of the second string
- Returns:
true if it is introduced, false if not.
-
inline bool set_property(iterator pos, const std::pair<std::string, std::string> &new_value)
Setter of a new property value on a specific position.
- Parameters:
pos – Iterator with the position of the property to be changed
new_value – Value to be set
- Returns:
true if changed, false if not
-
inline void clear()
Clears the ParameterPropertyList.
Protected Functions
-
class const_iterator
Public Types
-
typedef const_iterator self_type
-
typedef const ParameterProperty_t value_type
-
typedef const ParameterProperty_t &reference
-
typedef const ParameterProperty_t *pointer
-
typedef size_t difference_type
-
typedef std::forward_iterator_tag iterator_category
-
typedef const_iterator self_type
-
class iterator
Public Types
-
typedef ParameterProperty_t value_type
-
typedef ParameterProperty_t &reference
-
typedef ParameterProperty_t *pointer
-
typedef size_t difference_type
-
typedef std::forward_iterator_tag iterator_category
-
typedef ParameterProperty_t value_type
-
inline ParameterPropertyList_t()