Program Listing for File adm_bw64.hpp

Return to documentation for file (include/eat/process/adm_bw64.hpp)

#pragma once

#include <adm/elements_fwd.hpp>

#include "chna.hpp"
#include "eat/framework/process.hpp"
#include "eat/framework/value_ptr.hpp"

namespace eat::process {

struct ADMData {
  framework::ValuePtr<adm::Document> document;
  channel_map_t channel_map;
};

framework::ProcessPtr make_read_bw64(const std::string &name, const std::string &path, size_t block_size);

framework::ProcessPtr make_write_bw64(const std::string &name, const std::string &path);

framework::ProcessPtr make_read_adm(const std::string &name, const std::string &path);

framework::ProcessPtr make_read_adm_bw64(const std::string &name, const std::string &path, size_t block_size);

framework::ProcessPtr make_write_adm_bw64(const std::string &name, const std::string &path);

}  // namespace eat::process

namespace eat::framework {
template <>
std::shared_ptr<adm::Document> copy_shared_ptr<adm::Document>(const std::shared_ptr<adm::Document> &value);

}  // namespace eat::framework