|
GL Studio C++ Runtime API
|
#include <traverser.h>
Public Types | |
| typedef void(T::* | void_CallMethod_void) () |
| Typedef for a function pointer with no arguments or return value. | |
| typedef void(T::* | void_CallMethod_argType) (argType) |
| Typedef for a function pointer taking one argument and no return value. | |
| typedef void(T::* | void_CallMethod_argType_arg2Type) (argType, arg2Type) |
| Typedef for a function pointer taking two arguments and no return value. | |
| typedef void(T::* | void_CallMethod_argTypeRef) (argType &) |
| Typedef for a function pointer taking one argument as a reference, no return value. | |
| typedef argType(T::* | argType_CallMethod_void) () |
| Typedef for a function pointer with no arguments, and has a return value. | |
| typedef GlsColor(T::* | GlsColor_CallMethod_void) () |
| Typedef for a function pointer that has no arguments, and returns a GlsColor. | |
Static Public Member Functions | |
| static bool | Contained (DisplayObject *obj, DisplayObject *findThis=nullptr) |
| static bool | ContainedNoChildren (Group *grp, DisplayObject *findThis=nullptr) |
| static Group * | AllMatchingNoChildren (Group *grp) |
| static T * | GetNth (DisplayObject *obj, const int n) |
| static T * | GetNthRecurse (DisplayObject *obj, int &n) |
| static Traverse::ResultEnum | GetValue (DisplayObject *obj, argType T::*variablePtr, argType &foundValue) |
| static bool | Call (DisplayObject *obj, void_CallMethod_void method) |
| static bool | Call (DisplayObject *obj, void_CallMethod_argType method, const argType arg1) |
| static bool | Call (DisplayObject *obj, void_CallMethod_argType_arg2Type method, argType arg1, arg2Type arg2) |
| static bool | Call (DisplayObject *obj, void_CallMethod_argTypeRef method, argType &arg1) |
| static argType | ReturnCall (DisplayObject *obj, argType_CallMethod_void method, const argType notFoundValue=argType(0), const argType multipleValue=argType(-1), bool *rvalFoundOne=nullptr) |
| static int | Call (DisplayObject *obj, GlsColor_CallMethod_void method, GlsColor &foundColor) |
The TraverseGroup class
| grp | The object to check within. |
|
inlinestatic |
GlsColor Method(void)
| obj | The object to locate, or group to search through. |
| method | The function pointer to call on said object. |
| foundColor | The returned located color. |
|
inlinestatic |
void Method(int)
| obj | The object to locate, or group to search through. |
| method | The function pointer to call on said object. |
| arg1 | The argument to pass through the function pointer. |
|
inlinestatic |
void Method(type,type)
| obj | The object to locate, or group to search through. |
| method | The function pointer to call on said object. |
| arg1 | The first argument to pass through the function pointer. |
| arg2 | The second argument to pass through the function pointer. |
|
inlinestatic |
void Method(int&)
| obj | The object to locate, or group to search through. |
| method | The function pointer to call on said object. |
| arg1 | The argument to pass through the function pointer. |
|
inlinestatic |
void Method()
| obj | The object to locate, or group to search through. |
| method | The function pointer to call on said object. |
|
inlinestatic |
Just to see if the object contains one of T.
| obj | The object to check within. |
| findThis | An optional specific object to check for. |
|
inlinestatic |
Like Contained(), but looks only one level deep.
| grp | The object to check within. |
| findThis | An optional specific object to check for. |
|
inlinestatic |
| obj | The object to check within. |
| n | The index to retrieve. |
|
inlinestatic |
Helper function for use with GetNth().
| obj | The object to check within. |
| n | The index to retrieve. |
|
inlinestatic |
T::variable
| obj | The object to locate, or group to search through. |
| variablePtr | The returned underlying storage of argType. |
| foundValue | The returned value of the underlying storage of argType. |
|
inlinestatic |
int Method(void)
| obj | The object to locate, or group to search through. |
| method | The function pointer to call on said object. |
| notFoundValue | The value to set if not found. |
| multipleValue | The value to set if multiple values are found. |
| rvalFoundOne | Used for recursion. |