12#ifndef ZYPP_PARSER_XML_XMLSTRING_H 
   13#define ZYPP_PARSER_XML_XMLSTRING_H 
   46        { xmlFree( (
void*)(xmlstr_r) ); }
 
 
 
   57      XmlString( 
const xmlChar *
const xmlstr_r = NULL,
 
   58                 OnDelete ondelete_r           = NOFREE );
 
   61      const xmlChar * 
get()
 const 
 
   69      operator const xmlChar * () 
const 
 
   74      { 
return reinterpret_cast<const char *const
>(
get()); }
 
 
   85      { 
return( rhs == 
c_str() ); }
 
 
   88      { 
return( rhs != 
c_str() ); }
 
 
 
XmlString(const xmlChar *const xmlstr_r=NULL, OnDelete ondelete_r=NOFREE)
Ctor from xmlChar.
bool operator==(const std::string &rhs) const
shared_ptr< const xmlChar > _xmlstr
Wraps the xmlChar *.
std::string asString() const
Explicit conversion to std::string.
bool operator!=(const std::string &rhs) const
bool operator==(const XmlString &rhs) const
const xmlChar * get() const
Access the xmlChar *.
const char * c_str() const
Explicit conversion to const char *.
bool operator!=(const XmlString &rhs) const
bool operator==(const char *const rhs) const
XmlString(const xmlChar *const xmlstr_r=NULL, OnDelete ondelete_r=NOFREE)
Ctor from xmlChar.
bool operator!=(const char *const rhs) const
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const ReadState &obj)
Easy-to use interface to the ZYPP dependency resolver.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
shared_ptr custom deleter calling xmlFree.
void operator()(const xmlChar *xmlstr_r) const