libxspf  1.2.0
Public Member Functions | List of all members
XspfIndentFormatter Class Reference

#include <XspfIndentFormatter.h>

Inheritance diagram for XspfIndentFormatter:
Inheritance graph
[legend]
Collaboration diagram for XspfIndentFormatter:
Collaboration graph
[legend]

Public Member Functions

 XspfIndentFormatter (int shift=0)
 
 XspfIndentFormatter (XspfIndentFormatter const &source)
 
XspfIndentFormatteroperator= (XspfIndentFormatter const &source)
 
 ~XspfIndentFormatter ()
 
- Public Member Functions inherited from XspfXmlFormatter
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 Public Attributes inherited from XspfXmlFormatter
static XML_Char const *const namespaceKey
 Namespace key pointer.
 
- Protected Member Functions inherited from XspfXmlFormatter
 XspfXmlFormatter ()
 
 XspfXmlFormatter (XspfXmlFormatter const &source)
 
XspfXmlFormatteroperator= (XspfXmlFormatter const &source)
 
virtual ~XspfXmlFormatter ()
 
virtual void writeXmlDeclaration ()
 
std::basic_ostringstream< XML_Char > *& getOutput ()
 

Detailed Description

Outputs XML with proper indentation and newlines. The finishing newline is optional.

Definition at line 63 of file XspfIndentFormatter.h.

Constructor & Destructor Documentation

◆ XspfIndentFormatter() [1/2]

XspfIndentFormatter ( int  shift = 0)

Creates a new XspfIndentFormatter object with custom indent shift.

Parameters
shiftNon-positive indent shift (-2 will create two tabs less)

◆ XspfIndentFormatter() [2/2]

Copy constructor.

Parameters
sourceSource to copy from

◆ ~XspfIndentFormatter()

Destroys this XspfIndentFormatter object and deletes all memory associated with it.

Member Function Documentation

◆ operator=()

XspfIndentFormatter& operator= ( XspfIndentFormatter const &  source)

Assignment operator.

Parameters
sourceSource to copy from

The documentation for this class was generated from the following file: