MCPcopy Create free account
hub / github.com/arq5x/bedtools2 / GetCollapse

Method GetCollapse

src/utils/VectorOps/VectorOps.cpp:236–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236string VectorOps::GetCollapse(string delimiter)
237{
238 ostringstream collapse;
239 for( size_t i = 0; i < _vecs.size(); i++ ) {
240 if (i>0)
241 collapse << delimiter;
242 collapse << _vecs[i];
243 }
244 return collapse.str();
245}
246
247string VectorOps::GetConcat(void)
248{

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected