Add the specified collector with the specified name to this registry.
Synopsis
Declared in <ball_attributecollectorregistry.h>
int
addCollector(
Collector const& collector,
std::string_view const& name);
Description
Return 0 if collector was successfully registered, and a non‐zero value (with no effect) otherwise. Note that this method will fail if a collector having name is already registered.
Return Value
0 on success, or a non‐zero value otherwise
Parameters
Name |
Description |
collector |
attribute collector functor to register |
name |
name under which to register |
Created with MrDocs