#include <iostream>#include <ctime>#include <fstream>#include <sstream>#include <streambuf>#include <boost/logic/tribool.hpp>#include "zypp/base/Logger.h"#include "zypp/CapFactory.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 "zypp/repo/ScriptProvider.h"#include "serialize.h"#include "xml_escape_parser.hpp"Go to the source code of this file.
Namespaces | |
| namespace | zypp |
| namespace | zypp::storage |
Functions | |
| static void | zypp::storage::copyFileToStream (const Pathname &file_r, std::ostream &out_r) |
| static string | zypp::storage::xml_escape (const string &text) |
| static string | zypp::storage::xml_tag_enclose (const string &text, const string &tag, bool escape=false) |
| static ostream & | zypp::storage::operator<< (ostream &str, const boost::tribool obj) |
| static string | zypp::storage::translatedTextToXML (const TranslatedText &text, const string &tagname) |
| helper function that builds <tagname lang="code">text</tagname> | |
| template<class T> | |
| string | zypp::storage::toXML (const T &obj) |
| template<> | |
| string | zypp::storage::toXML (const Edition &edition) |
| template<> | |
| string | zypp::storage::toXML (const Arch &arch) |
| template<> | |
| string | zypp::storage::toXML (const Capability &cap) |
| template<> | |
| string | zypp::storage::toXML (const CapSet &caps) |
| template<> | |
| string | zypp::storage::toXML (const Dependencies &dep) |
| template<> | |
| string | zypp::storage::toXML (const Resolvable::constPtr &obj) |
| Serialize Resolvable properties NOTE: This wont serialize child classes properties Use castedToXML for that. | |
| string | zypp::storage::castedToXML (const Resolvable::constPtr &ret) |
| Serialize properties based in the specific kind of the Resolvable. | |
| string | zypp::storage::resolvableTypeToString (const Resolvable::constPtr &resolvable, bool plural=false) |
| lack of instrospection sucks | |
| string | zypp::storage::resolvableKindToString (const Resolvable::Kind &kind, bool plural=false) |
| lack of instrospection sucks | |
Definition in file serialize.cc.
1.5.3