10 #include "TTFoundationAPI.h"
15 int main(
int argc,
const char * argv[])
19 std::cout <<
"BEGIN testing for AudioGraph...\n";
25 TTValue testClassesWithTheseTags(
TT(
"audioGraphLibrary"));
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());
43 std::cout <<
"END testing of AudioGraph!\n";
Jamoma Asynchronous Object Graph Layer.
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...
Registers classes for the primary AudioGraph library.
#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...
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.
[doxygenAppendixC_copyExample]