Mantid
|
#include "MantidIndexing/DllConfig.h"
#include <algorithm>
#include <boost/any.hpp>
#include <cstdint>
#include <nexus/NeXusFile.hpp>
#include <numeric>
#include <string>
#include <utility>
Go to the source code of this file.
Classes | |
struct | Mantid::NeXus::NeXusIOHelper::AllowNarrowing |
struct | Mantid::NeXus::NeXusIOHelper::PreventNarrowing |
Namespaces | |
namespace | Mantid |
Helper class which provides the Collimation Length for SANS instruments. | |
namespace | Mantid::NeXus |
namespace | Mantid::NeXus::NeXusIOHelper |
Macros | |
#define | RUN_NEXUSIOHELPER_FUNCTION(Narrow, type, func_name, ...) |
Macro to run a function depending on the type of data in the Nexus file. More... | |
Functions | |
template<typename T , typename Narrow = PreventNarrowing> | |
std::vector< T > | Mantid::NeXus::NeXusIOHelper::readNexusSlab (::NeXus::File &file, const std::string &entry, const std::vector< int64_t > &start, const std::vector< int64_t > &size) |
Opens the data group if needed, finds the data type, and calls readNexusAnySlab via the RUN_NEXUSIOHELPER_FUNCTION macro. More... | |
template<typename T , typename Narrow = PreventNarrowing> | |
void | Mantid::NeXus::NeXusIOHelper::readNexusSlab (std::vector< T > &out, ::NeXus::File &file, const std::string &entry, const std::vector< int64_t > &start, const std::vector< int64_t > &size) |
Opens the data group if needed, finds the data type, and calls readNexusAnySlab via the RUN_NEXUSIOHELPER_FUNCTION macro. More... | |
template<typename T , typename Narrow = PreventNarrowing> | |
T | Mantid::NeXus::NeXusIOHelper::readNexusValue (::NeXus::File &file, const std::string &entry="") |
template<typename T , typename Narrow = PreventNarrowing> | |
std::vector< T > | Mantid::NeXus::NeXusIOHelper::readNexusVector (::NeXus::File &file, const std::string &entry="") |
Opens the data group if needed, finds the data type, computes the data size, and calls readNexusAnyVector via the RUN_NEXUSIOHELPER_FUNCTION macro. More... | |
template<typename T , typename Narrow = PreventNarrowing> | |
void | Mantid::NeXus::NeXusIOHelper::readNexusVector (std::vector< T > &out, ::NeXus::File &file, const std::string &entry="") |
Opens the data group if needed, finds the data type, computes the data size, and calls readNexusAnyVector via the RUN_NEXUSIOHELPER_FUNCTION macro. More... | |
#define RUN_NEXUSIOHELPER_FUNCTION | ( | Narrow, | |
type, | |||
func_name, | |||
... | |||
) |
Macro to run a function depending on the type of data in the Nexus file.
Definition at line 28 of file NexusIOHelper.h.