serialize.cc File Reference

#include <iostream>
#include <ctime>
#include <fstream>
#include <sstream>
#include <streambuf>
#include "zypp/base/Logger.h"
#include "zypp/CapFactory.h"
#include "zypp/Source.h"
#include "zypp/Url.h"
#include "zypp/ResObject.h"
#include "zypp/detail/ImplConnect.h"
#include "zypp/detail/ResObjectImplIf.h"
#include "zypp/detail/SelectionImplIf.h"
#include "serialize.h"
#include "xml_escape_parser.hpp"

Go to the source code of this file.

Namespaces

namespace  zypp
namespace  zypp::storage

Functions

std::string zypp::storage::xml_escape (const std::string &text)
std::string zypp::storage::xml_tag_enclose (const std::string &text, const std::string &tag, bool escape=false)
static std::string zypp::storage::translatedTextToXML (const TranslatedText &text, const std::string &tagname)
 helper function that builds <tagname lang="code">text</tagname>
template<class T>
std::string zypp::storage::toXML (const T &obj)
template<>
std::string zypp::storage::toXML (const Edition &edition)
template<>
std::string zypp::storage::toXML (const Arch &arch)
template<>
std::string zypp::storage::toXML (const Capability &cap)
template<>
std::string zypp::storage::toXML (const CapSet &caps)
template<>
std::string zypp::storage::toXML (const Dependencies &dep)
template<>
std::string zypp::storage::toXML (const Resolvable::constPtr &obj)
 Serialize ResObject properties.
std::string zypp::storage::castedToXML (const Resolvable::constPtr &ret)
 Serialize properties based in the specific kind of the Resolvable.
std::string zypp::storage::resolvableTypeToString (const Resolvable::constPtr &resolvable, bool plural=false)
 lack of instrospection sucks
std::string zypp::storage::resolvableKindToString (const Resolvable::Kind &kind, bool plural=false)
 lack of instrospection sucks
template<>
std::string zypp::storage::toXML (const PersistentStorage::SourceData &obj)


Generated on Thu Jul 6 00:07:29 2006 for zypp by  doxygen 1.4.6