|
Contents:
Search: |
CEMdFOutputOverviewThe CEMdFOutput class is an abstraction of three things:
C++ interface
#include <emdros/emdf_output.h>
typedef enum {
kCSASCII,
kCSISO_8859_1,
kCSISO_8859_8,
kCSUTF8
} eCharsets;
typedef enum {
kOKXML,
kOKConsole
} eOutputKind;
class CEMdFOutput {
public:
CEMdFOutput(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
);
~CEMdFOutput();
eOutputKind get_output_kind(void) const { return m_output_kind; }
};
|