OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GenericBsonDocument.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include <bsoncxx/builder/stream/document.hpp>
6#include <bsoncxx/json.hpp>
7#include <bsoncxx/builder/basic/document.hpp>
8#include <bsoncxx/builder/basic/array.hpp>
9#include "GenericDocument.h"
10
11class GenericBsonDocument : public GenericDocument
12{
13public:
14 void AddAllFieldsToDocument(bsoncxx::builder::basic::document& storage) const;
15
16private:
17 std::vector<char> _forbiddenFieldNameContent{ '$', '.' };
18
19 //virtual void CheckForIlligalName(std::string fieldName) override;
20};
Definition GenericBsonDocument.h:12
void AddAllFieldsToDocument(bsoncxx::builder::basic::document &storage) const
Definition GenericBsonDocument.cpp:3