Table functions unavailable for UI tables
-
It seems some of the functions available for
Tables
andTable Processors
are not available forScriptTables
. Has this always been the case? I think some of these functions need to be available to UI tables.HiseSnippet 819.3ocsUstaSCCE1tqdrTXHlDO.Q8WYRipVXLPbQLZ6JpB5VEcLw+l7bbasVhcThyFUn8TvaDuC7dva.bbb5Z1VUYqRzeTkykuy4y9bw8iULdRhJFgcNbRDGge.YvDodbqwTgD0sMB+PROZhlG6ZU0bRDMIg6iv3U9fQA1oLJ62ueWSZ.Ux3yTgPGoDL9mDgB8Ls828ihffNTe9ghvBdu8tcYJYKUfJE3yJj5nHJ6T5H99TiakHH7p64Kzp3AZplm.9zT4OYvX04Rq+GIRDmDvMBMPCf.YUiZMVD32e5YMAgvk6O6juh8j+XROgu3R8ytAdTlA2YHJdGfKsHJ03NPIbAJU1RoMHCXwhH8LKF9beRWITPFRgq5hTw5KpzOvjVJvCotVH8TdmXP3RDd6Tu9Vtvea95JUfq6Ds6YzX2Co.Ia39V2oHGw0sTgQJIH3U0ZtpAiPFHjb2goRlVnjtJYyTsVIaXPFqB7XSgsED4fT9lU9dEGwPWubIGGazpEyS3ZOHlW.gc94MOzU2rVhQeVBZQCBNAZL7tdlgHUfU6qz7CjdYYuxEUbutogCmqs7XEvimqYSGa7h.5ISCOgGW7rabDJoWsOY0aWeBydsTvQkrqTnOHhmK2QE3ap+luuYWEJ+dE95KcaS0TSiVtNvuHdrVXnCtM+LXR0114PZySNUqhfgtKKFH78zYVWOuoLqJhDPpWiXqnnugvD7qfbMw7wafONW3qGaD9IFgFyEiFqMRUAoD5Y7tx9YcAl1WTgTspMUOLOU15bVtbH4Ecax5hyS1ulSDEI8TgP7nwfK3RnaNfAi1J+z.p9py6lEa4Ffh6UFxLCRxDgdRwEe2gk.0W3RfaKE2fzWnYimOGKMGNBk8+GbLe045j8FNjyzyHXYRmutr6I+Go+ypTsPNpGUGKL8.6mFN.dwfwgrKk7fDS6PISquUttQ1bCLfK8yD9C7K2XCiLN2XioFQgTVr5Xlcj1rbdsLM.mjYuE4.OJBxtMPYi4.NR8Z0Qgv6DGyXli+Sfow4i4oKAlmsDX1dIv77k.yNKAlWrDXd4BwXdh98oZUncb.Tzeur8cX7dRy1ortPzewpBA2j
-
I've tried creating a function that returns the table or tableprocessor of the scripttable, HISE compiles and lets me call my function, but still none of the table/tableprocessor functions are available. Any ideas?
These are the two I tried:
var ScriptingApi::Content::ScriptTable::asTable() { if (auto t = getCachedTable()) return var(t); }
var ScriptingApi::Content::ScriptTable::asTable() { if (auto t = getCachedTable()) { ScriptingObjects::ScriptingTableProcessor *st = dynamic_cast<ScriptingObjects::ScriptingTableProcessor*>(t); return var(st); } }