13 #include "TTFoundationAPI.h"
17 int main(
int argc,
const char * argv[])
19 std::cout <<
"BEGIN testing for GeneratorLib...\n";
25 TTValue testClassesWithTheseTags(
TT(
"dspGeneratorLib"));
28 for (
int i=0; i<classNames.
size(); i++) {
33 std::cout <<
"TESTING " << name.string() << std::endl;
37 TTLogMessage(
"UnitTest Failure to instantiate object of class %s! \n", name.
c_str());
42 std::cout <<
"END testing of GeneratorLib!\n";
Create and use Jamoma object instances.
size_type size() const noexcept
Return the number of elements.
static TTErr GetRegisteredClassNamesForTags(TTValue &classNames, const TTValue &searchTags)
Query TTEnvironment for names of all registered TTObjectBase classes that share specific tags...
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_GeneratorLib(void)
Register the classes of this extension.
const char * c_str() const
Return a pointer to the internal string as a C-string.
void TTFOUNDATION_EXPORT TTLogMessage(TTImmutableCString message,...)
Platform and host independent method for posting log messages.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
[doxygenAppendixC_copyExample]