libxspf
1.2.0
|
#include <XspfIndentFormatter.h>
Public Member Functions | |
XspfIndentFormatter (int shift=0) | |
XspfIndentFormatter (XspfIndentFormatter const &source) | |
XspfIndentFormatter & | operator= (XspfIndentFormatter const &source) |
~XspfIndentFormatter () | |
![]() | |
void | setOutput (std::basic_ostringstream< XML_Char > &output) |
void | writeStart (XML_Char const *ns, XML_Char const *localName, XML_Char const *const *atts, XML_Char const *const *nsRegs=NULL) |
void | writeEnd (XML_Char const *ns, XML_Char const *localName) |
void | writeHomeStart (XML_Char const *localName, XML_Char const *const *atts, XML_Char const *const *nsRegs=NULL) |
void | writeHomeEnd (XML_Char const *localName) |
void | writeCharacterData (XML_Char const *data) |
Additional Inherited Members | |
![]() | |
static XML_Char const *const | namespaceKey |
Namespace key pointer. | |
![]() | |
XspfXmlFormatter () | |
XspfXmlFormatter (XspfXmlFormatter const &source) | |
XspfXmlFormatter & | operator= (XspfXmlFormatter const &source) |
virtual | ~XspfXmlFormatter () |
virtual void | writeXmlDeclaration () |
std::basic_ostringstream< XML_Char > *& | getOutput () |
Outputs XML with proper indentation and newlines. The finishing newline is optional.
Definition at line 63 of file XspfIndentFormatter.h.
XspfIndentFormatter | ( | int | shift = 0 | ) |
Creates a new XspfIndentFormatter object with custom indent shift.
shift | Non-positive indent shift (-2 will create two tabs less) |
XspfIndentFormatter | ( | XspfIndentFormatter const & | source | ) |
Copy constructor.
source | Source to copy from |
~XspfIndentFormatter | ( | ) |
Destroys this XspfIndentFormatter object and deletes all memory associated with it.
XspfIndentFormatter& operator= | ( | XspfIndentFormatter const & | source | ) |
Assignment operator.
source | Source to copy from |