MongoType
MongoDB Collection Data Dump with BSON Types
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mongotype.hpp
Go to the documentation of this file.
1 #ifndef MONGOTYPE_HPP_
2 #define MONGOTYPE_HPP_
3 
27 //----------------------------------------------------------------------------
28 
29 #include <time.h>
30 #include <stdio.h>
31 
32 #include <iostream>
33 #include <fstream>
34 #include <memory>
35 #include <deque>
36 #include <map>
37 #include <iterator>
38 #include <cstdlib>
39 #include <functional>
40 
41 #include <boost/any.hpp>
42 #include <boost/program_options.hpp>
43 
44 #include <mongo/client/dbclient.h>
45 #include <mongo/bson/bsonobj.h>
46 
47 using namespace std;
48 using namespace mongo;
49 
50 //----------------------------------------------------------------------------
51 
52 namespace mongotype {
53 
54 extern const string VERSION;
55 extern const string COPYRIGHT;
56 extern const string LICENSE;
57 
58 };
59 
60 //----------------------------------------------------------------------------
61 
83 #define OSTREAM_FRIEND(ref) friend std::ostream& operator<<(std::ostream& out, ref)
84 
102 //----------------------------------------------------------------------------
103 
104 #endif /* MONGOTYPE_HPP_ */