ZeroErr
zeroerr::detail::XmlEncode Class Reference

Public Types

enum  ForWhat { ForTextNodes , ForAttributes }
 

Public Member Functions

 XmlEncode (const std::string &str, ForWhat forWhat=ForTextNodes)
 
void encodeTo (std::ostream &os) const
 

Friends

std::ostream & operator<< (std::ostream &os, const XmlEncode &xmlEncode)
 

Member Enumeration Documentation

◆ ForWhat

Enumerator
ForTextNodes 
ForAttributes 

Constructor & Destructor Documentation

◆ XmlEncode()

zeroerr::detail::XmlEncode::XmlEncode ( const std::string &  str,
ForWhat  forWhat = ForTextNodes 
)

Member Function Documentation

◆ encodeTo()

void zeroerr::detail::XmlEncode::encodeTo ( std::ostream &  os) const

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const XmlEncode xmlEncode 
)
friend

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