#include namespace xrpl { ApplyViewImpl::ApplyViewImpl(ReadView const* base, ApplyFlags flags) : ApplyViewBase(base, flags) { } std::optional ApplyViewImpl::apply( OpenView& to, STTx const& tx, TER ter, std::optional parentBatchId, bool isDryRun, beast::Journal j) { return items_.apply(to, tx, ter, deliver_, parentBatchId, isDryRun, j); } std::size_t ApplyViewImpl::size() { return items_.size(); } void ApplyViewImpl::visit( OpenView& to, std::function const& before, std::shared_ptr const& after)> const& func) { items_.visit(to, func); } } // namespace xrpl