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
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHDF5
Commits
ef1d04cd
Commit
ef1d04cd
authored
Jan 14, 2021
by
Pierre Aubert
Browse files
getNbRow -> getNbEntries
parent
88e34331
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
TESTS/TEST_BASE_CONFIG/main.cpp
TESTS/TEST_BASE_CONFIG/main.cpp
+1
-1
TESTS/TEST_TABLE_CONFIG/main.cpp
TESTS/TEST_TABLE_CONFIG/main.cpp
+1
-1
TESTS/TEST_TABLE_CONFIG/main_full.cpp
TESTS/TEST_TABLE_CONFIG/main_full.cpp
+1
-1
TESTS/TEST_TABLE_FIXED_SIZE/main.cpp
TESTS/TEST_TABLE_FIXED_SIZE/main.cpp
+1
-1
TESTS/TEST_TABLE_FIXED_SIZE_2/main.cpp
TESTS/TEST_TABLE_FIXED_SIZE_2/main.cpp
+1
-1
TESTS/TEST_TYPE/main.cpp
TESTS/TEST_TYPE/main.cpp
+1
-1
TESTS/TEST_TYPE_T/main.cpp
TESTS/TEST_TYPE_T/main.cpp
+1
-1
src/BackEnd/backend.cpp
src/BackEnd/backend.cpp
+2
-2
No files found.
TESTS/TEST_BASE_CONFIG/main.cpp
View file @
ef1d04cd
...
...
@@ -51,7 +51,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
(),
nbCol
=
table
.
getNbCol
();
size_t
nbRow
=
table
.
getNb
Entries
(),
nbCol
=
table
.
getNbCol
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
b
&=
table
.
getX
(
i
)
==
i
;
...
...
TESTS/TEST_TABLE_CONFIG/main.cpp
View file @
ef1d04cd
...
...
@@ -56,7 +56,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
(),
nbPixel
=
table
.
getNbPixel
(),
nbSlice
=
table
.
getNbSlice
();
size_t
nbRow
=
table
.
getNb
Entries
(),
nbPixel
=
table
.
getNbPixel
(),
nbSlice
=
table
.
getNbSlice
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
b
&=
table
.
getEventId
(
i
)
==
i
;
...
...
TESTS/TEST_TABLE_CONFIG/main_full.cpp
View file @
ef1d04cd
...
...
@@ -56,7 +56,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
(),
nbPixel
=
table
.
getNbPixel
(),
nbSlice
=
table
.
getNbSlice
();
size_t
nbRow
=
table
.
getNb
Entries
(),
nbPixel
=
table
.
getNbPixel
(),
nbSlice
=
table
.
getNbSlice
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
size_t
eventId
(
0lu
);
...
...
TESTS/TEST_TABLE_FIXED_SIZE/main.cpp
View file @
ef1d04cd
...
...
@@ -50,7 +50,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
();
size_t
nbRow
=
table
.
getNb
Entries
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
b
&=
table
.
getEventId
(
i
)
==
i
;
...
...
TESTS/TEST_TABLE_FIXED_SIZE_2/main.cpp
View file @
ef1d04cd
...
...
@@ -51,7 +51,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
();
size_t
nbRow
=
table
.
getNb
Entries
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
b
&=
table
.
getEventId
(
i
)
==
i
;
...
...
TESTS/TEST_TYPE/main.cpp
View file @
ef1d04cd
...
...
@@ -50,7 +50,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
();
size_t
nbRow
=
table
.
getNb
Entries
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
b
&=
table
.
getValFloat
(
i
)
==
i
;
...
...
TESTS/TEST_TYPE_T/main.cpp
View file @
ef1d04cd
...
...
@@ -50,7 +50,7 @@ bool testReadData(const std::string & fileName){
file
.
close
();
//Get the number of rows and number of columns
size_t
nbRow
=
table
.
getNb
Row
();
size_t
nbRow
=
table
.
getNb
Entries
();
bool
b
(
true
);
for
(
size_t
i
(
0lu
);
i
<
nbRow
;
++
i
){
b
&=
table
.
getValFloat
(
i
)
==
i
;
...
...
src/BackEnd/backend.cpp
View file @
ef1d04cd
...
...
@@ -227,7 +227,7 @@ std::string ph5_backendTableHeader(PTable & table){
body
+=
"
\t\t
virtual ~"
+
name
+
"();
\n\n
"
;
body
+=
"
\t\t
void setTableName(const std::string & name);
\n
"
;
body
+=
"
\t\t
size_t getNb
Row
() const;
\n
"
;
body
+=
"
\t\t
size_t getNb
Entries
() const;
\n
"
;
body
+=
"
\t\t
void resize(size_t nbRow);
\n
"
;
body
+=
"
\t\t
void clear();
\n\n
"
;
...
...
@@ -895,7 +895,7 @@ std::string ph5_backendTableSource(PTable & table){
body
+=
"///Get the total number of rows in the current Table "
+
name
+
"
\n
"
;
body
+=
"/**
\t
@return total number of rows
\n
"
;
body
+=
"*/"
;
body
+=
"size_t "
+
name
+
"::getNb
Row
() const{
\n
"
;
body
+=
"size_t "
+
name
+
"::getNb
Entries
() const{
\n
"
;
body
+=
"
\t
return p__nbRow;
\n
"
;
body
+=
"}
\n\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