Skip to content

Commit

Permalink
Rename h5pp::scan::getTableInfo --> h5pp::scan::makeTableInfo to clar…
Browse files Browse the repository at this point in the history
…ify intent
  • Loading branch information
DavidAce committed Oct 30, 2020
1 parent c30d105 commit db97ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion h5pp/include/h5pp/details/h5ppFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ namespace h5pp {
options.h5Type = h5Type;
options.dsetDimsChunk = chunkDims;
options.compression = compressionLevel;
auto tableInfo = h5pp::scan::getTableInfo(openFileHandle(), options, tableTitle, plists);
auto tableInfo = h5pp::scan::makeTableInfo(openFileHandle(), options, tableTitle, plists);
h5pp::hdf5::createTable(tableInfo, plists);
h5pp::scan::readTableInfo(tableInfo, tableInfo.getLocId(), options, plists);
return tableInfo;
Expand Down
2 changes: 1 addition & 1 deletion h5pp/include/h5pp/details/h5ppScan.h
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ namespace h5pp::scan {

template<typename h5x>
inline h5pp::TableInfo
getTableInfo(const h5x &loc, const Options &options, std::string_view tableTitle, const PropertyLists &plists = PropertyLists()) {
makeTableInfo(const h5x &loc, const Options &options, std::string_view tableTitle, const PropertyLists &plists = PropertyLists()) {
auto info = readTableInfo(loc, options, plists);
if(info.tableExists.value()) return info;
h5pp::logger::log->debug("Creating metadata for new table [{}]", options.linkPath.value());
Expand Down

0 comments on commit db97ed2

Please sign in to comment.