Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Utilities.h File Reference
#include <Safir/Dob/Typesystem/Defs.h>
#include <string>
#include <boost/shared_ptr.hpp>
Include dependency graph for Utilities.h:
This graph shows which files directly or indirectly include this file:

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::Utilities
 Utility functions for users of the DOB type system.
 

Functions

DOTS_CPP_API const std::string Safir::Dob::Typesystem::Utilities::ToUtf8 (const std::wstring &wstr)
 Convert a std::wstring to UTF8-encoded std::string. More...
 
DOTS_CPP_API const std::wstring Safir::Dob::Typesystem::Utilities::ToWstring (const std::string &str)
 Convert a UTF8-encoded std::string to std::wstring. More...
 
DOTS_CPP_API void Safir::Dob::Typesystem::Utilities::MergeChanges (ObjectPtr into, const ObjectPtr from)
 Merge the changed members (recursively) from one object into another. More...
 
DOTS_CPP_API const std::string Safir::Dob::Typesystem::Utilities::BinaryToBase64 (char const *const binarySource, int sourceSize)
 Converts binary data to Base64. More...
 
DOTS_CPP_API const std::string Safir::Dob::Typesystem::Utilities::BinaryToBase64 (const Dob::Typesystem::Binary &bin)
 Converts binary data to Base64. More...
 
DOTS_CPP_API void Safir::Dob::Typesystem::Utilities::Base64ToBinary (const std::string &base64Str, Dob::Typesystem::Binary &binary)
 Converts data in Base64 format into binary data format. More...