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
MatrixIO.hpp
lvr2::Hdf5Construct::type
typename Derived::template add_features< Feature >::type type
Definition: HDF5FeatureBase.hpp:165
lvr2::ScanProjectIO
Hdf5IO Feature for handling ScanProject related IO.
Definition: descriptions/ScanProjectIO.hpp:49
lvr2::ScanProjectPtr
std::shared_ptr< ScanProject > ScanProjectPtr
Definition: ScanTypes.hpp:344
lvr2::hdf5features::ScanProjectIO::m_scanPositionIO
ScanPositionIO< Derived > * m_scanPositionIO
Definition: hdf5/ScanProjectIO.hpp:64
lvr2::Hdf5Construct< hdf5features::ScanProjectIO, Derived >::deps
typename Hdf5Construct< hdf5features::ScanPositionIO, Derived >::type deps
Definition: hdf5/ScanProjectIO.hpp:78
lvr2::hdf5features::ScanProjectIO::m_file_access
Derived * m_file_access
Definition: hdf5/ScanProjectIO.hpp:62
lvr2::hdf5features::ScanProjectIO
Hdf5IO Feature for handling ScanProject related IO.
Definition: hdf5/ScanProjectIO.hpp:52
ScanTypes.hpp
ScanIO.hpp
lvr2::hdf5features::ScanProjectIO::loadScanProject
ScanProjectPtr loadScanProject()
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::hdf5features::ScanPositionIO
Definition: hdf5/ScanPositionIO.hpp:52
lvr2::Hdf5Construct
Helper class how to construct a IO feature with its dependencies.
Definition: HDF5FeatureBase.hpp:27
ScanPositionIO.hpp
lvr2::hdf5features::ScanProjectIO::load
ScanProjectPtr load()
ArrayIO.hpp
lvr2::Hdf5Construct< hdf5features::ScanProjectIO, Derived >::type
typename deps::template add_features< hdf5features::ScanProjectIO >::type type
Definition: hdf5/ScanProjectIO.hpp:81
lvr2::hdf5features::ScanProjectIO::save
void save(const ScanProjectPtr &scanProjectPtr)


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 Wed Mar 2 2022 00:37:25