#include <xalanc/PlatformSupport/PrintWriter.hpp>
|
| PrintWriter (bool fAutoFlush=false, MemoryManager &theManager XALAN_DEFAULT_MEMMGR) |
| Constructor. More...
|
|
MemoryManager & | getMemoryManager () |
|
virtual | ~PrintWriter () |
|
virtual bool | checkError () const =0 |
| Flush the stream, then check the error status. More...
|
|
virtual void | close ()=0 |
| Close the stream. More...
|
|
virtual void | flush ()=0 |
| Flush the stream. More...
|
|
virtual void | write (const char *s, size_t theOffset=0, size_t theLength=npos)=0 |
| Writes a string. More...
|
|
virtual void | write (const XalanDOMChar *s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
| Writes a string. More...
|
|
virtual void | write (XalanDOMChar c)=0 |
| Writes a character. More...
|
|
virtual void | write (const XalanDOMString &s, XalanDOMString::size_type theOffset=0, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
| Writes a string. More...
|
|
virtual void | print (bool b)=0 |
|
virtual void | print (char c)=0 |
|
virtual void | print (const char *s, size_t theLength=npos)=0 |
|
virtual void | print (const XalanDOMChar *s, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
|
virtual void | print (double d)=0 |
|
virtual void | print (XMLInt32 i)=0 |
|
virtual void | print (XMLInt64 l)=0 |
|
virtual void | print (const XalanDOMString &s)=0 |
|
virtual void | println ()=0 |
|
virtual void | println (bool b)=0 |
|
virtual void | println (char x)=0 |
|
virtual void | println (const char *s, size_t theLength=npos)=0 |
|
virtual void | println (const XalanDOMChar *s, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
|
virtual void | println (double x)=0 |
|
virtual void | println (XMLInt32 x)=0 |
|
virtual void | println (XMLInt64 x)=0 |
|
virtual void | println (const XalanDOMString &s)=0 |
|
| Writer () |
|
virtual | ~Writer () |
|
virtual XalanOutputStream * | getStream () |
| Get the stream associated with the writer... More...
|
|
virtual const XalanOutputStream * | getStream () const |
| Get the stream associated with the writer... More...
|
|
Definition at line 37 of file PrintWriter.hpp.
◆ PrintWriter()
xalanc::PrintWriter::PrintWriter |
( |
bool |
fAutoFlush = false , |
|
|
MemoryManager &theManager |
XALAN_DEFAULT_MEMMGR |
|
) |
| |
Constructor.
- Parameters
-
fAutoFlush | if true, the output will not be buffered |
◆ ~PrintWriter()
virtual xalanc::PrintWriter::~PrintWriter |
( |
| ) |
|
|
virtual |
◆ checkError()
virtual bool xalanc::PrintWriter::checkError |
( |
| ) |
const |
|
pure virtual |
◆ close()
virtual void xalanc::PrintWriter::close |
( |
| ) |
|
|
pure virtual |
◆ flush()
virtual void xalanc::PrintWriter::flush |
( |
| ) |
|
|
pure virtual |
◆ getMemoryManager()
MemoryManager& xalanc::PrintWriter::getMemoryManager |
( |
| ) |
|
|
inline |
◆ print() [1/8]
virtual void xalanc::PrintWriter::print |
( |
bool |
b | ) |
|
|
pure virtual |
◆ print() [2/8]
virtual void xalanc::PrintWriter::print |
( |
char |
c | ) |
|
|
pure virtual |
◆ print() [3/8]
virtual void xalanc::PrintWriter::print |
( |
const char * |
s, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
pure virtual |
◆ print() [4/8]
◆ print() [5/8]
◆ print() [6/8]
virtual void xalanc::PrintWriter::print |
( |
double |
d | ) |
|
|
pure virtual |
◆ print() [7/8]
virtual void xalanc::PrintWriter::print |
( |
XMLInt32 |
i | ) |
|
|
pure virtual |
◆ print() [8/8]
virtual void xalanc::PrintWriter::print |
( |
XMLInt64 |
l | ) |
|
|
pure virtual |
◆ println() [1/9]
virtual void xalanc::PrintWriter::println |
( |
| ) |
|
|
pure virtual |
◆ println() [2/9]
virtual void xalanc::PrintWriter::println |
( |
bool |
b | ) |
|
|
pure virtual |
◆ println() [3/9]
virtual void xalanc::PrintWriter::println |
( |
char |
x | ) |
|
|
pure virtual |
◆ println() [4/9]
virtual void xalanc::PrintWriter::println |
( |
const char * |
s, |
|
|
size_t |
theLength = npos |
|
) |
| |
|
pure virtual |
◆ println() [5/9]
◆ println() [6/9]
◆ println() [7/9]
virtual void xalanc::PrintWriter::println |
( |
double |
x | ) |
|
|
pure virtual |
◆ println() [8/9]
virtual void xalanc::PrintWriter::println |
( |
XMLInt32 |
x | ) |
|
|
pure virtual |
◆ println() [9/9]
virtual void xalanc::PrintWriter::println |
( |
XMLInt64 |
x | ) |
|
|
pure virtual |
◆ write() [1/4]
virtual void xalanc::PrintWriter::write |
( |
const char * |
s, |
|
|
size_t |
theOffset = 0 , |
|
|
size_t |
theLength = npos |
|
) |
| |
|
pure virtual |
◆ write() [2/4]
◆ write() [3/4]
◆ write() [4/4]
virtual void xalanc::PrintWriter::write |
( |
XalanDOMChar |
c | ) |
|
|
pure virtual |
◆ m_fAutoFlush
const bool xalanc::PrintWriter::m_fAutoFlush |
|
protected |
◆ m_memoryManager
MemoryManager& xalanc::PrintWriter::m_memoryManager |
|
protected |
◆ s_falseString
const XalanDOMChar xalanc::PrintWriter::s_falseString[] |
|
staticprotected |
◆ s_newlineString
const XalanDOMChar xalanc::PrintWriter::s_newlineString[] |
|
staticprotected |
◆ s_trueString
const XalanDOMChar xalanc::PrintWriter::s_trueString[] |
|
staticprotected |
The documentation for this class was generated from the following file: