hdf5/ScanProjectIO.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef LVR2_IO_HDF5_SCANPROJECTIO_HPP
4 #define LVR2_IO_HDF5_SCANPROJECTIO_HPP
5 
7 
8 #include <boost/optional.hpp>
9 #include <regex>
10 
11 // Dependencies
12 #include "ArrayIO.hpp"
13 #include "MatrixIO.hpp"
14 #include "ScanIO.hpp"
15 #include "ScanPositionIO.hpp"
16 
17 namespace lvr2
18 {
19 
20 namespace hdf5features
21 {
22 
51 template <typename Derived>
53 {
54  public:
55  void save(const ScanProjectPtr& scanProjectPtr);
56 
58 
60 
61  protected:
62  Derived* m_file_access = static_cast<Derived*>(this);
63  // dependencies
66 
67  // static constexpr const char* ID = "ScanProjectIO";
68  // static constexpr const char* OBJID = "ScanProject";
69 };
70 
71 } // namespace hdf5features
72 
73 template <typename Derived>
74 struct Hdf5Construct<hdf5features::ScanProjectIO, Derived>
75 {
76 
77  // DEPS
79 
80  // add the feature itself
81  using type = typename deps::template add_features<hdf5features::ScanProjectIO>::type;
82 };
83 
84 } // namespace lvr2
85 
86 #include "ScanProjectIO.tcc"
87 
88 #endif // LVR2_IO_HDF5_SCANPROJECTIO_HPP
ScanPositionIO< Derived > * m_scanPositionIO
Hdf5IO Feature for handling ScanProject related IO.
Hdf5IO Feature for handling ScanProject related IO.
void save(const ScanProjectPtr &scanProjectPtr)
typename Hdf5Construct< hdf5features::ScanPositionIO, Derived >::type deps
Helper class how to construct a IO feature with its dependencies.
std::shared_ptr< ScanProject > ScanProjectPtr
Definition: ScanTypes.hpp:344
typename Derived::template add_features< Feature >::type type
typename deps::template add_features< hdf5features::ScanProjectIO >::type type


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:09