MongoDB C++ Driver
legacy-1.1.2
|
A simple object for representing the list of tags requested by a $readPreference. More...
#include <dbclient_rs.h>
Public Member Functions | |
TagSet () | |
Creates a TagSet that matches any nodes. More... | |
TagSet (const BSONArray &tags) | |
Creates a TagSet from a BSONArray of tags. More... | |
const BSONArray & | getTagBSON () const |
Returns the BSONArray listing all tags that should be accepted. | |
A simple object for representing the list of tags requested by a $readPreference.
mongo::TagSet::TagSet | ( | ) |
Creates a TagSet that matches any nodes.
Do not call during static init.
|
inlineexplicit |