Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Serialization.h File Reference
#include <string>
#include <vector>
#include <sstream>
#include <Safir/Dob/Typesystem/ToolSupport/ParseError.h>
#include <Safir/Dob/Typesystem/ToolSupport/Internal/BasicTypeOperations.h>
#include <Safir/Dob/Typesystem/ToolSupport/Internal/BlobToXmlSerializer.h>
#include <Safir/Dob/Typesystem/ToolSupport/Internal/BlobToJsonSerializer.h>
#include <Safir/Dob/Typesystem/ToolSupport/Internal/XmlToBlobSerializer.h>
#include <Safir/Dob/Typesystem/ToolSupport/Internal/JsonToBlobSerializer.h>
#include <Safir/Dob/Typesystem/ToolSupport/Internal/RepositoryToStringHelper.h>
Include dependency graph for Serialization.h:

Go to the source code of this file.

Namespaces

 Safir
 Safir.
 
 Safir::Dob
 Dob.
 
 Safir::Dob::Typesystem
 This namespace contains the DOB Typesystem functionality and definitions.
 
 Safir::Dob::Typesystem::ToolSupport
 

Functions

void Safir::Dob::Typesystem::ToolSupport::BinaryToBase64 (const char *binary, size_t size, std::ostringstream &base64)
 Encodes binary data to base64. More...
 
void Safir::Dob::Typesystem::ToolSupport::Base64ToBinary (const std::string &base64Str, std::vector< char > &binary)
 Decodes base64 data into binary data. More...
 
template<class RepositoryT >
void Safir::Dob::Typesystem::ToolSupport::BinaryToXml (const RepositoryT *repository, const char *blob, std::ostringstream &xml)
 Serializes binary representation of an object to xml. More...
 
template<class RepositoryT >
void Safir::Dob::Typesystem::ToolSupport::XmlToBinary (const RepositoryT *repository, const char *xml, std::vector< char > &binary)
 Converts a xml representation of an object to binary form. More...
 
template<class RepositoryT >
void Safir::Dob::Typesystem::ToolSupport::BinaryToJson (const RepositoryT *repository, const char *blob, std::ostringstream &json)
 Serializes binary representation of an object to json. More...
 
template<class RepositoryT >
void Safir::Dob::Typesystem::ToolSupport::JsonToBinary (const RepositoryT *repository, const char *json, std::vector< char > &binary)
 Converts a json representation of an object to binary form. More...
 
template<class RepositoryT >
void Safir::Dob::Typesystem::ToolSupport::RepositoryToString (const RepositoryT *repository, bool includeCreateRoutines, std::ostream &os)
 Writes a complete text description of a type repository and all of its content. More...
 
template<class RepositoryT >
void Safir::Dob::Typesystem::ToolSupport::TypeToString (const RepositoryT *repository, DotsC_TypeId typeId, std::ostream &os)
 Writes a complete text description of a type. More...