UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes

Unigine::Reflection Class

Header: #include <UnigineInterpreter.h>

This class is used to create reflections for user or extern classes and namespaces. It allows you to get names and custom attribute strings for all variables, arrays, user classes and namespaces within it. Such attributes can be used for smart automatic code generation for GUI or any game logic. For example, it is possible to get attributes, parse them in the required way, and feed them to the Expression which will compile the resulting code.

Reflection Class

Members


Reflection ( void * interpreter, const Variable & v ) #

Arguments

  • void * interpreter
  • const Variable & v

int getNumFunctionDefaultArgs ( int num ) #

Arguments

  • int num

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7

Variable callExternClassFunction ( Variable object, const char * function, int num_args, const Variable * args ) #

Arguments

  • Variable object
  • const char * function
  • int num_args
  • const Variable * args

Variable callExternClassFunction ( Variable object, int function ) #

Arguments

  • Variable object
  • int function

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5

Variable callExternClassFunction ( Variable object, int function, int num_args, const Vector<Variable> & args ) #

Arguments

  • Variable object
  • int function
  • int num_args
  • const Vector<Variable> & args

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2

Variable callExternClassFunction ( Variable object, const char * function ) #

Arguments

  • Variable object
  • const char * function

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4

Variable callExternClassFunction ( Variable object, const char * function, int num_args, const Vector<Variable> & args ) #

Arguments

  • Variable object
  • const char * function
  • int num_args
  • const Vector<Variable> & args

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3

Variable callExternClassFunction ( Variable object, const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7, const Variable & arg8 ) #

Arguments

  • Variable object
  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7
  • const Variable & arg8

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7, const Variable & arg8 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7
  • const Variable & arg8

Variable callExternClassFunction ( Variable object, int function, int num_args, const Variable * args ) #

Arguments

  • Variable object
  • int function
  • int num_args
  • const Variable * args

Variable callExternClassFunction ( Variable object, int function, const Variable & arg0, const Variable & arg1 ) #

Arguments

  • Variable object
  • int function
  • const Variable & arg0
  • const Variable & arg1

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7

Variable callExternFunction ( const char * function, int num_args, const Vector<Variable> & args ) #

Arguments

  • const char * function
  • int num_args
  • const Vector<Variable> & args

Variable callExternFunction ( int function, int num_args, const Variable * args ) #

Arguments

  • int function
  • int num_args
  • const Variable * args

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4

Variable callExternFunction ( const char * function ) #

Arguments

  • const char * function

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7, const Variable & arg8 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7
  • const Variable & arg8

Variable callExternFunction ( const char * function, const Variable & arg0 ) #

Arguments

  • const char * function
  • const Variable & arg0

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2

Variable callExternFunction ( int function, const Variable & arg0 ) #

Arguments

  • int function
  • const Variable & arg0

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7, const Variable & arg8 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7
  • const Variable & arg8

Variable callExternFunction ( int function, int num_args, const Vector<Variable> & args ) #

Arguments

  • int function
  • int num_args
  • const Vector<Variable> & args

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3

Variable callExternFunction ( const char * function, int num_args, const Variable * args ) #

Arguments

  • const char * function
  • int num_args
  • const Variable * args

Variable callExternFunction ( int function ) #

Arguments

  • int function

Variable callExternFunction ( const char * function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6, const Variable & arg7 ) #

Arguments

  • const char * function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6
  • const Variable & arg7

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1, const Variable & arg2, const Variable & arg3, const Variable & arg4, const Variable & arg5, const Variable & arg6 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1
  • const Variable & arg2
  • const Variable & arg3
  • const Variable & arg4
  • const Variable & arg5
  • const Variable & arg6

Variable callExternFunction ( int function, const Variable & arg0, const Variable & arg1 ) #

Arguments

  • int function
  • const Variable & arg0
  • const Variable & arg1

int reflect ( void * interpreter, const Variable & v ) #

Arguments

  • void * interpreter
  • const Variable & v
Last update: 2017-07-03