MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / MinimalStructType

Class MinimalStructType

dds/DCPS/XTypes/TypeObject.h:1397–1423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1395 };
1396
1397 struct MinimalStructType {
1398 StructTypeFlag struct_flags;
1399 MinimalStructHeader header;
1400 MinimalStructMemberSeq member_seq;
1401
1402 MinimalStructType()
1403 : struct_flags(0)
1404 {}
1405
1406 MinimalStructType(const StructTypeFlag& a_struct_flags,
1407 const MinimalStructHeader& a_header,
1408 const MinimalStructMemberSeq& a_member_seq)
1409 : struct_flags(a_struct_flags)
1410 , header(a_header)
1411 , member_seq(a_member_seq)
1412 {}
1413
1414 bool operator==(const MinimalStructType& other) const
1415 {
1416 return struct_flags == other.struct_flags && header == other.header && member_seq == other.member_seq;
1417 }
1418
1419 bool operator!=(const MinimalStructType& other) const
1420 {
1421 return !(*this == other);
1422 }
1423 };
1424
1425 // --- Union: ----------------------------------------------------------
1426

Callers 1

getTypeObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected