Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
7ba76936
Commit
7ba76936
authored
5 years ago
by
Hahn, Steven
Browse files
Options
Downloads
Patches
Plain Diff
Update NexusFileLoader
Signed-off-by:
Steven Hahn
<
hahnse@ornl.gov
>
parent
473cad0d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
+5
-3
5 additions, 3 deletions
...ork/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
Framework/DataHandling/src/NexusFileLoader.cpp
+11
-0
11 additions, 0 deletions
Framework/DataHandling/src/NexusFileLoader.cpp
with
16 additions
and
3 deletions
Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
+
5
−
3
View file @
7ba76936
...
...
@@ -7,13 +7,13 @@
#pragma once
#include
"MantidAPI/IFileLoader.h"
#include
"Mantid
Kernel/
NexusDescriptor.h"
#include
"MantidNexus
/HDF5
Descriptor.h"
#include
"MantidKernel/System.h"
namespace
Mantid
{
namespace
API
{
class
DLLExport
NexusFileLoader
:
public
IFileLoader
<
Nexus
Descriptor
>
{
class
DLLExport
NexusFileLoader
:
public
IFileLoader
<
Mantid
::
Nexus
::
HDF5
Descriptor
>
{
public:
void
exec
()
override
;
void
createChildAlgorithm
(
const
std
::
string
&
name
,
...
...
@@ -21,7 +21,9 @@ public:
const
double
endProgress
=
-
1.
,
const
bool
enableLogging
=
true
,
const
int
&
version
=
-
1
)
override
;
setFileInfo
()
override
;
void
setFileInfo
(
std
::
shared_ptr
<
Mantid
::
Nexus
::
HDF5Descriptor
>
fileInfo
);
private:
std
::
shared_ptr
<
Mantid
::
Nexus
::
HDF5Descriptor
>
m_fileInfo
;
};
}
// namespace API
}
// namespace Mantid
This diff is collapsed.
Click to expand it.
Framework/DataHandling/src/NexusFileLoader.cpp
+
11
−
0
View file @
7ba76936
...
...
@@ -5,3 +5,14 @@
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#include
"MantidDataHandling/NexusFileLoader.h"
namespace
Mantid
::
DataHandling
{
void
NexusFileLoader
::
exec
()
{}
void
createChildAlgorithm
(
const
std
::
string
&
name
,
const
double
startProgress
,
const
double
endProgress
,
const
bool
enableLogging
,
const
int
&
version
)
{}
void
setFileInfo
(
std
::
shared_ptr
<
Mantid
::
Nexus
::
HDF5Descriptor
>
fileInfo
)
{}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment