MUQ
0.4.3
AnyWriter.h
Go to the documentation of this file.
1
#ifndef ANYWRITER_H
2
#define ANYWRITER_H
3
4
#include <boost/any.hpp>
5
6
namespace
muq
{
7
namespace
Utilities{
8
9
template
<
typename
T>
10
struct
AnyWriter
11
{
12
template
<
typename
DestType>
13
void
operator()
(boost::any
const
& obj, DestType& dest){ dest = boost::any_cast<T>(obj); };
14
};
15
16
17
}
// namespace Utilities
18
}
// namespace muq
19
20
21
#endif
muq
Definition:
AllClassWrappers.h:6
muq::Utilities::AnyWriter
Definition:
AnyWriter.h:11
muq::Utilities::AnyWriter::operator()
void operator()(boost::any const &obj, DestType &dest)
Definition:
AnyWriter.h:13
doxygen_prep
MUQ
Utilities
HDF5
AnyWriter.h
Generated on Wed Jun 12 2024 00:48:29 for MUQ by
1.9.1