libdap++
Updated for version 3.8.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
XMLWriter.h
Go to the documentation of this file.
1
/*
2
* XMLWriter.h
3
*
4
* Created on: Jul 28, 2010
5
* Author: jimg
6
*/
7
8
#ifndef XMLWRITER_H_
9
#define XMLWRITER_H_
10
11
#include <libxml/encoding.h>
12
#include <libxml/xmlwriter.h>
13
14
#include <string>
15
16
#include <
InternalErr.h
>
17
18
using namespace
std;
19
20
class
XMLWriter
{
21
private
:
22
// Various xml writer stuff
23
xmlTextWriterPtr d_writer;
24
xmlBufferPtr d_doc_buf;
25
bool
d_started;
26
bool
d_ended;
27
28
string
d_doc;
29
30
void
m_cleanup() ;
31
32
public
:
33
XMLWriter
(
const
string
&pad =
" "
);
34
virtual
~
XMLWriter
();
35
36
xmlTextWriterPtr
get_writer
() {
return
d_writer; }
37
const
char
*get_doc();
38
};
39
40
#endif
/* XMLWRITER_H_ */
XMLWriter.h
Generated by
1.8.1.1