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

Method insert_single

dds/DCPS/XTypes/DynamicDataImpl.cpp:692–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690}
691
692bool DynamicDataImpl::insert_single(DDS::MemberId id, const ACE_OutputCDR::from_int8& value)
693{
694 ACE_GUARD_RETURN(ACE_Recursive_Thread_Mutex, guard, lock_, false);
695 // The same member might be already written to complex_map_.
696 // Make sure there is only one entry for each member.
697 if (container_.complex_map_.erase(id) == 0) {
698 container_.single_map_.erase(id);
699 }
700 return container_.single_map_.insert(std::make_pair(id, value)).second;
701}
702
703bool DynamicDataImpl::insert_single(DDS::MemberId id, const ACE_OutputCDR::from_uint8& value)
704{

Callers 10

move_sequence_helperMethod · 0.80
StringSeq>Method · 0.80
WstringSeq>Method · 0.80
Int8Seq>Method · 0.80
UInt8Seq>Method · 0.80
CharSeq>Method · 0.80
ByteSeq>Method · 0.80
BooleanSeq>Method · 0.80
WcharSeq>Method · 0.80

Calls 2

eraseMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected