2011-07-13 23:12:36 +02:00
|
|
|
#ifndef OTMLEMITTER_H
|
|
|
|
#define OTMLEMITTER_H
|
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
#include "otmldeclarations.h"
|
2011-07-13 23:12:36 +02:00
|
|
|
|
|
|
|
class OTMLEmitter
|
|
|
|
{
|
|
|
|
public:
|
2011-08-14 04:09:11 +02:00
|
|
|
/// Emits a node and it's children to a std::string
|
|
|
|
static std::string emitNode(const OTMLNodePtr& node, int currentDepth = -1);
|
2011-07-13 23:12:36 +02:00
|
|
|
};
|
|
|
|
|
2011-08-14 04:09:11 +02:00
|
|
|
#endif
|