RigsofRods
Soft-body Physics Simulation
Data Structures | Namespaces | Functions
ScriptUtils.h File Reference
#include <angelscript.h>
#include "scriptdictionary/scriptdictionary.h"
#include "scriptarray/scriptarray.h"
#include "scriptbuilder/scriptbuilder.h"
#include <list>
#include <map>
#include <string>
#include <vector>
+ Include dependency graph for ScriptUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  RoR::CReadonlyScriptDictView< T >
 
class  RoR::CReadonlyScriptArrayView< T >
 

Namespaces

 RoR
 

Functions

template<typename T >
AngelScript::CScriptArray * RoR::VectorToScriptArray (const std::vector< T > &vec, const std::string &decl)
 
template<typename T , typename U >
AngelScript::CScriptArray * RoR::MapToScriptArray (std::map< T, U > &map, const std::string &decl)
 
template<typename ItorT >
AngelScript::CScriptArray * RoR::IterableMapToScriptArray (ItorT begin, ItorT end, const std::string &decl)
 
template<typename ItorT >
AngelScript::CScriptArray * RoR::IterableListToScriptArray (ItorT begin, ItorT end, const std::string &decl)
 
template<typename T >
bool RoR::GetValueFromScriptDict (const std::string &log_msg, AngelScript::CScriptDictionary *dict, bool required, std::string const &key, const char *decl, T &out_value)
 
template<class A , class B >
B * RoR::ScriptRefCast (A *a)
 
template<class A , class B >
B * RoR::ScriptRefCastNoCount (A *a)