Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHDF5
Commits
437c9203
Commit
437c9203
authored
Jan 14, 2021
by
Pierre Aubert
Browse files
Fix setRow
parent
ef1d04cd
Pipeline
#99558
passed with stages
in 6 minutes and 48 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/BackEnd/backend.cpp
src/BackEnd/backend.cpp
+1
-1
No files found.
src/BackEnd/backend.cpp
View file @
437c9203
...
...
@@ -511,7 +511,7 @@ std::string ph5_backendTableSourceSetter(PTable & table){
body
+=
"*/
\n
"
;
body
+=
"void "
+
name
+
"::set"
+
firstToUpper
(
it
->
getName
())
+
"(size_t i, const "
+
type
+
" * tabVal){
\n
"
;
body
+=
"
\t
size_t sizeRow("
+
ph5_getFullAttributeElement
(
*
it
)
+
");
\n
"
;
body
+=
"
\t
memcpy(p_"
+
it
->
getName
()
+
" + i*sizeRow, tabVal, sizeRow);
\n
"
;
body
+=
"
\t
memcpy(p_"
+
it
->
getName
()
+
" + i*sizeRow, tabVal, sizeRow
*sizeof("
+
type
+
")
);
\n
"
;
body
+=
"}
\n\n
"
;
}
else
{
body
+=
"/**
\t
@param i : index of the row to be used
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment