Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit ef1d04cd authored by Pierre Aubert's avatar Pierre Aubert
Browse files

getNbRow -> getNbEntries

parent 88e34331
......@@ -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.getNbRow(), nbCol = table.getNbCol();
size_t nbRow = table.getNbEntries(), nbCol = table.getNbCol();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
b &= table.getX(i) == i;
......
......@@ -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.getNbRow(), nbPixel = table.getNbPixel(), nbSlice = table.getNbSlice();
size_t nbRow = table.getNbEntries(), nbPixel = table.getNbPixel(), nbSlice = table.getNbSlice();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
b &= table.getEventId(i) == i;
......
......@@ -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.getNbRow(), nbPixel = table.getNbPixel(), nbSlice = table.getNbSlice();
size_t nbRow = table.getNbEntries(), nbPixel = table.getNbPixel(), nbSlice = table.getNbSlice();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
size_t eventId(0lu);
......
......@@ -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.getNbRow();
size_t nbRow = table.getNbEntries();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
b &= table.getEventId(i) == i;
......
......@@ -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.getNbRow();
size_t nbRow = table.getNbEntries();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
b &= table.getEventId(i) == i;
......
......@@ -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.getNbRow();
size_t nbRow = table.getNbEntries();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
b &= table.getValFloat(i) == i;
......
......@@ -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.getNbRow();
size_t nbRow = table.getNbEntries();
bool b(true);
for(size_t i(0lu); i < nbRow; ++i){
b &= table.getValFloat(i) == i;
......
......@@ -227,7 +227,7 @@ std::string ph5_backendTableHeader(PTable & table){
body += "\t\tvirtual ~" + name + "();\n\n";
body += "\t\tvoid setTableName(const std::string & name);\n";
body += "\t\tsize_t getNbRow() const;\n";
body += "\t\tsize_t getNbEntries() const;\n";
body += "\t\tvoid resize(size_t nbRow);\n";
body += "\t\tvoid 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 + "::getNbRow() const{\n";
body += "size_t " + name + "::getNbEntries() const{\n";
body += "\treturn p__nbRow;\n";
body += "}\n\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment