[#BloombergLP-balm-CollectorRepository-getAddedCollectors-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/CollectorRepository.adoc[CollectorRepository]::getAddedCollectors :relfileprefix: ../../../ :mrdocs: Append to the specified `collectors` and `intCollectors` the shared pointers to any added collectors for the specified `metricId`, and return the combined total number found. == Synopsis Declared in `<balm_collectorrepository.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int getAddedCollectors( xref:bsl/vector-00d.adoc[bsl::vector<bsl::shared_ptr<Collector>>]* collectors, xref:bsl/vector-00d.adoc[bsl::vector<bsl::shared_ptr<IntegerCollector>>]* intCollectors, xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#