using
std::cout;
using
std::cerr;
using
std::endl;
#ifndef __CPP__INCLUDED__RPerl__Support__MongoDBStandAlone_h
#define __CPP__INCLUDED__RPerl__Support__MongoDBStandAlone_h 0.002_000
#undef exp
#include <mongocxx/client.hpp>
#include <mongocxx/stdx.hpp>
#include <mongocxx/uri.hpp>
#include <mongocxx/instance.hpp>
#include <RPerl/DataStructure/MongoDBBSONStandAlone.h> // -> bsoncxx/json.hpp, bsoncxx/builder/stream/document.hpp
#include <RPerl/Operation/Expression/Operator/MongoDBFunctions.h> // -> NULL
# ifndef __CPP__INCLUDED__RPerl__Support__MongoDBStandAlone_h__typedefs
#define __CPP__INCLUDED__RPerl__Support__MongoDBStandAlone_h__typedefs 1
#define MongoDB__MongoClient mongocxx::client
#define MongoDB__Database mongocxx::database
#define MongoDB__Collection mongocxx::collection
#define MongoDB__InsertOneResult bsoncxx::stdx::optional<mongocxx::result::insert_one> // all InsertOneResult data types are optional, no need for '__optional' suffix
#define mongodb_host mongocxx::uri
mongocxx::instance my_instance{};
# endif
#include <rperltypes_mode.h> // for definitions of __PERL__TYPES or __CPP__TYPES
# ifdef __PERL__TYPES
SV* RPerl__Support__MongoDBStandAlone__MODE_ID() {
return
(newSViv(1)); }
# elif defined __CPP__TYPES
int
RPerl__Support__MongoDBStandAlone__MODE_ID() {
return
2; }
# else
Purposefully_die_from_a_compile-time_error,_due_to_neither___PERL__TYPES_nor___CPP__TYPES_being_defined.__We_need_to_define_exactly_one!
# endif
#endif