| | | |
Offset 958, 38 lines modified | Offset 958, 38 lines modified |
958 | <div·class="line"><a·id="l01063"·name="l01063"></a><span·class="lineno">·1063</span>········<span·class="comment">//Skip·the·size·of·the·second·element·and·return·the·string</span></div> | 958 | <div·class="line"><a·id="l01063"·name="l01063"></a><span·class="lineno">·1063</span>········<span·class="comment">//Skip·the·size·of·the·second·element·and·return·the·string</span></div> |
959 | <div·class="line"><a·id="l01064"·name="l01064"></a><span·class="lineno">·1064</span>········<span·class="keywordflow">return</span>·std::string((<span·class="keywordtype">char</span>*)data·+·size1·+·4);</div> | 959 | <div·class="line"><a·id="l01064"·name="l01064"></a><span·class="lineno">·1064</span>········<span·class="keywordflow">return</span>·std::string((<span·class="keywordtype">char</span>*)data·+·size1·+·4);</div> |
960 | <div·class="line"><a·id="l01065"·name="l01065"></a><span·class="lineno">·1065</span>····}</div> | 960 | <div·class="line"><a·id="l01065"·name="l01065"></a><span·class="lineno">·1065</span>····}</div> |
961 | </div> | 961 | </div> |
962 | <div·class="line"><a·id="l01066"·name="l01066"></a><span·class="lineno">·1066</span>·</div> | 962 | <div·class="line"><a·id="l01066"·name="l01066"></a><span·class="lineno">·1066</span>·</div> |
963 | <div·class="foldopen"·id="foldopen01073"·data-start="{"·data-end="}"> | 963 | <div·class="foldopen"·id="foldopen01073"·data-start="{"·data-end="}"> |
964 | <div·class="line"><a·id="l01073"·name="l01073"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a7896a043c06d68b14b8711479f8bfcdd">·1073</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a7896a043c06d68b14b8711479f8bfcdd">modify</a>(</div> | 964 | <div·class="line"><a·id="l01073"·name="l01073"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a7896a043c06d68b14b8711479f8bfcdd">·1073</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a7896a043c06d68b14b8711479f8bfcdd">modify</a>(</div> |
965 | <div·class="line"><a·id="l01074"·name="l01074"></a><span·class="lineno">·1074</span>············<span·class="keyword">const</span>·std::pair<std::string,·std::string>&·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">new_value</a>)</div> | 965 | <div·class="line"><a·id="l01074"·name="l01074"></a><span·class="lineno">·1074</span>············<span·class="keyword">const</span>·std::pair<std::string,·std::string>&·new_value)</div> |
966 | <div·class="line"><a·id="l01075"·name="l01075"></a><span·class="lineno">·1075</span>····{</div> | 966 | <div·class="line"><a·id="l01075"·name="l01075"></a><span·class="lineno">·1075</span>····{</div> |
967 | <div·class="line"><a·id="l01076"·name="l01076"></a><span·class="lineno">·1076</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">old_size</a>·=·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>();</div> | 967 | <div·class="line"><a·id="l01076"·name="l01076"></a><span·class="lineno">·1076</span>········uint32_t·old_size·=·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>();</div> |
968 | <div·class="line"><a·id="l01077"·name="l01077"></a><span·class="lineno">·1077</span>·</div> | 968 | <div·class="line"><a·id="l01077"·name="l01077"></a><span·class="lineno">·1077</span>·</div> |
969 | <div·class="line"><a·id="l01078"·name="l01078"></a><span·class="lineno">·1078</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_size</a>·=·(uint32_t)<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">new_value</a>.first.size()·+·1;</div> | |
970 | <div·class="line"><a·id="l01079"·name="l01079"></a><span·class="lineno">·1079</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_alignment</a>·=·((<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_size</a>·+·3u)·&·~3u)·-·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_size</a>;</div> | |
971 | <div·class="line"><a·id="l01080"·name="l01080"></a><span·class="lineno">·1080</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">second_size</a>·=·(uint32_t)<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">new_value</a>.second.size()·+·1;</div> | |
972 | <div·class="line"><a·id="l01081"·name="l01081"></a><span·class="lineno">·1081</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">second_alignment</a>·=·((<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">second_size</a>·+·3u)·&·~3u)·-·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">second_size</a>;</div> | |
973 | <div·class="line"><a·id="l01082"·name="l01082"></a><span·class="lineno">·1082</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">new_size</a>·=·<a·class="code·hl_function"·href="cla[·...·truncated·by·diffoscope;·len:·572,·SHA:·adff123c3147c1ecdd2cb8413e867d86c91e1b59f8b71fe56d99ebf8ba3cd16d·...·];</div> | 969 | <div·class="line"><a·id="l01078"·name="l01078"></a><span·class="lineno">·1078</span>········uint32_t·first_size·=·(uint32_t)new_value.first.size()·+·1;</div> |
| 970 | <div·class="line"><a·id="l01079"·name="l01079"></a><span·class="lineno">·1079</span>········uint32_t·first_alignment·=·((first_size·+·3u)·&·~3u)·-·first_size;</div> |
| 971 | <div·class="line"><a·id="l01080"·name="l01080"></a><span·class="lineno">·1080</span>········uint32_t·second_size·=·(uint32_t)new_value.second.size()·+·1;</div> |
| 972 | <div·class="line"><a·id="l01081"·name="l01081"></a><span·class="lineno">·1081</span>········uint32_t·second_alignment·=·((second_size·+·3u)·&·~3u)·-·second_size;</div> |
| 973 | <div·class="line"><a·id="l01082"·name="l01082"></a><span·class="lineno">·1082</span>········uint32_t·new_size·=·first_size·+·first_alignment·+·second_size·+·second_alignment·+·8;</div> |
974 | <div·class="line"><a·id="l01083"·name="l01083"></a><span·class="lineno">·1083</span>·</div> | 974 | <div·class="line"><a·id="l01083"·name="l01083"></a><span·class="lineno">·1083</span>·</div> |
975 | <div·class="line"><a·id="l01084"·name="l01084"></a><span·class="lineno">·1084</span>········<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">old_size</a>·!=·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9[·...·truncated·by·diffoscope;·len:·36,·SHA:·82114c87f5715560741cf23f60c6291694473b69e318d2ae92478a5257e7a568·...·])</div> | 975 | <div·class="line"><a·id="l01084"·name="l01084"></a><span·class="lineno">·1084</span>········<span·class="keywordflow">if</span>·(old_size·!=·new_size)</div> |
976 | <div·class="line"><a·id="l01085"·name="l01085"></a><span·class="lineno">·1085</span>········{</div> | 976 | <div·class="line"><a·id="l01085"·name="l01085"></a><span·class="lineno">·1085</span>········{</div> |
977 | <div·class="line"><a·id="l01086"·name="l01086"></a><span·class="lineno">·1086</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | 977 | <div·class="line"><a·id="l01086"·name="l01086"></a><span·class="lineno">·1086</span>············<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> |
978 | <div·class="line"><a·id="l01087"·name="l01087"></a><span·class="lineno">·1087</span>········}</div> | 978 | <div·class="line"><a·id="l01087"·name="l01087"></a><span·class="lineno">·1087</span>········}</div> |
979 | <div·class="line"><a·id="l01088"·name="l01088"></a><span·class="lineno">·1088</span>·</div> | 979 | <div·class="line"><a·id="l01088"·name="l01088"></a><span·class="lineno">·1088</span>·</div> |
980 | <div·class="line"><a·id="l01089"·name="l01089"></a><span·class="lineno">·1089</span>········<a·class="code·hl_typedef"·href="namespaceeprosima_1_1fastdds_1_1rtps.html#a21a3b62268a28b98f51df8f262686e78">fastdds::rtps::octet</a>*·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">current</a>·=·data;</div> | 980 | <div·class="line"><a·id="l01089"·name="l01089"></a><span·class="lineno">·1089</span>········<a·class="code·hl_typedef"·href="namespaceeprosima_1_1fastdds_1_1rtps.html#a21a3b62268a28b98f51df8f262686e78">fastdds::rtps::octet</a>*·current·=·data;</div> |
981 | <div·class="line"><a·id="l01090"·name="l01090"></a><span·class="lineno">·1090</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">memcpy</a>(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">current</a>,·&<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_size</a>,·4);</div> | |
982 | <div·class="line"><a·id="l01091"·name="l01091"></a><span·class="lineno">·1091</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">memcpy</a>(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">current</a>·+·4,·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">new_value</a>.first.c_str(),·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_size</a>);</div> | |
983 | <div·class="line"><a·id="l01092"·name="l01092"></a><span·class="lineno">·1092</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">memset</a>(<a·class="code·hl_function"·href="classeprosima_1_1[·...·truncated·by·diffoscope;·len:·401,·SHA:·b29b8c31f79a2a002c9f073c100e0f9a186a74aed7cb68f964a59357b71e157f·...·]);</div> | 981 | <div·class="line"><a·id="l01090"·name="l01090"></a><span·class="lineno">·1090</span>········memcpy(current,·&first_size,·4);</div> |
| 982 | <div·class="line"><a·id="l01091"·name="l01091"></a><span·class="lineno">·1091</span>········memcpy(current·+·4,·new_value.first.c_str(),·first_size);</div> |
| 983 | <div·class="line"><a·id="l01092"·name="l01092"></a><span·class="lineno">·1092</span>········memset(current·+·4·+·first_size,·0,·first_alignment);</div> |
984 | <div·class="line"><a·id="l01093"·name="l01093"></a><span·class="lineno">·1093</span>·</div> | 984 | <div·class="line"><a·id="l01093"·name="l01093"></a><span·class="lineno">·1093</span>·</div> |
985 | <div·class="line"><a·id="l01094"·name="l01094"></a><span·class="lineno">·1094</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">current</a>·=·data·+·4·+·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_size</a>·+·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">first_alignment</a>;</div> | |
986 | <div·class="line"><a·id="l01095"·name="l01095"></a><span·class="lineno">·1095</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">memcpy</a>(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">current</a>,·&<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">second_size</a>,·4);</div> | |
987 | <div·class="line"><a·id="l01096"·name="l01096"></a><span·class="lineno">·1096</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">memcpy</a>(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">current</a>·+·4,·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">new_value</a>.second.c_str(),·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">second_size</a>);</div> | |
988 | <div·class="line"><a·id="l01097"·name="l01097"></a><span·class="lineno">·1097</span>········<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">memset</a>(<a·class="code·hl_function"·href="classeprosima_1_1[·...·truncated·by·diffoscope;·len:·404,·SHA:·1f89a41627ca17c9497ac038aae26d12417c4f090457c5b19eb390544a7fd288·...·];</div> | 985 | <div·class="line"><a·id="l01094"·name="l01094"></a><span·class="lineno">·1094</span>········current·=·data·+·4·+·first_size·+·first_alignment;</div> |
| 986 | <div·class="line"><a·id="l01095"·name="l01095"></a><span·class="lineno">·1095</span>········memcpy(current,·&second_size,·4);</div> |
| 987 | <div·class="line"><a·id="l01096"·name="l01096"></a><span·class="lineno">·1096</span>········memcpy(current·+·4,·new_value.second.c_str(),·second_size);</div> |
| 988 | <div·class="line"><a·id="l01097"·name="l01097"></a><span·class="lineno">·1097</span>········memset(current·+·4·+·second_size,·0,·second_alignment);</div> |
989 | <div·class="line"><a·id="l01098"·name="l01098"></a><span·class="lineno">·1098</span>·</div> | 989 | <div·class="line"><a·id="l01098"·name="l01098"></a><span·class="lineno">·1098</span>·</div> |
990 | <div·class="line"><a·id="l01099"·name="l01099"></a><span·class="lineno">·1099</span>········<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | 990 | <div·class="line"><a·id="l01099"·name="l01099"></a><span·class="lineno">·1099</span>········<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> |
991 | <div·class="line"><a·id="l01100"·name="l01100"></a><span·class="lineno">·1100</span>····}</div> | 991 | <div·class="line"><a·id="l01100"·name="l01100"></a><span·class="lineno">·1100</span>····}</div> |
992 | </div> | 992 | </div> |
993 | <div·class="line"><a·id="l01101"·name="l01101"></a><span·class="lineno">·1101</span>·</div> | 993 | <div·class="line"><a·id="l01101"·name="l01101"></a><span·class="lineno">·1101</span>·</div> |
994 | <div·class="foldopen"·id="foldopen01107"·data-start="{"·data-end="}"> | 994 | <div·class="foldopen"·id="foldopen01107"·data-start="{"·data-end="}"> |
995 | <div·class="line"><a·id="l01107"·name="l01107"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">·1107</a></span>····std::pair<const·std::string,·const·std::string>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">pair</a>()<span·class="keyword">·const</span></div> | 995 | <div·class="line"><a·id="l01107"·name="l01107"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">·1107</a></span>····std::pair<const·std::string,·const·std::string>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">pair</a>()<span·class="keyword">·const</span></div> |
Offset 998, 46 lines modified | Offset 998, 46 lines modified |
998 | <div·class="line"><a·id="l01110"·name="l01110"></a><span·class="lineno">·1110</span>····}</div> | 998 | <div·class="line"><a·id="l01110"·name="l01110"></a><span·class="lineno">·1110</span>····}</div> |
999 | </div> | 999 | </div> |
1000 | <div·class="line"><a·id="l01111"·name="l01111"></a><span·class="lineno">·1111</span>·</div> | 1000 | <div·class="line"><a·id="l01111"·name="l01111"></a><span·class="lineno">·1111</span>·</div> |
1001 | <div·class="foldopen"·id="foldopen01117"·data-start="{"·data-end="}"> | 1001 | <div·class="foldopen"·id="foldopen01117"·data-start="{"·data-end="}"> |
1002 | <div·class="line"><a·id="l01117"·name="l01117"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">·1117</a></span>····uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>()<span·class="keyword">·const</span></div> | 1002 | <div·class="line"><a·id="l01117"·name="l01117"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">·1117</a></span>····uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>()<span·class="keyword">·const</span></div> |
1003 | <div·class="line"><a·id="l01118"·name="l01118"></a><span·class="lineno">·1118</span><span·class="keyword">····</span>{</div> | 1003 | <div·class="line"><a·id="l01118"·name="l01118"></a><span·class="lineno">·1118</span><span·class="keyword">····</span>{</div> |
1004 | <div·class="line"><a·id="l01119"·name="l01119"></a><span·class="lineno">·1119</span>········<span·class="comment">//Size·of·the·first·element·(with·alignment)</span></div> | 1004 | <div·class="line"><a·id="l01119"·name="l01119"></a><span·class="lineno">·1119</span>········<span·class="comment">//Size·of·the·first·element·(with·alignment)</span></div> |
1005 | <div·class="line"><a·id="l01120"·name="l01120"></a><span·class="lineno">·1120</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">size1</a>·=·ParameterProperty_t::element_size(data);</div> | 1005 | <div·class="line"><a·id="l01120"·name="l01120"></a><span·class="lineno">·1120</span>········uint32_t·size1·=·ParameterProperty_t::element_size(data);</div> |
1006 | <div·class="line"><a·id="l01121"·name="l01121"></a><span·class="lineno">·1121</span>·</div> | 1006 | <div·class="line"><a·id="l01121"·name="l01121"></a><span·class="lineno">·1121</span>·</div> |
1007 | <div·class="line"><a·id="l01122"·name="l01122"></a><span·class="lineno">·1122</span>········<span·class="comment">//Size·of·the·second·element·(with·alignment)</span></div> | 1007 | <div·class="line"><a·id="l01122"·name="l01122"></a><span·class="lineno">·1122</span>········<span·class="comment">//Size·of·the·second·element·(with·alignment)</span></div> |
1008 | <div·class="line"><a·id="l01123"·name="l01123"></a><span·class="lineno">·1123</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">size2</a>·=·ParameterProperty_t::element_size(data·+·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">size1</a>);</div> | |
1009 | <div·class="line"><a·id="l01124"·name="l01124"></a><span·class="lineno">·1124</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">size1</a>·+·<a·class="[·...·truncated·by·diffoscope;·len:·131,·SHA:·ebd9be2842be4356b0938e5e837b7c7948cce130134470457f67801d2fae36ea·...·];</div> | 1008 | <div·class="line"><a·id="l01123"·name="l01123"></a><span·class="lineno">·1123</span>········uint32_t·size2·=·ParameterProperty_t::element_size(data·+·size1);</div> |
| 1009 | <div·class="line"><a·id="l01124"·name="l01124"></a><span·class="lineno">·1124</span>········<span·class="keywordflow">return</span>·size1·+·size2;</div> |
1010 | <div·class="line"><a·id="l01125"·name="l01125"></a><span·class="lineno">·1125</span>····}</div> | 1010 | <div·class="line"><a·id="l01125"·name="l01125"></a><span·class="lineno">·1125</span>····}</div> |
1011 | </div> | 1011 | </div> |
1012 | <div·class="line"><a·id="l01126"·name="l01126"></a><span·class="lineno">·1126</span>·</div> | 1012 | <div·class="line"><a·id="l01126"·name="l01126"></a><span·class="lineno">·1126</span>·</div> |
1013 | <div·class="foldopen"·id="foldopen01127"·data-start="{"·data-end="}"> | 1013 | <div·class="foldopen"·id="foldopen01127"·data-start="{"·data-end="}"> |
1014 | <div·class="line"><a·id="l01127"·name="l01127"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a892032f7a415912a15190ae37159f761">·1127</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a892032f7a415912a15190ae37159f761">operator·==</a>(</div> | 1014 | <div·class="line"><a·id="l01127"·name="l01127"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a892032f7a415912a15190ae37159f761">·1127</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a892032f7a415912a15190ae37159f761">operator·==</a>(</div> |
1015 | <div·class="line"><a·id="l01128"·name="l01128"></a><span·class="lineno">·1128</span>············<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html">ParameterProperty_t</a>&·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">b</a>)<span·class="keyword">·const</span></div> | 1015 | <div·class="line"><a·id="l01128"·name="l01128"></a><span·class="lineno">·1128</span>············<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html">ParameterProperty_t</a>&·b)<span·class="keyword">·const</span></div> |
1016 | <div·class="line"><a·id="l01129"·name="l01129"></a><span·class="lineno">·1129</span><span·class="keyword">····</span>{</div> | 1016 | <div·class="line"><a·id="l01129"·name="l01129"></a><span·class="lineno">·1129</span><span·class="keyword">····</span>{</div> |
1017 | <div·class="line"><a·id="l01130"·name="l01130"></a><span·class="lineno">·1130</span>········<span·class="keywordflow">return</span>·(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#aba89eab0637bde14f9ded33e9e9c6aa5">first</a>()·==·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">b</a>.first())·&&</div> | 1017 | <div·class="line"><a·id="l01130"·name="l01130"></a><span·class="lineno">·1130</span>········<span·class="keywordflow">return</span>·(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#aba89eab0637bde14f9ded33e9e9c6aa5">first</a>()·==·b.<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#aba89eab0637bde14f9ded33e9e9c6aa5">first</a>())·&&</div> |
1018 | <div·class="line"><a·id="l01131"·name="l01131"></a><span·class="lineno">·1131</span>···············(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a2c35c9ef1f1d04e2d76928129fdb09dc">second</a>()·==·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">b</a>.second());</div> | 1018 | <div·class="line"><a·id="l01131"·name="l01131"></a><span·class="lineno">·1131</span>···············(<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a2c35c9ef1f1d04e2d76928129fdb09dc">second</a>()·==·b.<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a2c35c9ef1f1d04e2d76928129fdb09dc">second</a>());</div> |
1019 | <div·class="line"><a·id="l01132"·name="l01132"></a><span·class="lineno">·1132</span>····}</div> | 1019 | <div·class="line"><a·id="l01132"·name="l01132"></a><span·class="lineno">·1132</span>····}</div> |
1020 | </div> | 1020 | </div> |
1021 | <div·class="line"><a·id="l01133"·name="l01133"></a><span·class="lineno">·1133</span>·</div> | 1021 | <div·class="line"><a·id="l01133"·name="l01133"></a><span·class="lineno">·1133</span>·</div> |
1022 | <div·class="foldopen"·id="foldopen01134"·data-start="{"·data-end="}"> | 1022 | <div·class="foldopen"·id="foldopen01134"·data-start="{"·data-end="}"> |
1023 | <div·class="line"><a·id="l01134"·name="l01134"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#afa172870e1532296ff83b1f8fc492ba4">·1134</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#afa172870e1532296ff83b1f8fc492ba4">operator·!=</a>(</div> | 1023 | <div·class="line"><a·id="l01134"·name="l01134"></a><span·class="lineno"><a·class="line"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#afa172870e1532296ff83b1f8fc492ba4">·1134</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#afa172870e1532296ff83b1f8fc492ba4">operator·!=</a>(</div> |
1024 | <div·class="line"><a·id="l01135"·name="l01135"></a><span·class="lineno">·1135</span>············<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html">ParameterProperty_t</a>&·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">b</a>)<span·class="keyword">·const</span></div> | 1024 | <div·class="line"><a·id="l01135"·name="l01135"></a><span·class="lineno">·1135</span>············<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html">ParameterProperty_t</a>&·b)<span·class="keyword">·const</span></div> |
1025 | <div·class="line"><a·id="l01136"·name="l01136"></a><span·class="lineno">·1136</span><span·class="keyword">····</span>{</div> | 1025 | <div·class="line"><a·id="l01136"·name="l01136"></a><span·class="lineno">·1136</span><span·class="keyword">····</span>{</div> |
1026 | <div·class="line"><a·id="l01137"·name="l01137"></a><span·class="lineno">·1137</span>········<span·class="keywordflow">return</span>·!(*<span·class="keyword">this</span>·==·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">b</a>);</div> | 1026 | <div·class="line"><a·id="l01137"·name="l01137"></a><span·class="lineno">·1137</span>········<span·class="keywordflow">return</span>·!(*<span·class="keyword">this</span>·==·b);</div> |
1027 | <div·class="line"><a·id="l01138"·name="l01138"></a><span·class="lineno">·1138</span>····}</div> | 1027 | <div·class="line"><a·id="l01138"·name="l01138"></a><span·class="lineno">·1138</span>····}</div> |
1028 | </div> | 1028 | </div> |
1029 | <div·class="line"><a·id="l01139"·name="l01139"></a><span·class="lineno">·1139</span>·</div> | 1029 | <div·class="line"><a·id="l01139"·name="l01139"></a><span·class="lineno">·1139</span>·</div> |
1030 | <div·class="line"><a·id="l01140"·name="l01140"></a><span·class="lineno">·1140</span><span·class="keyword">private</span>:</div> | 1030 | <div·class="line"><a·id="l01140"·name="l01140"></a><span·class="lineno">·1140</span><span·class="keyword">private</span>:</div> |
1031 | <div·class="line"><a·id="l01141"·name="l01141"></a><span·class="lineno">·1141</span>·</div> | 1031 | <div·class="line"><a·id="l01141"·name="l01141"></a><span·class="lineno">·1141</span>·</div> |
1032 | <div·class="line"><a·id="l01148"·name="l01148"></a><span·class="lineno">·1148</span>····<span·class="keyword">static</span>·uint32_t·element_size(</div> | 1032 | <div·class="line"><a·id="l01148"·name="l01148"></a><span·class="lineno">·1148</span>····<span·class="keyword">static</span>·uint32_t·element_size(</div> |
1033 | <div·class="line"><a·id="l01149"·name="l01149"></a><span·class="lineno">·1149</span>············<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="namespaceeprosima_1_1fastdds_1_1rtps.html#a21a3b62268a28b98f51df8f262686e78">fastdds::rtps::octet</a>*·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">ptr</a>)</div> | 1033 | <div·class="line"><a·id="l01149"·name="l01149"></a><span·class="lineno">·1149</span>············<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="namespaceeprosima_1_1fastdds_1_1rtps.html#a21a3b62268a28b98f51df8f262686e78">fastdds::rtps::octet</a>*·ptr)</div> |
1034 | <div·class="line"><a·id="l01150"·name="l01150"></a><span·class="lineno">·1150</span>····{</div> | 1034 | <div·class="line"><a·id="l01150"·name="l01150"></a><span·class="lineno">·1150</span>····{</div> |
1035 | <div·class="line"><a·id="l01151"·name="l01151"></a><span·class="lineno">·1151</span>········<span·class="comment">//Size·of·the·element·(with·alignment)</span></div> | 1035 | <div·class="line"><a·id="l01151"·name="l01151"></a><span·class="lineno">·1151</span>········<span·class="comment">//Size·of·the·element·(with·alignment)</span></div> |
1036 | <div·class="line"><a·id="l01152"·name="l01152"></a><span·class="lineno">·1152</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>·=·*(uint32_t*)<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#ae9ca654ad9b80565cb2956b46f0a923a">ptr</a>;</div> | 1036 | <div·class="line"><a·id="l01152"·name="l01152"></a><span·class="lineno">·1152</span>········uint32_t·<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>·=·*(uint32_t*)ptr;</div> |
1037 | <div·class="line"><a·id="l01153"·name="l01153"></a><span·class="lineno">·1153</span>········<span·class="keywordflow">return</span>·(4u·+·((<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>·+·3u)·&·~3u));</div> | 1037 | <div·class="line"><a·id="l01153"·name="l01153"></a><span·class="lineno">·1153</span>········<span·class="keywordflow">return</span>·(4u·+·((<a·class="code·hl_function"·href="classeprosima_1_1fastdds_1_1dds_1_1_parameter_property__t.html#a5475d03aac0f961ffd41dace177230fa">size</a>·+·3u)·&·~3u));</div> |
1038 | <div·class="line"><a·id="l01154"·name="l01154"></a><span·class="lineno">·1154</span>····}</div> | 1038 | <div·class="line"><a·id="l01154"·name="l01154"></a><span·class="lineno">·1154</span>····}</div> |
1039 | <div·class="line"><a·id="l01155"·name="l01155"></a><span·class="lineno">·1155</span>·</div> | 1039 | <div·class="line"><a·id="l01155"·name="l01155"></a><span·class="lineno">·1155</span>·</div> |
1040 | <div·class="line"><a·id="l01156"·name="l01156"></a><span·class="lineno">·1156</span>};</div> | 1040 | <div·class="line"><a·id="l01156"·name="l01156"></a><span·class="lineno">·1156</span>};</div> |
1041 | </div> | 1041 | </div> |
1042 | <div·class="line"><a·id="l01157"·name="l01157"></a><span·class="lineno">·1157</span>·</div> | 1042 | <div·class="line"><a·id="l01157"·name="l01157"></a><span·class="lineno">·1157</span>·</div> |
1043 | <div·class="line"><a·id="l01163"·name="l01163"></a><span·class="lineno"><a·class="line"·href="group___p_a_r_a_m_e_t_e_r___m_o_d_u_l_e.html#ga4b15e4ec738222656918e79af741bce5">·1163</a></span><span·class="keyword">const</span>·std::string·<a·class="code·hl_variable"·href="group___p_a_r_a_m_e_t_e_r___m_o_d_u_l_e.html#ga4b15e4ec738222656918e79af741bce5">parameter_property_persistence_guid</a>·=·<span·class="stringliteral">"PID_PERSISTENCE_GUID"</span>;</div> | 1043 | <div·class="line"><a·id="l01163"·name="l01163"></a><span·class="lineno"><a·class="line"·href="group___p_a_r_a_m_e_t_e_r___m_o_d_u_l_e.html#ga4b15e4ec738222656918e79af741bce5">·1163</a></span><span·class="keyword">const</span>·std::string·<a·class="code·hl_variable"·href="group___p_a_r_a_m_e_t_e_r___m_o_d_u_l_e.html#ga4b15e4ec738222656918e79af741bce5">parameter_property_persistence_guid</a>·=·<span·class="stringliteral">"PID_PERSISTENCE_GUID"</span>;</div> |