Couchbase C++ SDK 1.0.2 (rev. 51f4775)
|
Registry for defining configuration profiles. More...
#include <couchbase/configuration_profiles_registry.hxx>
Static Public Member Functions | |
static void | register_profile (const std::string &name, std::shared_ptr< configuration_profile > profile) |
Register a configuration_profile, and associate it with a name. | |
static void | apply_profile (const std::string &name, couchbase::cluster_options &options) |
Apply a profile to an instance of cluster_options. | |
static auto | available_profiles () -> std::vector< std::string > |
Registry for defining configuration profiles.
|
static |
Apply a profile to an instance of cluster_options.
name | |
options |
|
static |
|
static |
Register a configuration_profile, and associate it with a name.
name | The name to use to refer to the profile. |
profile | Instance of class derived from configuration_profile, which is being registered. |