Robotics Library  0.7.0
Public Member Functions | Private Attributes | List of all members
rl::xml::Stylesheet Class Reference

#include <Stylesheet.h>

Public Member Functions

 Stylesheet ()
 
 Stylesheet (::xsltStylesheetPtr stylesheet)
 
 Stylesheet (Document &document)
 
 Stylesheet (const ::std::string &filename)
 
 ~Stylesheet ()
 
Document apply ()
 
Document apply (const ::std::map< ::std::string, ::std::string > &parameters)
 
Document apply (const Document &document)
 
Document apply (const Document &document, const ::std::map< ::std::string, ::std::string > &parameters)
 
::std::string dumpFormatMemory (const bool &format) const
 
::std::string dumpMemory () const
 
::xsltStylesheetPtr get () const
 
::std::string getEncoding () const
 
Node getRootElement () const
 
::std::string getVersion () const
 
::xsltStylesheet & operator* () const
 
void save (const ::std::string &filename, const bool &format=true) const
 
void save (const ::std::string &filename, const ::std::string &encoding, const bool &format=true) const
 
int substitute (const int &flags=0)
 

Private Attributes

::std::shared_ptr< ::xsltStylesheet > stylesheet
 

Constructor & Destructor Documentation

◆ Stylesheet() [1/4]

rl::xml::Stylesheet::Stylesheet ( )
inlineexplicit

◆ Stylesheet() [2/4]

rl::xml::Stylesheet::Stylesheet ( ::xsltStylesheetPtr  stylesheet)
inlineexplicit

◆ Stylesheet() [3/4]

rl::xml::Stylesheet::Stylesheet ( Document document)
inlineexplicit

◆ Stylesheet() [4/4]

rl::xml::Stylesheet::Stylesheet ( const ::std::string &  filename)
inlineexplicit

◆ ~Stylesheet()

rl::xml::Stylesheet::~Stylesheet ( )
inline

Member Function Documentation

◆ apply() [1/4]

Document rl::xml::Stylesheet::apply ( )
inline

◆ apply() [2/4]

Document rl::xml::Stylesheet::apply ( const ::std::map< ::std::string, ::std::string > &  parameters)
inline

◆ apply() [3/4]

Document rl::xml::Stylesheet::apply ( const Document document)
inline

◆ apply() [4/4]

Document rl::xml::Stylesheet::apply ( const Document document,
const ::std::map< ::std::string, ::std::string > &  parameters 
)
inline

◆ dumpFormatMemory()

::std::string rl::xml::Stylesheet::dumpFormatMemory ( const bool &  format) const
inline

◆ dumpMemory()

::std::string rl::xml::Stylesheet::dumpMemory ( ) const
inline

◆ get()

::xsltStylesheetPtr rl::xml::Stylesheet::get ( ) const
inline

◆ getEncoding()

::std::string rl::xml::Stylesheet::getEncoding ( ) const
inline

◆ getRootElement()

Node rl::xml::Stylesheet::getRootElement ( ) const
inline

◆ getVersion()

::std::string rl::xml::Stylesheet::getVersion ( ) const
inline

◆ operator*()

::xsltStylesheet& rl::xml::Stylesheet::operator* ( ) const
inline

◆ save() [1/2]

void rl::xml::Stylesheet::save ( const ::std::string &  filename,
const ::std::string &  encoding,
const bool &  format = true 
) const
inline

◆ save() [2/2]

void rl::xml::Stylesheet::save ( const ::std::string &  filename,
const bool &  format = true 
) const
inline

◆ substitute()

int rl::xml::Stylesheet::substitute ( const int &  flags = 0)
inline

Member Data Documentation

◆ stylesheet

::std::shared_ptr< ::xsltStylesheet> rl::xml::Stylesheet::stylesheet
private

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