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
1f81bc00
Commit
1f81bc00
authored
8 years ago
by
David Fairbrother
Browse files
Options
Downloads
Patches
Plain Diff
Re #19062 Added doxygen comment to function
parent
e5a9ef16
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/DataHandling/src/LoadNexusLogs.cpp
+13
-1
13 additions, 1 deletion
Framework/DataHandling/src/LoadNexusLogs.cpp
with
13 additions
and
1 deletion
Framework/DataHandling/src/LoadNexusLogs.cpp
+
13
−
1
View file @
1f81bc00
...
...
@@ -656,9 +656,21 @@ LoadNexusLogs::createTimeSeries(::NeXus::File &file,
}
}
/**
* Checks whether the specified character is invalid or a control
* character. If it is invalid (i.e. negative) or a control character
* the method returns true. If it is valid and not a control character
* it returns false. Additionally if the character is invalid is
* logs a warning with the property name so users are aware.
*
* @param c :: Character to check
* @param propName :: The name of the property currently being checked for
*logging
* @param log :: Reference to logger to print out to
* @return :: True if control character OR invalid. Else False
*/
bool
LoadNexusLogs
::
isControlValue
(
const
char
&
c
,
const
std
::
string
&
propName
,
Kernel
::
Logger
&
log
)
{
// Have to check it falls within range accepted by c style check
if
(
c
<=
-
1
)
{
log
.
warning
(
"Found an invalid character in property "
+
propName
);
...
...
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