MongoType
MongoDB Collection Data Dump with BSON Types
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
IBSONRenderer.hpp
Go to the documentation of this file.
1
/*
2
* IBSONRenderer.hpp
3
*
4
* Created on: Jan 23, 2014
5
* Author: mdeazley
6
*/
7
8
#ifndef IBSONRENDERER_HPP_
9
#define IBSONRENDERER_HPP_
10
11
#include <ostream>
12
#include <memory>
13
14
namespace
mongotype {
15
16
class
IBSONRenderer
{
17
public
:
18
virtual
~IBSONRenderer
() {};
19
virtual
void
setOutputStream
(std::ostream& os) = 0;
20
virtual
void
begin
(
const
char
* prefix) = 0;
21
virtual
void
end
(
const
char
* suffix) = 0;
22
virtual
void
render
(
const
BSONObj&
object
,
int
docIndex,
int
docCount) = 0;
23
};
24
25
}
/* namespace mongotype */
26
27
#endif
/* IBSONRENDERER_HPP_ */
include
IBSONRenderer.hpp
Generated on Mon Apr 28 2014 20:19:25 for MongoType by
1.8.3.1