![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <polyglot_row.h>
Public Member Functions | |
| Row (const std::vector< std::string > &names, const jit_executor::db::IRow &row) | |
| std::string | class_name () const override |
| shcore::Value | get_field (const std::string &field) const |
| bool | has_member (const std::string &prop) const override |
| Verifies if the object has a member. More... | |
| shcore::Value | get_member (const std::string &prop) const override |
| Returns the value of a member. More... | |
| shcore::Value | get_member (size_t index) const override |
| Returns the value of a member. More... | |
| size_t | length () const override |
| Returns the number of indexable members. More... | |
| bool | is_indexed () const override |
| Returns the value of a member. More... | |
| shcore::Dictionary_t | as_object () |
| Value | call (const std::string &name, const Argument_list &args) override |
| Calls the named method with the given args. More... | |
Public Member Functions inherited from shcore::polyglot::Object_bridge | |
| virtual | ~Object_bridge ()=default |
| virtual std::string & | append_descr (std::string &s_out, int indent=-1, int quote_strings=0) const |
| virtual std::string & | append_repr (std::string &s_out) const |
| virtual void | append_json (shcore::JSON_dumper &dumper) const |
| virtual std::vector< std::string > | get_members () const |
| Returns the list of members that this object has. More... | |
| virtual void | set_member (const std::string &, Value) |
| Sets the value of a member. More... | |
| virtual void | set_member (size_t, Value) |
| Sets the value of a member. More... | |
| bool | has_method (const std::string &name) const |
| Returns true if a method with the given name exists. More... | |
Private Member Functions | |
| const std::vector< std::string > * | methods () const override |
| const std::vector< std::string > * | properties () const override |
Private Attributes | |
| std::vector< std::string > | m_names |
| std::vector< shcore::Value > | m_value_array |
Static Private Attributes | |
| static std::vector< std::string > | m_methods = {k_get_field} |
| Row< T >::Row | ( | const std::vector< std::string > & | names, |
| const jit_executor::db::IRow & | row | ||
| ) |
| shcore::Dictionary_t Row< T >::as_object | ( | ) |
|
overridevirtual |
Calls the named method with the given args.
Reimplemented from shcore::polyglot::Object_bridge.
|
inlineoverridevirtual |
Implements shcore::polyglot::Object_bridge.
| shcore::Value Row< T >::get_field | ( | const std::string & | field | ) | const |
|
overridevirtual |
Returns the value of a member.
Reimplemented from shcore::polyglot::Object_bridge.
|
overridevirtual |
Returns the value of a member.
Reimplemented from shcore::polyglot::Object_bridge.
Verifies if the object has a member.
Reimplemented from shcore::polyglot::Object_bridge.
|
inlineoverridevirtual |
Returns the value of a member.
Reimplemented from shcore::polyglot::Object_bridge.
|
inlineoverridevirtual |
Returns the number of indexable members.
Reimplemented from shcore::polyglot::Object_bridge.
|
inlineoverrideprivatevirtual |
Reimplemented from shcore::polyglot::Object_bridge.
|
inlineoverrideprivatevirtual |
Reimplemented from shcore::polyglot::Object_bridge.
|
private |
|
private |