Go to the source code of this file.
Functions | |
template<typename T > | |
void | constructor (void *memory) |
An AngelScript wrapper function so that rect<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | constructor (const position2d< T > &pos, const dimension2d< T > &size, void *memory) |
An AngelScript wrapper function so that rect<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | constructor (const position2d< T > &upperLeft, const position2d< T > &lowerRight, void *memory) |
An AngelScript wrapper function so that rect<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | deconstructor (void *memory) |
An AngelScript wrapper function so that rect<T> objects can be deconstructed within AngelScript. | |
template<typename T > | |
int | compare (const rect< T > &a, const rect< T > &b) |
An AngelScript wrapper function that rect<T> objects can be compared. | |
template<typename T > | |
void | bindRectT (asIScriptEngine *engine, const char *typeName, const char *asType) |
Binds rect<T> as a value type to AngelScript with the given template. | |
void | bindRect (asIScriptEngine *engine) |
Binds all needed rect<T> objects to AngelScript. | |
std::string | getRectName (const std::string &asType) |
Gets the name of the rect<T> registered within AngelScript. |
void bindRect | ( | asIScriptEngine * | engine | ) |
Binds all needed rect<T> objects to AngelScript.
engine | Pointer to the AngelScript engine; |
Definition at line 220 of file asRect.cpp.
void bindRectT | ( | asIScriptEngine * | engine, | |
const char * | typeName, | |||
const char * | asType | |||
) | [inline] |
Binds rect<T> as a value type to AngelScript with the given template.
engine | Pointer to the AngelScript engine | |
typeName | The name of the object within AngelScript; | |
asType | The AngelScript name of the used template; |
Definition at line 79 of file asRect.cpp.
int compare | ( | const rect< T > & | a, | |
const rect< T > & | b | |||
) | [inline] |
An AngelScript wrapper function that rect<T> objects can be compared.
Definition at line 66 of file asRect.cpp.
void constructor | ( | const position2d< T > & | upperLeft, | |
const position2d< T > & | lowerRight, | |||
void * | memory | |||
) | [inline] |
An AngelScript wrapper function so that rect<T> objects can be constructed within AngelScript.
Definition at line 49 of file asRect.cpp.
void constructor | ( | const position2d< T > & | pos, | |
const dimension2d< T > & | size, | |||
void * | memory | |||
) | [inline] |
An AngelScript wrapper function so that rect<T> objects can be constructed within AngelScript.
Definition at line 40 of file asRect.cpp.
void constructor | ( | void * | memory | ) | [inline] |
An AngelScript wrapper function so that rect<T> objects can be constructed within AngelScript.
Definition at line 31 of file asRect.cpp.
void deconstructor | ( | void * | memory | ) | [inline] |
An AngelScript wrapper function so that rect<T> objects can be deconstructed within AngelScript.
Definition at line 58 of file asRect.cpp.
std::string getRectName | ( | const std::string & | asType | ) |
Gets the name of the rect<T> registered within AngelScript.
asType | The AngelScript name of the used template; |
Definition at line 228 of file asRect.cpp.