Same as the preceding overload, using std::vector result containers.

Synopsis

Declared in <balm_collectorrepository.h>

int
getAddedCollectors(
    std::vector<bsl::shared_ptr<Collector>>* collectors,
    std::vector<bsl::shared_ptr<IntegerCollector>>* intCollectors,
    MetricId const& metricId);

Return Value

combined total number of added collectors found

Parameters

Name

Description

collectors

receives shared pointers to added collectors

intCollectors

receives shared pointers to added integer collectors

metricId

identity of the metric whose added collectors are retrieved

Created with MrDocs