|
Mantid
|
Common methods for LoadInstrument.cpp and LoadEmptyInstrument.cpp. More...
Functions | |
| bool | isIDF (const std::string &filename) |
| Determine if the Geometry file type is IDF. | |
| bool | isNexus (const std::map< std::string, std::set< std::string > > &allEntries) |
| Determine if the Geometry file type is Nexus version that reuses the metadata container. | |
| bool | isNexus (const std::string &filename) |
| Determine if the Geometry file type is Nexus. | |
| const std::vector< std::string > | validExtensions () |
| List allowed file extensions for geometry. | |
Common methods for LoadInstrument.cpp and LoadEmptyInstrument.cpp.
| bool Mantid::DataHandling::LoadGeometry::isIDF | ( | const std::string & | filename | ) |
Determine if the Geometry file type is IDF.
Definition at line 15 of file LoadGeometry.cpp.
References Mantid::Kernel::FileDescriptor::isXML().
Referenced by Mantid::DataHandling::LoadInstrument::exec().
| bool Mantid::DataHandling::LoadGeometry::isNexus | ( | const std::map< std::string, std::set< std::string > > & | allEntries | ) |
Determine if the Geometry file type is Nexus version that reuses the metadata container.
Definition at line 37 of file LoadGeometry.cpp.
| bool Mantid::DataHandling::LoadGeometry::isNexus | ( | const std::string & | filename | ) |
Determine if the Geometry file type is Nexus.
Definition at line 24 of file LoadGeometry.cpp.
References Mantid::Nexus::NexusDescriptor::getAllEntries(), Mantid::Kernel::FileDescriptor::isAscii(), and isNexus().
Referenced by Mantid::DataHandling::LoadInstrument::exec(), isNexus(), and Mantid::DataHandling::LoadEventNexus::runLoadInstrument().
| const std::vector< std::string > Mantid::DataHandling::LoadGeometry::validExtensions | ( | ) |
List allowed file extensions for geometry.
Definition at line 69 of file LoadGeometry.cpp.
Referenced by Mantid::DataHandling::LoadInstrument::init().