![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Utility class to allow wrapping a Polyglot object to be used from the C++. More...
#include <types_polyglot.h>
Public Member Functions | |
| Polyglot_object ()=delete | |
| Polyglot_object (const Polyglot_type_bridger *type_bridger, poly_thread thread, poly_context context, poly_value object, const std::string &class_name) | |
| Polyglot_object (const Polyglot_object &)=delete | |
| Polyglot_object & | operator= (const Polyglot_object &)=delete | 
| Polyglot_object (Polyglot_object &&)=delete | |
| Polyglot_object & | operator= (Polyglot_object &&)=delete | 
| virtual | ~Polyglot_object ()=default | 
| std::string | class_name () const | 
| void | append_json (JSON_dumper &dumper) const | 
| std::vector< std::string > | get_members () const | 
| Value | get_member (const std::string &prop) const | 
| poly_value | get_poly_member (const std::string &prop) const | 
| bool | has_member (const std::string &prop) const | 
| void | set_member (const std::string &prop, Value value) | 
| void | set_poly_member (const std::string &prop, poly_value value) | 
| Value | get_property (const std::string &prop) const | 
| void | set_property (const std::string &prop, Value value) | 
| Value | call (const std::string &name, const std::vector< Value > &args) | 
| poly_value | get () const | 
| bool | remove_member (const std::string &name) | 
| bool | is_exception () const | 
| void | throw_exception () const | 
Private Attributes | |
| const Polyglot_type_bridger * | m_types | 
| poly_thread | m_thread | 
| poly_context | m_context | 
| Store | m_object | 
| std::string | m_class_name | 
Utility class to allow wrapping a Polyglot object to be used from the C++.
      
  | 
  delete | 
| shcore::polyglot::Polyglot_object::Polyglot_object | ( | const Polyglot_type_bridger * | type_bridger, | 
| poly_thread | thread, | ||
| poly_context | context, | ||
| poly_value | object, | ||
| const std::string & | class_name | ||
| ) | 
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  virtualdefault | 
| void shcore::polyglot::Polyglot_object::append_json | ( | JSON_dumper & | dumper | ) | const | 
| Value shcore::polyglot::Polyglot_object::call | ( | const std::string & | name, | 
| const std::vector< Value > & | args | ||
| ) | 
| std::string shcore::polyglot::Polyglot_object::class_name | ( | ) | const | 
      
  | 
  inline | 
| Value shcore::polyglot::Polyglot_object::get_member | ( | const std::string & | prop | ) | const | 
| std::vector< std::string > shcore::polyglot::Polyglot_object::get_members | ( | ) | const | 
| poly_value shcore::polyglot::Polyglot_object::get_poly_member | ( | const std::string & | prop | ) | const | 
| Value shcore::polyglot::Polyglot_object::get_property | ( | const std::string & | prop | ) | const | 
| bool shcore::polyglot::Polyglot_object::has_member | ( | const std::string & | prop | ) | const | 
| bool shcore::polyglot::Polyglot_object::is_exception | ( | ) | const | 
      
  | 
  delete | 
      
  | 
  delete | 
| bool shcore::polyglot::Polyglot_object::remove_member | ( | const std::string & | name | ) | 
| void shcore::polyglot::Polyglot_object::set_member | ( | const std::string & | prop, | 
| Value | value | ||
| ) | 
| void shcore::polyglot::Polyglot_object::set_poly_member | ( | const std::string & | prop, | 
| poly_value | value | ||
| ) | 
| void shcore::polyglot::Polyglot_object::set_property | ( | const std::string & | prop, | 
| Value | value | ||
| ) | 
| void shcore::polyglot::Polyglot_object::throw_exception | ( | ) | const | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |