Jamba C++ API  4.1.0
Utils.h File Reference
#include "../Types.h"
#include <string>
#include <codecvt>
#include <locale>
#include <sstream>
#include <pluginterfaces/base/ftypes.h>
#include <pongasoft/Utils/Metaprogramming.h>

Go to the source code of this file.

Namespaces

 pongasoft
 
 pongasoft::VST
 
 pongasoft::VST::VstUtils
 

Functions

template<typename T , typename... Args>
std::shared_ptr< T > make_sfo (Args &&...iArgs)
 The VST SDK uses the concept of FObject (which are self contained reference counted objects) but require to be manually managed (by calling addRef and release). More...
 
std::string toUT8String (VstString16 const &iString)
 Converts a VstString16 to a regular std::string that is properly utf-8 encoded. More...
 
template<typename T >
std::string toUTF8String (T const &iValue, Steinberg::int32 iPrecision)
 This generic function will determine (at compilation time) whether T can be written to an ostream and if that is the case, will use this information to build the string. More...