XML Stylesheet entry. More...
#include <xmlstorage.h>
Public Member Functions | |
StyleSheet () | |
StyleSheet (const std::string &href, const std::string &type="text/xsl", bool alternate=false) | |
bool | empty () const |
void | print (std::ostream &out) const |
Public Attributes | |
std::string | _href |
std::string | _type |
std::string | _title |
std::string | _media |
std::string | _charset |
bool | _alternate |
XML Stylesheet entry.
Definition at line 919 of file xmlstorage.h.
XMLStorage::StyleSheet::StyleSheet | ( | ) | [inline] |
Definition at line 928 of file xmlstorage.h.
: _alternate(false) {}
XMLStorage::StyleSheet::StyleSheet | ( | const std::string & | href, |
const std::string & | type = "text/xsl" , |
||
bool | alternate = false |
||
) | [inline] |
Definition at line 930 of file xmlstorage.h.
: _href(href), _type(type), _alternate(alternate) { }
bool XMLStorage::StyleSheet::empty | ( | ) | const [inline] |
void XMLStorage::StyleSheet::print | ( | std::ostream & | out ) | const |
Definition at line 864 of file xmlstorage.cpp.
{ out << "<?xml-stylesheet" " href=\"" << _href << "\"" " type=\"" << _type << "\""; if (!_title.empty()) out << " title=\"" << _title << "\""; if (!_media.empty()) out << " media=\"" << _media << "\""; if (!_charset.empty()) out << " charset=\"" << _charset << "\""; if (_alternate) out << " alternate=\"yes\""; out << "?>"; }
Definition at line 926 of file xmlstorage.h.
std::string XMLStorage::StyleSheet::_charset |
Definition at line 925 of file xmlstorage.h.
Referenced by XMLStorage::ParseContext::process_next().
std::string XMLStorage::StyleSheet::_href |
Definition at line 921 of file xmlstorage.h.
Referenced by empty().
std::string XMLStorage::StyleSheet::_media |
Definition at line 924 of file xmlstorage.h.
Referenced by XMLStorage::ParseContext::process_next().
std::string XMLStorage::StyleSheet::_title |
Definition at line 923 of file xmlstorage.h.
Referenced by XMLStorage::ParseContext::process_next().
std::string XMLStorage::StyleSheet::_type |
Definition at line 922 of file xmlstorage.h.
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |