9 #include "../core/updater.h" 10 #include "../starters/sta_copy.h" 11 #include "../starters/sta_custom.h" ArrayXd get_1d_float_py(const Str &key)
Get float values stored in Element::data of this object as a one-dimensional Numpy-Array.
Set< Str > get_keys_py()
Get keys of the data of this object.
ShPtr< Element > ElPtr
An alias for a shared pointer of Element class.
This file is for binding Element class to Python.
const Json & get_data_py()
Get a reference to data of this object.
void py_element(py::module &m)
Bind Element class to Python.
ArrayXXd get_2d_float_py(const py::args &args)
Get float values stored in Element::data of this object as a two-dimensional Numpy-Array.
nlohmann::json Json
Json is an alias for nlohmann::json.
Element inherits Generator class and contains data element (or entity) as a Json object.
ShPtr< Element > append_updater(const ShPtr< Updater > &upd)
Append an Updater object to this Element object: the only way to extend an updating process associate...
StaCustom sets an user-defined Json object to a new Element object as its Element::data.
ArrayXXi get_2d_int_py(const py::args &args)
Get integer values stored in Element::data of this object as a two-dimensional Numpy-Array.
StaCopy copies Element::data of an existing Element object and sets it to a new Element object...
Trampoline class to bind Element class to Python.
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
ArrayXi get_1d_int_py(const Str &key)
Get integer values stored in Element::data of this object as a one-dimensional Numpy-Array.