Functions
HelperFunctions Namespace Reference

Functions

size_t writeString (char *location, const char *content)
 
String createStringFromChar (const char *charFromOtherHeap, size_t length)
 
template<class T >
void registerDspModule ()
 

Detailed Description

Contains some helper functions that abstract gory details.

Function Documentation

size_t HelperFunctions::writeString ( char *  location,
const char *  content 
)

Writes the String literal 'content' into 'location' and returns the string length.

int stringLength = HelperFunctions::writeString(loc, "Gain"); // stringLength will be 4...
String HelperFunctions::createStringFromChar ( const char *  charFromOtherHeap,
size_t  length 
)

Creates a String from a different heap. This is rather slow because it makes a byte-wise copy of the other string, but better safe than sorry!

void HelperFunctions::registerDspModule ( )

Registeres the module passed in as template parameter.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.