11 class __declspec(dllexport) Connector :
public SerializeWithBSON
19 Connector(ConnectorType type,
const std::string& connectorName,
const std::string& connectorTitle);
20 bool operator==(
const Connector& other) {
return _connectorName == other._connectorName; }
22 const ConnectorType getConnectorType()
const {
return _connectorType; }
23 const std::string& getConnectorName()
const {
return _connectorName; }
24 const std::string& getConnectorTitle()
const {
return _connectorTitle; }
26 virtual bsoncxx::builder::basic::document SerializeBSON()
const override;
27 virtual void DeserializeBSON(bsoncxx::v_noabi::types::b_document& storage)
override;
31 std::string _connectorName;
32 std::string _connectorTitle;