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

Function get_sequence_length

tests/DCPS/MultiTopic/MultiTopicTest.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155template <typename T>
156SeqLen get_sequence_length(const T& seq)
157{
158#ifdef CLASSIC_MAPPING
159 return seq.length();
160#elif defined(CPP11_MAPPING)
161 return seq.size();
162#endif
163}
164
165template <typename T>
166void set_sequence_length(T& seq, SeqLen length)

Callers 1

print_sequenceFunction · 0.85

Calls 2

lengthMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected