|
| TEV8COMMONEXPORT void | te::v8::common::Cache (::v8::Local<::v8::Object > &obj, const std::string &methodName,::v8::Persistent<::v8::Function > &outFtor) |
| | It caches the object method into the persistent output functor. More...
|
| |
| void | te::v8::common::Convert2Cpp (const ::v8::Local<::v8::Object > &jsmap, std::map< std::string, std::string > &cppmap) |
| | It converts the input map to an object representing the associative conteiner. More...
|
| |
| inline::v8::Local<::v8::Object > | te::v8::common::Convert2Js (const std::map< std::string, std::string > &m) |
| | It converts the input map to an object representing the associative conteiner. More...
|
| |
| template<class T > |
| void | te::v8::common::JsObjectRelease (::v8::Persistent<::v8::Value > obj, void *parameter) |
| | The call-back function for releasing objects. More...
|
| |
| template<class T > |
| void | te::v8::common::LooseOwnership (::v8::Handle<::v8::Object > obj) |
| | An utility function that extracts the C++ object from a wrapped object. More...
|
| |
| template<class T , class TF > |
| ::v8::Local<::v8::Object > | te::v8::common::Make (T *obj, TF tfunc, const bool isOwner) |
| | It creates a new JavaScript object from a C++ object (obj). More...
|
| |
| TEV8COMMONEXPORT::v8::Handle<::v8::Value > | te::v8::common::Print (const ::v8::Arguments &args) |
| | This function will print all the arguments to the standard output. More...
|
| |
| TEV8COMMONEXPORT::v8::Handle<::v8::String > | te::v8::common::ReadFile (const std::string &fileName) |
| | It reads a file into a v8 string. More...
|
| |
| template<class T > |
| T * | te::v8::common::Unwrap (::v8::Handle<::v8::Object > obj) |
| | An utility function that extracts the C++ object from a wrapped object. More...
|
| |
| template<class T > |
| T * | te::v8::common::UnwrapAndLooseOwnership (::v8::Handle<::v8::Object > obj) |
| | An utility function that extracts the C++ object from a wrapped object. More...
|
| |