|
Contents:
Search: |
EMdFOutputOverviewThe EMdFOutput class is an abstraction of three things:
C++ interface
#include <emdf_output.h>
typedef enum {
kCSASCII,
kCSISO_8859_1,
kCSISO_8859_8,
kCSUTF8
} eCharsets;
typedef enum {
kOKXML,
kOKConsole
} eOutputKind;
class EMdFOutput {
public:
EMdFOutput(eCharsets charset, // Default encoding
std::ostream *pStream, // Output stream
eOutputKind output_kind, // XML or Console?
int indent_chars = 3 // No. of indent-spaces for XML
);
~EMdFOutput();
eOutputKind getOutputKind(void) const { return m_output_kind; }
};
|