/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2021-04-24 * Changed: 2021-05-02 * * */ #include #include #include ls_std::SerializableJsonDoubleFactory::SerializableJsonDoubleFactory() : ls_std::Class("SerializableJsonDoubleFactory") {} std::shared_ptr ls_std::SerializableJsonDoubleFactory::build() { std::shared_ptr requestedObject = std::make_shared(); std::shared_ptr serializable = std::make_shared(requestedObject); requestedObject->setSerializable(serializable); return std::dynamic_pointer_cast(requestedObject); }