Mantid
|
Namespace with helper methods for loading and saving Property's (logs) to NXS files. More...
Functions | |
DLLExport std::unique_ptr< Property > | loadProperty (::NeXus::File *file, const std::string &group) |
Opens a NXlog group in a nexus file and creates the correct Property object from it. More... | |
DLLExport std::unique_ptr< Property > | loadProperty (::NeXus::File *file, const std::string &group, const Mantid::Kernel::NexusHDF5Descriptor &fileInfo, const std::string &prefix) |
Opens a NXlog group in a nexus file and creates the correct Property object from it. More... | |
Namespace with helper methods for loading and saving Property's (logs) to NXS files.
std::unique_ptr< Property > Mantid::Kernel::PropertyNexus::loadProperty | ( | ::NeXus::File * | file, |
const std::string & | group | ||
) |
Opens a NXlog group in a nexus file and creates the correct Property object from it.
file | :: NXS file handle |
group | :: name of NXlog group to open |
Definition at line 230 of file PropertyNexus.cpp.
std::unique_ptr< Property > Mantid::Kernel::PropertyNexus::loadProperty | ( | ::NeXus::File * | file, |
const std::string & | group, | ||
const Mantid::Kernel::NexusHDF5Descriptor & | fileInfo, | ||
const std::string & | prefix | ||
) |
Opens a NXlog group in a nexus file and creates the correct Property object from it.
Overload that uses NexusHDF5Descriptor for faster metadata lookup.
file | currently opened NeXus file |
group | current group (relative name) |
fileInfo | descriptor with in-memory index with all entries |
prefix | indicates current group location in file (absolute name) |
Definition at line 206 of file PropertyNexus.cpp.
References Mantid::Kernel::NexusHDF5Descriptor::isEntry().
Referenced by Mantid::API::LogManager::loadNexus().