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
a352421e
Commit
a352421e
authored
5 years ago
by
Hahn, Steven
Browse files
Options
Downloads
Patches
Plain Diff
Get NexusFileLoader to build
Signed-off-by:
Steven Hahn
<
hahnse@ornl.gov
>
parent
71b0d278
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
+9
-12
9 additions, 12 deletions
...ork/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
Framework/DataHandling/src/NexusFileLoader.cpp
+11
-8
11 additions, 8 deletions
Framework/DataHandling/src/NexusFileLoader.cpp
with
20 additions
and
20 deletions
Framework/DataHandling/inc/MantidDataHandling/NexusFileLoader.h
+
9
−
12
View file @
a352421e
...
...
@@ -10,23 +10,20 @@
#include
"MantidKernel/System.h"
#include
"MantidNexus/NexusHDF5Descriptor.h"
namespace
Mantid
{
namespace
API
{
namespace
Mantid
::
DataHandling
{
class
DLLExport
NexusFileLoader
:
public
IFileLoader
<
Mantid
::
Ne
x
us
::
NexusHDF5Descriptor
>
{
:
public
API
::
IFileLoader
<
Mantid
::
Ne
X
us
::
NexusHDF5Descriptor
>
{
public:
void
exec
()
override
;
void
createChildAlgorithm
(
const
std
::
string
&
name
,
const
double
startProgress
=
-
1.
,
const
double
endProgress
=
-
1.
,
const
bool
enableLogging
=
true
,
const
int
&
version
=
-
1
)
override
;
boost
::
shared_ptr
<
Algorithm
>
createChildAlgorithm
(
const
std
::
string
&
name
,
const
double
startProgress
=
-
1.
,
const
double
endProgress
=
-
1.
,
const
bool
enableLogging
=
true
,
const
int
&
version
=
-
1
)
override
;
void
setFileInfo
(
std
::
shared_ptr
<
Mantid
::
Ne
x
us
::
NexusHDF5Descriptor
>
fileInfo
);
setFileInfo
(
std
::
shared_ptr
<
Mantid
::
Ne
X
us
::
NexusHDF5Descriptor
>
fileInfo
);
private:
std
::
shared_ptr
<
Mantid
::
Ne
x
us
::
NexusHDF5Descriptor
>
m_fileInfo
;
std
::
shared_ptr
<
Mantid
::
Ne
X
us
::
NexusHDF5Descriptor
>
m_fileInfo
;
};
}
// namespace API
}
// namespace Mantid
}
// namespace Mantid::DataHandling
This diff is collapsed.
Click to expand it.
Framework/DataHandling/src/NexusFileLoader.cpp
+
11
−
8
View file @
a352421e
...
...
@@ -8,13 +8,16 @@
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
::
NexusHDF5Descriptor
>
fileInfo
)
{
m_fileinfo
=
std
::
move
(
fileInfo
);
boost
::
shared_ptr
<
Mantid
::
API
::
Algorithm
>
NexusFileLoader
::
createChildAlgorithm
(
const
std
::
string
&
name
,
const
double
startProgress
,
const
double
endProgress
,
const
bool
enableLogging
,
const
int
&
version
)
{
return
nullptr
;
}
void
NexusFileLoader
::
setFileInfo
(
std
::
shared_ptr
<
Mantid
::
NeXus
::
NexusHDF5Descriptor
>
fileInfo
)
{
m_fileInfo
=
std
::
move
(
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