25#ifndef __DOTS_UTILITIES_H__
26#define __DOTS_UTILITIES_H__
42 typedef std::shared_ptr<Object>
ObjectPtr;
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
std::shared_ptr< const Object > ObjectConstPtr
A smart pointer to a const Object.
Definition Object.h:47
std::vector< char > Binary
A type to contain binary data.
Definition Defs.h:306
std::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition Object.h:44
DOTS_CPP_API const std::string BinaryToBase64(char const *const binarySource, int sourceSize)
Converts binary data to Base64.
DOTS_CPP_API void Base64ToBinary(const std::string &base64Str, Dob::Typesystem::Binary &binary)
Converts data in Base64 format into binary data format.
DOTS_CPP_API const std::string ToUtf8(const std::wstring &wstr)
Convert a std::wstring to UTF8-encoded std::string.
DOTS_CPP_API const std::wstring ToWstring(const std::string &str)
Convert a UTF8-encoded std::string to std::wstring.
DOTS_CPP_API void MergeChanges(ObjectPtr into, const ObjectConstPtr &from)
Merge the changed members (recursively) from one object into another.
#define DOTS_CPP_API
Definition Defs.h:33