25 #ifndef __DOTS_UTILITIES_H__
26 #define __DOTS_UTILITIES_H__
30 #include <boost/shared_ptr.hpp>
42 typedef boost::shared_ptr<Object>
ObjectPtr;
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition: Backdoor.h:30
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
#define DOTS_CPP_API
Definition: Defs.h:33
std::vector< char > Binary
A type to contain binary data.
Definition: Defs.h:299
DOTS_CPP_API void MergeChanges(ObjectPtr into, const ObjectPtr from)
Merge the changed members (recursively) from one object into another.
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.
Definition: Serialization.h:69
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.