66 static std::vector<Entry> sFunctions;
Reference-counted array of script data nodes.
Definition dataarray.h:20
Registry of the C++ routines a script command can call by name.
Definition scriptfunction.h:13
static void Register(Handler pfnHandler, const char *pszName, void *pUserData)
Add a command to the registry.
void(* Handler)(DataArray *pCommand, void *pUserData)
Routine a script command calls.
Definition scriptfunction.h:23
static bool Dispatch(DataArray *pCommand)
Run a script command through the routine registered for its name.
static void Unregister(Handler pfnHandler)
Remove the command that calls a routine.
Growable text buffer that is also a PrnStream.
Definition string.h:19