Fast RTPS  Version 2.1.0
Fast RTPS
AnnotationParameterValue.h
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 
22 #ifndef _ANNOTATIONPARAMETERVALUE_H_
23 #define _ANNOTATIONPARAMETERVALUE_H_
24 
25 #include <fastrtps/types/TypesBase.h>
26 #include <fastrtps/types/TypeIdentifier.h>
27 #include <fastrtps/utils/string_convert.hpp>
28 #include <stdint.h>
29 #include <array>
30 #include <vector>
31 
32 namespace eprosima {
33 namespace fastcdr {
34 class Cdr;
35 } // namespace fastcdr
36 } // namespace eprosima
37 namespace eprosima {
38 namespace fastrtps {
39 
40 namespace types {
41 
47 {
48 public:
49 
54 
59 
66 
73 
80 
87 
94  static size_t getCdrSerializedSize(
96  size_t current_alignment = 0);
97 
98 
103  void serialize(
104  eprosima::fastcdr::Cdr& cdr) const;
105 
111  eprosima::fastcdr::Cdr& cdr);
112 
113 
114 
122  size_t current_alignment = 0);
123 
127  static bool isKeyDefined();
128 
134  eprosima::fastcdr::Cdr& cdr) const;
135 
138  {
139  return true;
140  }
141 
142 private:
143 };
149 {
150 public:
151 
156 
161 
167  const AnnotationParameterValue& x);
168 
175 
181  const AnnotationParameterValue& x);
182 
189 
195  void _d(
196  char __d);
197 
202  char _d() const;
203 
208  char& _d();
209 
215  bool _boolean_value);
216 
222  bool boolean_value() const;
223 
229  bool& boolean_value();
235  uint8_t _byte_value);
236 
242  uint8_t byte_value() const;
243 
249  uint8_t& byte_value();
255  int16_t _int16_value);
256 
262  int16_t int16_value() const;
263 
269  int16_t& int16_value();
275  uint16_t _uint_16_value);
276 
282  uint16_t uint_16_value() const;
283 
289  uint16_t& uint_16_value();
295  int32_t _int32_value);
296 
302  int32_t int32_value() const;
303 
309  int32_t& int32_value();
315  uint32_t _uint32_value);
316 
322  uint32_t uint32_value() const;
323 
329  uint32_t& uint32_value();
335  int64_t _int64_value);
336 
342  int64_t int64_value() const;
343 
349  int64_t& int64_value();
355  uint64_t _uint64_value);
356 
362  uint64_t uint64_value() const;
363 
369  uint64_t& uint64_value();
375  float _float32_value);
376 
382  float float32_value() const;
383 
389  float& float32_value();
395  double _float64_value);
396 
402  double float64_value() const;
403 
409  double& float64_value();
415  long double _float128_value);
416 
422  long double float128_value() const;
423 
429  long double& float128_value();
435  char _char_value);
436 
442  char char_value() const;
443 
449  char& char_value();
455  wchar_t _wchar_value);
456 
462  wchar_t wchar_value() const;
463 
469  wchar_t& wchar_value();
475  int32_t _enumerated_value);
476 
482  int32_t enumerated_value() const;
483 
489  int32_t& enumerated_value();
495  const std::string& _string8_value);
496 
502  std::string&& _string8_value);
503 
509  const std::string& string8_value() const;
510 
516  std::string& string8_value();
522  const std::wstring& _string16_value);
523 
529  std::wstring&& _string16_value);
530 
536  const std::wstring& string16_value() const;
537 
543  std::wstring& string16_value();
549  const ExtendedAnnotationParameterValue& _extended_value);
550 
556  ExtendedAnnotationParameterValue&& _extended_value);
557 
564 
571 
578  static size_t getCdrSerializedSize(
579  const AnnotationParameterValue& data,
580  size_t current_alignment = 0);
581 
582 
587  void serialize(
588  eprosima::fastcdr::Cdr& cdr) const;
589 
595  eprosima::fastcdr::Cdr& cdr);
596 
597 
598 
606  size_t current_alignment = 0);
607 
611  static bool isKeyDefined();
612 
618  eprosima::fastcdr::Cdr& cdr) const;
619 
621  const AnnotationParameterValue& other) const;
622 
626  std::string to_string() const
627  {
628  switch (m__d)
629  {
630  case TK_BOOLEAN:
631  return (m_boolean_value) ? "true" : "false";
632  case TK_BYTE:
633  return std::to_string(m_byte_value);
634  case TK_INT16:
635  return std::to_string(m_int16_value);
636  case TK_UINT16:
637  return std::to_string(m_uint_16_value);
638  case TK_INT32:
639  return std::to_string(m_int32_value);
640  case TK_UINT32:
641  return std::to_string(m_uint32_value);
642  case TK_INT64:
643  return std::to_string(m_int64_value);
644  case TK_UINT64:
645  return std::to_string(m_uint64_value);
646  case TK_FLOAT32:
647  return std::to_string(m_float32_value);
648  case TK_FLOAT64:
649  return std::to_string(m_float64_value);
650  case TK_FLOAT128:
651  return std::to_string(m_float128_value);
652  case TK_CHAR8:
653  return std::to_string(m_char_value);
654  case TK_CHAR16:
655  return std::to_string(m_wchar_value);
656  case TK_ENUM:
657  return std::to_string(m_enumerated_value);
658  case TK_STRING16:
659  {
660  return wstring_to_bytes(m_string16_value);
661  }
662  case TK_STRING8:
663  case TK_NONE: // Cheat!
664  return m_string8_value;
665  default:
666  return "";
667  }
668  }
669 
674  const std::string& value)
675  {
676  switch (m__d)
677  {
678  case TK_BOOLEAN:
679  {
680  std::string val_ = value;
681  std::transform(val_.begin(), val_.end(), val_.begin(),
682  [](unsigned char c)
683  {
684  return static_cast<char>(std::tolower(c));
685  });
686  boolean_value(val_.compare("0") != 0 || val_.compare(CONST_TRUE) == 0);
687  }
688  break;
689  case TK_BYTE:
690  {
691  byte_value(static_cast<uint8_t>(std::stoul(value)));
692  }
693  break;
694  case TK_INT16:
695  {
696  int16_value(static_cast<int16_t>(std::stoi(value)));
697  }
698  break;
699  case TK_INT32:
700  {
701  int32_value(static_cast<int32_t>(std::stoi(value)));
702  }
703  break;
704  case TK_INT64:
705  {
706  int64_value(static_cast<int64_t>(std::stoll(value)));
707  }
708  break;
709  case TK_UINT16:
710  {
711  uint_16_value(static_cast<uint16_t>(std::stoul(value)));
712  }
713  break;
714  case TK_UINT32:
715  {
716  uint32_value(static_cast<uint32_t>(std::stoul(value)));
717  }
718  break;
719  case TK_UINT64:
720  {
721  uint64_value(static_cast<uint64_t>(std::stoull(value)));
722  }
723  break;
724  case TK_FLOAT32:
725  {
726  float32_value(std::stof(value));
727  }
728  break;
729  case TK_FLOAT64:
730  {
731  float64_value(std::stod(value));
732  }
733  break;
734  case TK_FLOAT128:
735  {
736  float128_value(std::stold(value));
737  }
738  break;
739  case TK_CHAR8:
740  {
741  char_value(value.c_str()[0]);
742  }
743  break;
744  case TK_CHAR16:
745  {
746  wchar_value(wstring_from_bytes(value).c_str()[0]);
747  }
748  break;
749  case TK_STRING8:
750  case TK_NONE: // Cheat!
751  {
752  string8_value(value);
753  }
754  break;
755  case TK_STRING16:
756  {
758  }
759  break;
760  case TK_ENUM:
761  {
762  // TODO Translate from enum value name to integer value
763  enumerated_value(static_cast<int32_t>(std::stoul(value)));
764  }
765  break;
766  default:
767  break;
768  }
769  }
770 
771 private:
772 
773  char m__d;
774 
775  bool m_boolean_value;
776  uint8_t m_byte_value;
777  int16_t m_int16_value;
778  uint16_t m_uint_16_value;
779  int32_t m_int32_value;
780  uint32_t m_uint32_value;
781  int64_t m_int64_value;
782  uint64_t m_uint64_value;
783  float m_float32_value;
784  double m_float64_value;
785  long double m_float128_value;
786  char m_char_value;
787  wchar_t m_wchar_value;
788  int32_t m_enumerated_value;
789  std::string m_string8_value;
790  std::wstring m_string16_value;
791  ExtendedAnnotationParameterValue m_extended_value;
792 };
798 {
799 public:
800 
805 
810 
816  const AppliedAnnotationParameter& x);
817 
824 
830  const AppliedAnnotationParameter& x);
831 
838 
843  inline void paramname_hash(
844  const NameHash& _paramname_hash)
845  {
846  m_paramname_hash = _paramname_hash;
847  }
848 
853  inline void paramname_hash(
854  NameHash&& _paramname_hash)
855  {
856  m_paramname_hash = std::move(_paramname_hash);
857  }
858 
863  inline const NameHash& paramname_hash() const
864  {
865  return m_paramname_hash;
866  }
867 
873  {
874  return m_paramname_hash;
875  }
876 
881  inline void value(
882  const AnnotationParameterValue& _value)
883  {
884  m_value = _value;
885  }
886 
891  inline void value(
892  AnnotationParameterValue&& _value)
893  {
894  m_value = std::move(_value);
895  }
896 
901  inline const AnnotationParameterValue& value() const
902  {
903  return m_value;
904  }
905 
911  {
912  return m_value;
913  }
914 
921  static size_t getCdrSerializedSize(
922  const AppliedAnnotationParameter& data,
923  size_t current_alignment = 0);
924 
925 
930  void serialize(
931  eprosima::fastcdr::Cdr& cdr) const;
932 
938  eprosima::fastcdr::Cdr& cdr);
939 
940 
941 
949  size_t current_alignment = 0);
950 
954  static bool isKeyDefined();
955 
961  eprosima::fastcdr::Cdr& cdr) const;
962 
964  const AppliedAnnotationParameter& other) const;
965 
966 private:
967 
968  NameHash m_paramname_hash;
969  AnnotationParameterValue m_value;
970 };
971 
972 
973 // The application of an annotation to some type or type member
974 /*struct AppliedAnnotationParameter {
975  NameHash paramname_hash;
976  AnnotationParameterValue value;
977  };*/
978 /*
979  class AppliedAnnotationParameter
980  {
981  public:
982  AppliedAnnotationParameter();
983  ~AppliedAnnotationParameter();
984  AppliedAnnotationParameter(const AppliedAnnotationParameter &x);
985  AppliedAnnotationParameter(AppliedAnnotationParameter &&x);
986  AppliedAnnotationParameter& operator=(const AppliedAnnotationParameter &x);
987  AppliedAnnotationParameter& operator=(AppliedAnnotationParameter &&x);
988 
989  inline void paramname_hash(const NameHash &_paramname_hash) { m_paramname_hash = _paramname_hash; }
990  inline void paramname_hash(NameHash &&_paramname_hash) { m_paramname_hash = std::move(_paramname_hash); }
991  inline const NameHash& paramname_hash() const { return m_paramname_hash; }
992  inline NameHash& paramname_hash() { return m_paramname_hash; }
993 
994  inline void value(const AnnotationParameterValue &_value) { m_value = _value; }
995  inline void value(AnnotationParameterValue &&_value) { m_value = std::move(_value); }
996  inline const AnnotationParameterValue& value() const { return m_value; }
997  inline AnnotationParameterValue& value() { return m_value; }
998 
999  static size_t getCdrSerializedSize(const AppliedAnnotationParameter& data, size_t current_alignment = 0);
1000  void serialize(eprosima::fastcdr::Cdr &cdr) const;
1001  void deserialize(eprosima::fastcdr::Cdr &cdr);
1002  static size_t getKeyMaxCdrSerializedSize(size_t current_alignment = 0);
1003  static bool isKeyDefined();
1004  void serializeKey(eprosima::fastcdr::Cdr &cdr) const;
1005 
1006  private:
1007  NameHash m_paramname_hash;
1008  AnnotationParameterValue m_value;
1009  };
1010  */
1011 // Sorted by AppliedAnnotationParameter.paramname_hash
1012 typedef std::vector<AppliedAnnotationParameter> AppliedAnnotationParameterSeq;
1013 
1014 /*struct AppliedAnnotation {
1015  TypeIdentifier annotation_typeid;
1016  AppliedAnnotationParameterSeq param_seq; // @Optional
1017  };*/
1019 {
1020 public:
1021 
1025  const AppliedAnnotation& x);
1027  AppliedAnnotation&& x);
1029  const AppliedAnnotation& x);
1031  AppliedAnnotation&& x);
1032 
1033  inline void annotation_typeid(
1034  const TypeIdentifier& _annotation_typeid)
1035  {
1036  m_annotation_typeid = _annotation_typeid;
1037  }
1038 
1039  inline void annotation_typeid(
1040  TypeIdentifier&& _annotation_typeid)
1041  {
1042  m_annotation_typeid = std::move(_annotation_typeid);
1043  }
1044 
1045  inline const TypeIdentifier& annotation_typeid() const
1046  {
1047  return m_annotation_typeid;
1048  }
1049 
1051  {
1052  return m_annotation_typeid;
1053  }
1054 
1055  inline void param_seq(
1056  const AppliedAnnotationParameterSeq& _param_seq)
1057  {
1058  m_param_seq = _param_seq;
1059  }
1060 
1061  inline void param_seq(
1062  AppliedAnnotationParameterSeq&& _param_seq)
1063  {
1064  m_param_seq = std::move(_param_seq);
1065  }
1066 
1068  {
1069  return m_param_seq;
1070  }
1071 
1073  {
1074  return m_param_seq;
1075  }
1076 
1077  static size_t getCdrSerializedSize(
1078  const AppliedAnnotation& data,
1079  size_t current_alignment = 0);
1081  eprosima::fastcdr::Cdr& cdr) const;
1083  eprosima::fastcdr::Cdr& cdr);
1085  size_t current_alignment = 0);
1086  static bool isKeyDefined();
1088  eprosima::fastcdr::Cdr& cdr) const;
1089 
1091  const AppliedAnnotation& other) const;
1092 
1093 private:
1094 
1095  TypeIdentifier m_annotation_typeid;
1096  AppliedAnnotationParameterSeq m_param_seq;
1097 };
1098 
1099 // Sorted by AppliedAnnotation.annotation_typeid
1100 typedef std::vector<AppliedAnnotation> AppliedAnnotationSeq;
1101 
1102 // @verbatim(placement="<placement>", language="<lang>", text="<text>")
1103 /*struct AppliedVerbatimAnnotation {
1104  std::string placement; // 32
1105  std::string language; // 32
1106  std::string text;
1107  };*/
1109 {
1110 public:
1111 
1115  const AppliedVerbatimAnnotation& x);
1119  const AppliedVerbatimAnnotation& x);
1122 
1123  inline void placement(
1124  const std::string& _placement)
1125  {
1126  m_placement = _placement;
1127  }
1128 
1129  inline void placement(
1130  std::string&& _placement)
1131  {
1132  m_placement = std::move(_placement);
1133  }
1134 
1135  inline const std::string& placement() const
1136  {
1137  return m_placement;
1138  }
1139 
1140  inline std::string& placement()
1141  {
1142  return m_placement;
1143  }
1144 
1145  inline void language(
1146  const std::string& _language)
1147  {
1148  m_language = _language;
1149  }
1150 
1151  inline void language(
1152  std::string&& _language)
1153  {
1154  m_language = std::move(_language);
1155  }
1156 
1157  inline const std::string& language() const
1158  {
1159  return m_language;
1160  }
1161 
1162  inline std::string& language()
1163  {
1164  return m_language;
1165  }
1166 
1167  inline void text(
1168  const std::string& _text)
1169  {
1170  m_text = _text;
1171  }
1172 
1173  inline void text(
1174  std::string&& _text)
1175  {
1176  m_text = std::move(_text);
1177  }
1178 
1179  inline const std::string& text() const
1180  {
1181  return m_text;
1182  }
1183 
1184  inline std::string& text()
1185  {
1186  return m_text;
1187  }
1188 
1189  static size_t getCdrSerializedSize(
1190  const AppliedVerbatimAnnotation& data,
1191  size_t current_alignment = 0);
1193  eprosima::fastcdr::Cdr& cdr) const;
1195  eprosima::fastcdr::Cdr& cdr);
1197  size_t current_alignment = 0);
1198  static bool isKeyDefined();
1200  eprosima::fastcdr::Cdr& cdr) const;
1201 
1203  const AppliedVerbatimAnnotation& other) const;
1204 
1205 private:
1206 
1207  std::string m_placement;
1208  std::string m_language;
1209  std::string m_text;
1210 };
1211 
1212 // --- Aggregate types: -----------------------------------------------
1213 /*struct AppliedBuiltinMemberAnnotations {
1214  std::string unit; // @unit("<unit>") // @Optional
1215  AnnotationParameterValue min; // @min , @range // @Optional
1216  AnnotationParameterValue max; // @max , @range // @Optional
1217  std::string hash_id; // @hash_id("<membername>") // @Optional
1218  };
1219  */
1221 {
1222 public:
1223 
1234 
1235  inline void unit(
1236  const std::string& _unit)
1237  {
1238  m_unit = _unit;
1239  }
1240 
1241  inline void unit(
1242  std::string&& _unit)
1243  {
1244  m_unit = std::move(_unit);
1245  }
1246 
1247  inline const std::string& unit() const
1248  {
1249  return m_unit;
1250  }
1251 
1252  inline std::string& unit()
1253  {
1254  return m_unit;
1255  }
1256 
1257  inline void min(
1258  const AnnotationParameterValue& _min)
1259  {
1260  m_min = _min;
1261  }
1262 
1263  inline void min(
1264  AnnotationParameterValue&& _min)
1265  {
1266  m_min = std::move(_min);
1267  }
1268 
1269  inline const AnnotationParameterValue& min() const
1270  {
1271  return m_min;
1272  }
1273 
1275  {
1276  return m_min;
1277  }
1278 
1279  inline void max(
1280  const AnnotationParameterValue& _max)
1281  {
1282  m_max = _max;
1283  }
1284 
1285  inline void max(
1286  AnnotationParameterValue&& _max)
1287  {
1288  m_max = std::move(_max);
1289  }
1290 
1291  inline const AnnotationParameterValue& max() const
1292  {
1293  return m_max;
1294  }
1295 
1297  {
1298  return m_max;
1299  }
1300 
1301  inline void hash_id(
1302  const std::string& _hash_id)
1303  {
1304  m_hash_id = _hash_id;
1305  }
1306 
1307  inline void hash_id(
1308  std::string&& _hash_id)
1309  {
1310  m_hash_id = std::move(_hash_id);
1311  }
1312 
1313  inline const std::string& hash_id() const
1314  {
1315  return m_hash_id;
1316  }
1317 
1318  inline std::string& hash_id()
1319  {
1320  return m_hash_id;
1321  }
1322 
1323  static size_t getCdrSerializedSize(
1324  const AppliedBuiltinMemberAnnotations& data,
1325  size_t current_alignment = 0);
1327  eprosima::fastcdr::Cdr& cdr) const;
1329  eprosima::fastcdr::Cdr& cdr);
1331  size_t current_alignment = 0);
1332  static bool isKeyDefined();
1334  eprosima::fastcdr::Cdr& cdr) const;
1335 
1337  const AppliedBuiltinMemberAnnotations& other) const;
1338 
1339 private:
1340 
1341  std::string m_unit;
1344  std::string m_hash_id;
1345 };
1346 
1347 
1348 } // namespace types
1349 } // namespace fastrtps
1350 } // namespace eprosima
1351 
1352 #endif // _ANNOTATIONPARAMETERVALUE_H_
eprosima::fastrtps::types::AnnotationParameterValue::extended_value
void extended_value(ExtendedAnnotationParameterValue &&_extended_value)
This function moves the value in member extended_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::serialize
void serialize(eprosima::fastcdr::Cdr &cdr) const
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::deserialize
void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::NameHash
std::array< uint8_t, 4 > NameHash
Definition: TypesBase.h:174
eprosima::fastrtps::types::AppliedAnnotation::getKeyMaxCdrSerializedSize
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
eprosima::fastrtps::types::AnnotationParameterValue::uint64_value
void uint64_value(uint64_t _uint64_value)
This function sets a value in member uint64_value.
eprosima::fastrtps::types::AnnotationParameterValue::uint_16_value
uint16_t & uint_16_value()
This function returns a reference to member uint_16_value.
eprosima::fastrtps::types::AppliedAnnotationParameter::serializeKey
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::max
const AnnotationParameterValue & max() const
Definition: AnnotationParameterValue.h:1291
eprosima::fastrtps::types::AppliedAnnotationParameter::getKeyMaxCdrSerializedSize
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of the Key of an object depending on the buffer ali...
eprosima::fastrtps::types::TK_BOOLEAN
const octet TK_BOOLEAN
Definition: TypesBase.h:118
eprosima::fastrtps::types::AppliedAnnotationParameter::isKeyDefined
static bool isKeyDefined()
This function tells you if the Key has been defined for this type.
eprosima::fastrtps::wstring_to_bytes
std::string wstring_to_bytes(const std::wstring &str)
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::max
void max(const AnnotationParameterValue &_max)
Definition: AnnotationParameterValue.h:1279
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::min
void min(AnnotationParameterValue &&_min)
Definition: AnnotationParameterValue.h:1263
eprosima::fastrtps::types::AnnotationParameterValue::enumerated_value
int32_t enumerated_value() const
This function returns the value of member enumerated_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::min
const AnnotationParameterValue & min() const
Definition: AnnotationParameterValue.h:1269
eprosima::fastrtps::types::AnnotationParameterValue::char_value
char char_value() const
This function returns the value of member char_value.
eprosima::fastrtps::types::TK_CHAR8
const octet TK_CHAR8
Definition: TypesBase.h:129
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::isKeyDefined
static bool isKeyDefined()
eprosima::fastrtps::types::AnnotationParameterValue::boolean_value
bool boolean_value() const
This function returns the value of member boolean_value.
eprosima::fastrtps::wstring_from_bytes
std::wstring wstring_from_bytes(const std::string &str)
eprosima::fastrtps::types::TK_CHAR16
const octet TK_CHAR16
Definition: TypesBase.h:130
eprosima::fastrtps::types::AppliedAnnotation::AppliedAnnotation
AppliedAnnotation(const AppliedAnnotation &x)
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::hash_id
void hash_id(std::string &&_hash_id)
Definition: AnnotationParameterValue.h:1307
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::hash_id
const std::string & hash_id() const
Definition: AnnotationParameterValue.h:1313
eprosima::fastrtps::types::AnnotationParameterValue::int16_value
void int16_value(int16_t _int16_value)
This function sets a value in member int16_value.
eprosima::fastrtps::types::CONST_TRUE
const std::string CONST_TRUE
Definition: TypesBase.h:54
eprosima::fastrtps::types::AppliedVerbatimAnnotation::text
std::string & text()
Definition: AnnotationParameterValue.h:1184
eprosima::fastrtps::types::AnnotationParameterValue::extended_value
const ExtendedAnnotationParameterValue & extended_value() const
This function returns a constant reference to member extended_value.
eprosima::fastrtps::types::ExtendedAnnotationParameterValue
This class represents the structure ExtendedAnnotationParameterValue defined by the user in the IDL f...
Definition: AnnotationParameterValue.h:47
eprosima::fastrtps::types::AppliedVerbatimAnnotation::text
void text(const std::string &_text)
Definition: AnnotationParameterValue.h:1167
eprosima::fastrtps::types::AnnotationParameterValue::int32_value
void int32_value(int32_t _int32_value)
This function sets a value in member int32_value.
eprosima::fastrtps::types::AnnotationParameterValue::uint64_value
uint64_t & uint64_value()
This function returns a reference to member uint64_value.
eprosima::fastrtps::types::AnnotationParameterValue::from_string
void from_string(const std::string &value)
Aux method to set value from its string representation.
Definition: AnnotationParameterValue.h:673
eprosima::fastrtps::types::AppliedAnnotation::param_seq
const AppliedAnnotationParameterSeq & param_seq() const
Definition: AnnotationParameterValue.h:1067
eprosima::fastrtps::types::AppliedAnnotationParameter::serialize
void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::AnnotationParameterValue::~AnnotationParameterValue
~AnnotationParameterValue()
Default destructor.
eprosima::fastrtps::types::AnnotationParameterValue::wchar_value
wchar_t wchar_value() const
This function returns the value of member wchar_value.
eprosima::fastrtps::types::AppliedAnnotation::serializeKey
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::getCdrSerializedSize
static size_t getCdrSerializedSize(const ExtendedAnnotationParameterValue &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::AnnotationParameterValue::uint32_value
void uint32_value(uint32_t _uint32_value)
This function sets a value in member uint32_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::AppliedBuiltinMemberAnnotations
AppliedBuiltinMemberAnnotations(const AppliedBuiltinMemberAnnotations &x)
eprosima::fastrtps::types::AnnotationParameterValue::int16_value
int16_t int16_value() const
This function returns the value of member int16_value.
eprosima::fastrtps::types::AnnotationParameterValue::byte_value
uint8_t & byte_value()
This function returns a reference to member byte_value.
eprosima::fastrtps::types::AppliedVerbatimAnnotation::getCdrSerializedSize
static size_t getCdrSerializedSize(const AppliedVerbatimAnnotation &data, size_t current_alignment=0)
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::unit
const std::string & unit() const
Definition: AnnotationParameterValue.h:1247
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::hash_id
std::string & hash_id()
Definition: AnnotationParameterValue.h:1318
eprosima::fastrtps::types::TK_BYTE
const octet TK_BYTE
Definition: TypesBase.h:119
eprosima::fastrtps::types::AppliedAnnotation::annotation_typeid
void annotation_typeid(const TypeIdentifier &_annotation_typeid)
Definition: AnnotationParameterValue.h:1033
eprosima::fastrtps::types::AnnotationParameterValue::float64_value
double float64_value() const
This function returns the value of member float64_value.
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::ExtendedAnnotationParameterValue
ExtendedAnnotationParameterValue(ExtendedAnnotationParameterValue &&x)
Move constructor.
eprosima::fastrtps::types::AnnotationParameterValue::boolean_value
bool & boolean_value()
This function returns a reference to member boolean_value.
eprosima::fastrtps::types::AnnotationParameterValue::extended_value
ExtendedAnnotationParameterValue & extended_value()
This function returns a reference to member extended_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::serializeKey
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
eprosima::fastrtps::types::AppliedVerbatimAnnotation::language
void language(const std::string &_language)
Definition: AnnotationParameterValue.h:1145
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::serializeKey
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
eprosima::fastrtps::types::TK_INT64
const octet TK_INT64
Definition: TypesBase.h:122
eprosima::fastrtps::types::TypeIdentifier
Definition: TypeIdentifier.h:81
eprosima::fastrtps::types::AnnotationParameterValue
This class represents the union AnnotationParameterValue defined by the user in the IDL file.
Definition: AnnotationParameterValue.h:149
eprosima::fastrtps::types::AnnotationParameterValue::float64_value
double & float64_value()
This function returns a reference to member float64_value.
eprosima::fastrtps::types::AppliedAnnotation
Definition: AnnotationParameterValue.h:1019
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::min
AnnotationParameterValue & min()
Definition: AnnotationParameterValue.h:1274
eprosima::fastrtps::types::AnnotationParameterValue::float32_value
float float32_value() const
This function returns the value of member float32_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::AppliedBuiltinMemberAnnotations
AppliedBuiltinMemberAnnotations(AppliedBuiltinMemberAnnotations &&x)
eprosima::fastrtps::types::AnnotationParameterValue::float32_value
void float32_value(float _float32_value)
This function sets a value in member float32_value.
eprosima::fastrtps::types::AppliedAnnotation::annotation_typeid
const TypeIdentifier & annotation_typeid() const
Definition: AnnotationParameterValue.h:1045
eprosima::fastrtps::types::TK_FLOAT128
const octet TK_FLOAT128
Definition: TypesBase.h:128
eprosima::fastrtps::types::AnnotationParameterValue::float32_value
float & float32_value()
This function returns a reference to member float32_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::max
void max(AnnotationParameterValue &&_max)
Definition: AnnotationParameterValue.h:1285
eprosima::fastrtps::types::AppliedVerbatimAnnotation::language
std::string & language()
Definition: AnnotationParameterValue.h:1162
eprosima::fastrtps::types::AppliedVerbatimAnnotation::placement
const std::string & placement() const
Definition: AnnotationParameterValue.h:1135
eprosima::fastrtps::types::AnnotationParameterValue::string8_value
const std::string & string8_value() const
This function returns a constant reference to member string8_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::~AppliedBuiltinMemberAnnotations
~AppliedBuiltinMemberAnnotations()
eprosima::fastrtps::types::AppliedVerbatimAnnotation::deserialize
void deserialize(eprosima::fastcdr::Cdr &cdr)
eprosima::fastrtps::types::AppliedAnnotationParameterSeq
std::vector< AppliedAnnotationParameter > AppliedAnnotationParameterSeq
Definition: AnnotationParameterValue.h:1012
eprosima::fastrtps::types::TK_UINT16
const octet TK_UINT16
Definition: TypesBase.h:123
eprosima::fastrtps::types::AnnotationParameterValue::string8_value
void string8_value(std::string &&_string8_value)
This function moves the value in member string8_value.
eprosima::fastrtps::types::AppliedAnnotation::AppliedAnnotation
AppliedAnnotation(AppliedAnnotation &&x)
eprosima::fastrtps::types::AppliedVerbatimAnnotation::text
const std::string & text() const
Definition: AnnotationParameterValue.h:1179
eprosima::fastrtps::types::AnnotationParameterValue::isKeyDefined
static bool isKeyDefined()
This function tells you if the Key has been defined for this type.
eprosima::fastrtps::types::AnnotationParameterValue::char_value
void char_value(char _char_value)
This function sets a value in member char_value.
eprosima::fastrtps::types::AppliedVerbatimAnnotation::isKeyDefined
static bool isKeyDefined()
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::getKeyMaxCdrSerializedSize
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of the Key of an object depending on the buffer ali...
eprosima::fastrtps::types::AppliedVerbatimAnnotation::AppliedVerbatimAnnotation
AppliedVerbatimAnnotation()
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::operator=
AppliedBuiltinMemberAnnotations & operator=(const AppliedBuiltinMemberAnnotations &x)
eprosima::fastrtps::types::AnnotationParameterValue::_d
void _d(char __d)
This function sets the discriminator value.
eprosima::fastrtps::types::AppliedAnnotation::deserialize
void deserialize(eprosima::fastcdr::Cdr &cdr)
eprosima::fastrtps::types::AnnotationParameterValue::int16_value
int16_t & int16_value()
This function returns a reference to member int16_value.
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::serialize
void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::TK_NONE
const octet TK_NONE
Definition: TypesBase.h:117
eprosima::fastrtps::types::AppliedAnnotation::param_seq
void param_seq(const AppliedAnnotationParameterSeq &_param_seq)
Definition: AnnotationParameterValue.h:1055
eprosima::fastrtps::types::AnnotationParameterValue::extended_value
void extended_value(const ExtendedAnnotationParameterValue &_extended_value)
This function copies the value in member extended_value.
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::ExtendedAnnotationParameterValue
ExtendedAnnotationParameterValue(const ExtendedAnnotationParameterValue &x)
Copy constructor.
eprosima::fastrtps::types::AppliedVerbatimAnnotation::language
void language(std::string &&_language)
Definition: AnnotationParameterValue.h:1151
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::~ExtendedAnnotationParameterValue
~ExtendedAnnotationParameterValue()
Default destructor.
eprosima::fastrtps::types::AppliedAnnotationParameter::value
AnnotationParameterValue & value()
This function returns a reference to member value.
Definition: AnnotationParameterValue.h:910
eprosima::fastrtps::types::TK_STRING8
const octet TK_STRING8
Definition: TypesBase.h:133
eprosima::fastrtps::types::AnnotationParameterValue::char_value
char & char_value()
This function returns a reference to member char_value.
eprosima::fastrtps::types::TK_INT32
const octet TK_INT32
Definition: TypesBase.h:121
eprosima::fastrtps::types::AnnotationParameterValue::boolean_value
void boolean_value(bool _boolean_value)
This function sets a value in member boolean_value.
eprosima::fastrtps::types::AppliedAnnotationParameter::operator=
AppliedAnnotationParameter & operator=(const AppliedAnnotationParameter &x)
Copy assignment.
eprosima::fastrtps::types::AnnotationParameterValue::int32_value
int32_t int32_value() const
This function returns the value of member int32_value.
eprosima::fastrtps::types::AppliedAnnotationParameter::paramname_hash
void paramname_hash(NameHash &&_paramname_hash)
This function moves the value in member paramname_hash.
Definition: AnnotationParameterValue.h:853
eprosima::fastrtps::types::AnnotationParameterValue::uint32_value
uint32_t uint32_value() const
This function returns the value of member uint32_value.
eprosima::fastrtps::types::AppliedAnnotation::operator=
AppliedAnnotation & operator=(const AppliedAnnotation &x)
eprosima::fastrtps::types::AppliedAnnotationParameter::paramname_hash
const NameHash & paramname_hash() const
This function returns a constant reference to member paramname_hash.
Definition: AnnotationParameterValue.h:863
eprosima::fastrtps::types::AnnotationParameterValue::uint64_value
uint64_t uint64_value() const
This function returns the value of member uint64_value.
eprosima::fastrtps::types::AppliedAnnotationParameter::value
void value(AnnotationParameterValue &&_value)
This function moves the value in member value.
Definition: AnnotationParameterValue.h:891
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::unit
std::string & unit()
Definition: AnnotationParameterValue.h:1252
eprosima::fastrtps::types::AppliedVerbatimAnnotation::~AppliedVerbatimAnnotation
~AppliedVerbatimAnnotation()
eprosima::fastrtps::types::AppliedAnnotationParameter::AppliedAnnotationParameter
AppliedAnnotationParameter()
Default constructor.
eprosima::fastrtps::types::AppliedAnnotation::~AppliedAnnotation
~AppliedAnnotation()
eprosima::fastrtps::types::AnnotationParameterValue::enumerated_value
void enumerated_value(int32_t _enumerated_value)
This function sets a value in member enumerated_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::unit
void unit(const std::string &_unit)
Definition: AnnotationParameterValue.h:1235
eprosima::fastrtps::types::AppliedAnnotation::isKeyDefined
static bool isKeyDefined()
eprosima::fastrtps::types::AppliedAnnotation::param_seq
void param_seq(AppliedAnnotationParameterSeq &&_param_seq)
Definition: AnnotationParameterValue.h:1061
eprosima::fastrtps::types::AnnotationParameterValue::float128_value
long double & float128_value()
This function returns a reference to member float128_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::unit
void unit(std::string &&_unit)
Definition: AnnotationParameterValue.h:1241
eprosima::fastrtps::types::AppliedVerbatimAnnotation::operator==
bool operator==(const AppliedVerbatimAnnotation &other) const
eprosima::fastrtps::types::AppliedVerbatimAnnotation::language
const std::string & language() const
Definition: AnnotationParameterValue.h:1157
eprosima::fastrtps::types::AppliedAnnotationParameter::paramname_hash
void paramname_hash(const NameHash &_paramname_hash)
This function copies the value in member paramname_hash.
Definition: AnnotationParameterValue.h:843
eprosima::fastrtps::types::AppliedVerbatimAnnotation::serialize
void serialize(eprosima::fastcdr::Cdr &cdr) const
eprosima::fastrtps::types::AppliedAnnotationParameter::~AppliedAnnotationParameter
~AppliedAnnotationParameter()
Default destructor.
eprosima::fastrtps::types::AppliedVerbatimAnnotation::AppliedVerbatimAnnotation
AppliedVerbatimAnnotation(const AppliedVerbatimAnnotation &x)
eprosima::fastrtps::types::AnnotationParameterValue::uint32_value
uint32_t & uint32_value()
This function returns a reference to member uint32_value.
eprosima::fastrtps::types::AnnotationParameterValue::AnnotationParameterValue
AnnotationParameterValue(AnnotationParameterValue &&x)
Move constructor.
eprosima::fastrtps::types::AnnotationParameterValue::int64_value
int64_t & int64_value()
This function returns a reference to member int64_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations
Definition: AnnotationParameterValue.h:1221
eprosima::fastrtps::types::AppliedVerbatimAnnotation::placement
std::string & placement()
Definition: AnnotationParameterValue.h:1140
eprosima::fastrtps::types::AppliedAnnotation::annotation_typeid
void annotation_typeid(TypeIdentifier &&_annotation_typeid)
Definition: AnnotationParameterValue.h:1039
eprosima::fastrtps::types::AnnotationParameterValue::int64_value
int64_t int64_value() const
This function returns the value of member int64_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::getKeyMaxCdrSerializedSize
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
eprosima::fastrtps::types::AnnotationParameterValue::serializeKey
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
eprosima::fastrtps::types::AnnotationParameterValue::float128_value
void float128_value(long double _float128_value)
This function sets a value in member float128_value.
eprosima::fastrtps::types::AnnotationParameterValue::to_string
std::string to_string() const
Aux method to return value as its string representation.
Definition: AnnotationParameterValue.h:626
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::isKeyDefined
static bool isKeyDefined()
This function tells you if the Key has been defined for this type.
eprosima::fastrtps::types::AnnotationParameterValue::string8_value
std::string & string8_value()
This function returns a reference to member string8_value.
eprosima::fastrtps::types::AnnotationParameterValue::int64_value
void int64_value(int64_t _int64_value)
This function sets a value in member int64_value.
eprosima::fastrtps::types::TK_INT16
const octet TK_INT16
Definition: TypesBase.h:120
eprosima::fastrtps::types::AppliedVerbatimAnnotation
Definition: AnnotationParameterValue.h:1109
eprosima::fastrtps::types::AppliedAnnotationParameter::operator==
bool operator==(const AppliedAnnotationParameter &other) const
eprosima::fastrtps::types::AppliedVerbatimAnnotation::getKeyMaxCdrSerializedSize
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
eprosima::fastrtps::types::AnnotationParameterValue::deserialize
void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::AnnotationParameterValue::enumerated_value
int32_t & enumerated_value()
This function returns a reference to member enumerated_value.
eprosima::fastrtps::types::AnnotationParameterValue::int32_value
int32_t & int32_value()
This function returns a reference to member int32_value.
eprosima::fastrtps::types::AnnotationParameterValue::uint_16_value
uint16_t uint_16_value() const
This function returns the value of member uint_16_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::deserialize
void deserialize(eprosima::fastcdr::Cdr &cdr)
eprosima::fastrtps::types::AnnotationParameterValue::AnnotationParameterValue
AnnotationParameterValue(const AnnotationParameterValue &x)
Copy constructor.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::hash_id
void hash_id(const std::string &_hash_id)
Definition: AnnotationParameterValue.h:1301
eprosima::fastrtps::types::AnnotationParameterValue::float128_value
long double float128_value() const
This function returns the value of member float128_value.
eprosima::fastrtps::types::AnnotationParameterValue::serialize
void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::AnnotationParameterValue::string8_value
void string8_value(const std::string &_string8_value)
This function copies the value in member string8_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::min
void min(const AnnotationParameterValue &_min)
Definition: AnnotationParameterValue.h:1257
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::ExtendedAnnotationParameterValue
ExtendedAnnotationParameterValue()
Default constructor.
eprosima::fastrtps::types::AppliedAnnotationParameter::value
void value(const AnnotationParameterValue &_value)
This function copies the value in member value.
Definition: AnnotationParameterValue.h:881
eprosima::fastrtps::types::AnnotationParameterValue::getKeyMaxCdrSerializedSize
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of the Key of an object depending on the buffer ali...
eprosima::fastrtps::types::AnnotationParameterValue::operator=
AnnotationParameterValue & operator=(const AnnotationParameterValue &x)
Copy assignment.
eprosima::fastrtps::types::AppliedAnnotationParameter::value
const AnnotationParameterValue & value() const
This function returns a constant reference to member value.
Definition: AnnotationParameterValue.h:901
eprosima::fastrtps::types::AnnotationParameterValue::string16_value
void string16_value(std::wstring &&_string16_value)
This function moves the value in member string16_value.
eprosima::fastrtps::types::AnnotationParameterValue::wchar_value
wchar_t & wchar_value()
This function returns a reference to member wchar_value.
eprosima::fastrtps::types::AnnotationParameterValue::byte_value
uint8_t byte_value() const
This function returns the value of member byte_value.
eprosima::fastrtps::types::AppliedVerbatimAnnotation::AppliedVerbatimAnnotation
AppliedVerbatimAnnotation(AppliedVerbatimAnnotation &&x)
eprosima::fastrtps::types::TK_FLOAT32
const octet TK_FLOAT32
Definition: TypesBase.h:126
eprosima::fastrtps::types::AppliedVerbatimAnnotation::placement
void placement(const std::string &_placement)
Definition: AnnotationParameterValue.h:1123
eprosima::fastrtps::types::AppliedAnnotation::operator==
bool operator==(const AppliedAnnotation &other) const
eprosima::fastrtps::types::AppliedAnnotation::getCdrSerializedSize
static size_t getCdrSerializedSize(const AppliedAnnotation &data, size_t current_alignment=0)
eprosima::fastrtps::types::AppliedAnnotationParameter::AppliedAnnotationParameter
AppliedAnnotationParameter(AppliedAnnotationParameter &&x)
Move constructor.
eprosima::fastrtps::types::AppliedAnnotationParameter
This class represents the structure AppliedAnnotationParameter defined by the user in the IDL file.
Definition: AnnotationParameterValue.h:798
eprosima::fastrtps::types::TK_FLOAT64
const octet TK_FLOAT64
Definition: TypesBase.h:127
eprosima::fastrtps::types::AppliedAnnotation::param_seq
AppliedAnnotationParameterSeq & param_seq()
Definition: AnnotationParameterValue.h:1072
eprosima::fastrtps::types::AppliedAnnotation::AppliedAnnotation
AppliedAnnotation()
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::AppliedBuiltinMemberAnnotations
AppliedBuiltinMemberAnnotations()
eprosima::fastrtps::types::AnnotationParameterValue::string16_value
std::wstring & string16_value()
This function returns a reference to member string16_value.
eprosima::fastrtps::types::AnnotationParameterValue::operator==
bool operator==(const AnnotationParameterValue &other) const
eprosima::fastrtps::types::AppliedAnnotation::serialize
void serialize(eprosima::fastcdr::Cdr &cdr) const
eprosima::fastrtps::types::AppliedVerbatimAnnotation::text
void text(std::string &&_text)
Definition: AnnotationParameterValue.h:1173
eprosima::fastrtps::types::AppliedAnnotationParameter::paramname_hash
NameHash & paramname_hash()
This function returns a reference to member paramname_hash.
Definition: AnnotationParameterValue.h:872
eprosima::fastrtps::types::AnnotationParameterValue::string16_value
void string16_value(const std::wstring &_string16_value)
This function copies the value in member string16_value.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::getCdrSerializedSize
static size_t getCdrSerializedSize(const AppliedBuiltinMemberAnnotations &data, size_t current_alignment=0)
eprosima::fastrtps::types::AppliedAnnotation::annotation_typeid
TypeIdentifier & annotation_typeid()
Definition: AnnotationParameterValue.h:1050
eprosima::fastrtps::types::TK_UINT32
const octet TK_UINT32
Definition: TypesBase.h:124
eprosima::fastrtps::types::AppliedVerbatimAnnotation::serializeKey
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
eprosima
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
eprosima::fastrtps::types::AppliedAnnotationParameter::deserialize
void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::AnnotationParameterValue::string16_value
const std::wstring & string16_value() const
This function returns a constant reference to member string16_value.
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::operator==
bool operator==(const ExtendedAnnotationParameterValue &) const
Definition: AnnotationParameterValue.h:136
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::max
AnnotationParameterValue & max()
Definition: AnnotationParameterValue.h:1296
eprosima::fastrtps::types::ExtendedAnnotationParameterValue::operator=
ExtendedAnnotationParameterValue & operator=(const ExtendedAnnotationParameterValue &x)
Copy assignment.
eprosima::fastrtps::types::AppliedAnnotationSeq
std::vector< AppliedAnnotation > AppliedAnnotationSeq
Definition: AnnotationParameterValue.h:1100
eprosima::fastrtps::types::AppliedVerbatimAnnotation::operator=
AppliedVerbatimAnnotation & operator=(const AppliedVerbatimAnnotation &x)
eprosima::fastrtps::types::AppliedAnnotationParameter::AppliedAnnotationParameter
AppliedAnnotationParameter(const AppliedAnnotationParameter &x)
Copy constructor.
eprosima::fastrtps::types::TK_STRING16
const octet TK_STRING16
Definition: TypesBase.h:134
eprosima::fastrtps::types::AnnotationParameterValue::uint_16_value
void uint_16_value(uint16_t _uint_16_value)
This function sets a value in member uint_16_value.
eprosima::fastrtps::types::AnnotationParameterValue::float64_value
void float64_value(double _float64_value)
This function sets a value in member float64_value.
eprosima::fastrtps::types::AnnotationParameterValue::AnnotationParameterValue
AnnotationParameterValue()
Default constructor.
eprosima::fastrtps::types::AnnotationParameterValue::getCdrSerializedSize
static size_t getCdrSerializedSize(const AnnotationParameterValue &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::AnnotationParameterValue::_d
char & _d()
This function returns a reference to the discriminator.
eprosima::fastrtps::types::AppliedBuiltinMemberAnnotations::operator==
bool operator==(const AppliedBuiltinMemberAnnotations &other) const
eprosima::fastrtps::types::AnnotationParameterValue::_d
char _d() const
This function returns the value of the discriminator.
eprosima::fastrtps::types::AnnotationParameterValue::wchar_value
void wchar_value(wchar_t _wchar_value)
This function sets a value in member wchar_value.
eprosima::fastrtps::types::TK_UINT64
const octet TK_UINT64
Definition: TypesBase.h:125
eprosima::fastrtps::types::AppliedAnnotationParameter::getCdrSerializedSize
static size_t getCdrSerializedSize(const AppliedAnnotationParameter &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::TK_ENUM
const octet TK_ENUM
Definition: TypesBase.h:141
eprosima::fastrtps::types::AppliedVerbatimAnnotation::placement
void placement(std::string &&_placement)
Definition: AnnotationParameterValue.h:1129
eprosima::fastrtps::types::AnnotationParameterValue::byte_value
void byte_value(uint8_t _byte_value)
This function sets a value in member byte_value.