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

Function set_sequence_length

tests/DCPS/MultiTopic/MultiTopicTest.cpp:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164
165template <typename T>
166void set_sequence_length(T& seq, SeqLen length)
167{
168#ifdef CLASSIC_MAPPING
169 seq.length(length);
170#elif defined(CPP11_MAPPING)
171 seq.resize(length);
172#endif
173}
174
175std::ostream& operator<<(std::ostream& os, FlightType value)
176{

Callers 1

run_multitopic_testFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected