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
11
class
GenericBsonDocument
:
public
GenericDocument
12
{
13
public
:
14
void
AddAllFieldsToDocument
(bsoncxx::builder::basic::document& storage)
const
;
15
16
private
:
17
std::vector<char> _forbiddenFieldNameContent{
'$'
,
'.'
};
18
19
//virtual void CheckForIlligalName(std::string fieldName) override;
20
};
GenericDocument.h
GenericBsonDocument
Definition
GenericBsonDocument.h:12
GenericBsonDocument::AddAllFieldsToDocument
void AddAllFieldsToDocument(bsoncxx::builder::basic::document &storage) const
Definition
GenericBsonDocument.cpp:3
Libraries
ModelEntities
include
GenericBsonDocument.h
Generated by
1.10.0