OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
UnittestDocumentAccessBase.h
Go to the documentation of this file.
1#pragma once
2#include <string>
4
5#pragma warning(disable : 4251)
6#pragma warning(disable:4275)
7/*
8* Warning C4275: non - DLL-interface class 'class_1' used as base for DLL-interface class 'class_2'
9* Is ok, as long as no static data or CRT functionality are used under certain conditions (https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-2-c4275?view=msvc-170&redirectedfrom=MSDN)
10* Neither is currently used in the base class so it should be alright.
11*/
12class __declspec(dllexport) UnittestDocumentAccessBase : public DataStorageAPI::DocumentAccessBase
13{
14public:
15 UnittestDocumentAccessBase(const std::string& collectionName);
16
17private:
18 const std::string _serverURL = "mongodb://localhost:27013";
19 const std::string _dbName = "Unittests";
20};
Definition DocumentAccessBase.h:19