|
ppap4lmp
0.7.2
|
StaCustom sets an user-defined Json object to a new Element object as its Element::data. More...
#include <sta_custom.h>
Public Member Functions | |
| StaCustom (const Json &json_) | |
| Constructor of StaCustom class. More... | |
Public Member Functions inherited from Starter | |
| Updater ()=default | |
| Constructor of Updater class. More... | |
Public Member Functions inherited from Updater | |
| Updater ()=default | |
| Constructor of Updater class. More... | |
| void | compute (const ElPtr &elem, const int elementid, Json &data) |
| Managing computation to update Element::data. More... | |
| void | remove_from_skippable_elementids (const int elementid) |
| Remove Element::elementid from skippable_elementids. More... | |
| const ShPtr< Generator > & | get_ext_generator () |
| Get ext_generator of this object. More... | |
Protected Member Functions | |
| virtual void | compute_impl (Json &data, JsonToVoidFunc check_required_keys, JsonToBoolFunc check_optional_keys) override |
| This method overrides Updater::compute_impl. | |
Protected Member Functions inherited from Starter | |
| virtual void | compute_body (const ElPtr &elem, Json &data) override |
| Compute or parse properties and set them to Element::data given as a mutable reference. More... | |
Protected Member Functions inherited from Updater | |
| virtual void | compute_common (const ElPtr &elem, Json &data) |
| Common part of compute_body. More... | |
Private Attributes | |
| Json | json |
Additional Inherited Members | |
Protected Attributes inherited from Updater | |
| ShPtr< Generator > | ext_generator |
Static Protected Attributes inherited from Starter | |
| static const bool | do_sorting_by_id = true |
StaCustom sets an user-defined Json object to a new Element object as its Element::data.
An object of this class takes an user-defined Json object to be set as Element::data.
About usage in Python, please see pybind::py_sta_custom.
Definition at line 24 of file sta_custom.h.
| StaCustom::StaCustom | ( | const Json & | json_ | ) |
Constructor of StaCustom class.
| json_ | A Json (complex of dictionary and list) object to be set as Element::data. This parameter is assigned to json. |
Definition at line 16 of file sta_custom.cpp.
|
private |
A Json (complex of dictionary and list) object to be set as Element::data.
Definition at line 29 of file sta_custom.h.