cfitsio_plugin.hpp 441 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <mln/io/private/plugin.hpp>

namespace mln::io::fits::internal
{
  class cfitsio_reader_plugin final : public mln::io::internal::plugin_reader
  {
  public:
    cfitsio_reader_plugin() = delete;
    cfitsio_reader_plugin(int ind);
    ~cfitsio_reader_plugin() final;
    void open(const char* filename) final;
    void close() final;

  private:
    const int m_image_index;
  };
} // namespace mln::io::fist::internal