Skip to content

Commit 5ccb4ed

Browse files
committed
time_name in arraycore
1 parent 7326b53 commit 5ccb4ed

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

array_core/array_core.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ using std::string;
2020
//! (matrix) 2-dimensional array
2121
template <typename T>
2222
bool show(T** data, uint64_t arrRows, uint64_t arrCols,
23-
const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
23+
const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
2424

2525
template <typename T>
2626
bool save(T** data, uint64_t arrRows, uint64_t arrCols, const string& filename,
@@ -29,15 +29,15 @@ bool save(T** data, uint64_t arrRows, uint64_t arrCols, const string& filename,
2929
//! (matrix) 1-dimensional array that simulates a 2-dimensional one (element access [i*cols+j])
3030
template <typename T>
3131
bool show(const T* data, uint64_t arrRows, uint64_t arrCols,
32-
const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
32+
const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
3333

3434
template <typename T>
3535
bool save(const T* data, uint64_t arrRows, uint64_t arrCols, const string& filename,
3636
const configSaveToDisk& configuration = configSaveToDisk());
3737

3838
//! (chart) 1-dimensional array
3939
template <typename T>
40-
bool show(const T* data, uint64_t count, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
40+
bool show(const T* data, uint64_t count, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
4141

4242
template <typename T>
4343
bool save(const T* data, uint64_t count, const string& filename, const configSaveToDisk& configuration = configSaveToDisk());
@@ -46,7 +46,7 @@ bool save(const T* data, uint64_t count, const string& filename, const configSav
4646
template<typename C, //https://devblogs.microsoft.com/oldnewthing/20190619-00/?p=102599
4747
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
4848
typename = std::enable_if_t<std::is_convertible_v<T, double>> >
49-
bool show(C const& container, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
49+
bool show(C const& container, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
5050

5151
template<typename C,
5252
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
@@ -58,7 +58,7 @@ bool save(C const& container, const string& filename, const configSaveToDisk& co
5858
template<typename C, //https://devblogs.microsoft.com/oldnewthing/20190619-00/?p=102599
5959
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
6060
typename = std::enable_if_t<std::is_convertible_v<T, double>> >
61-
bool show(C const& containerX, C const& containerY, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
61+
bool show(C const& containerX, C const& containerY, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
6262

6363
template<typename C, //https://devblogs.microsoft.com/oldnewthing/20190619-00/?p=102599
6464
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
@@ -71,7 +71,7 @@ template<typename C,
7171
typename E = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
7272
typename T = std::decay_t<decltype(*std::begin(std::declval<E>()))>,
7373
typename = std::enable_if_t<std::is_convertible_v<T, double>> >
74-
bool show(C const& container_of_containers, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
74+
bool show(C const& container_of_containers, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
7575

7676
template<typename C,
7777
typename E = std::decay_t<decltype(*std::begin(std::declval<C>()))>,

davis_one/davis.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ using std::string;
493493
//! (matrix) 2-dimensional array
494494
template <typename T>
495495
bool show(T** data, uint64_t arrRows, uint64_t arrCols,
496-
const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
496+
const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
497497

498498
template <typename T>
499499
bool save(T** data, uint64_t arrRows, uint64_t arrCols, const string& filename,
@@ -502,15 +502,15 @@ bool save(T** data, uint64_t arrRows, uint64_t arrCols, const string& filename,
502502
//! (matrix) 1-dimensional array that simulates a 2-dimensional one (element access [i*cols+j])
503503
template <typename T>
504504
bool show(const T* data, uint64_t arrRows, uint64_t arrCols,
505-
const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
505+
const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
506506

507507
template <typename T>
508508
bool save(const T* data, uint64_t arrRows, uint64_t arrCols, const string& filename,
509509
const configSaveToDisk& configuration = configSaveToDisk());
510510

511511
//! (chart) 1-dimensional array
512512
template <typename T>
513-
bool show(const T* data, uint64_t count, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
513+
bool show(const T* data, uint64_t count, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
514514

515515
template <typename T>
516516
bool save(const T* data, uint64_t count, const string& filename, const configSaveToDisk& configuration = configSaveToDisk());
@@ -519,7 +519,7 @@ bool save(const T* data, uint64_t count, const string& filename, const configSav
519519
template<typename C, //https://devblogs.microsoft.com/oldnewthing/20190619-00/?p=102599
520520
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
521521
typename = std::enable_if_t<std::is_convertible_v<T, double>> >
522-
bool show(C const& container, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
522+
bool show(C const& container, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
523523

524524
template<typename C,
525525
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
@@ -531,7 +531,7 @@ bool save(C const& container, const string& filename, const configSaveToDisk& co
531531
template<typename C, //https://devblogs.microsoft.com/oldnewthing/20190619-00/?p=102599
532532
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
533533
typename = std::enable_if_t<std::is_convertible_v<T, double>> >
534-
bool show(C const& containerX, C const& containerY, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
534+
bool show(C const& containerX, C const& containerY, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
535535

536536
template<typename C, //https://devblogs.microsoft.com/oldnewthing/20190619-00/?p=102599
537537
typename T = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
@@ -544,7 +544,7 @@ template<typename C,
544544
typename E = std::decay_t<decltype(*std::begin(std::declval<C>()))>,
545545
typename T = std::decay_t<decltype(*std::begin(std::declval<E>()))>,
546546
typename = std::enable_if_t<std::is_convertible_v<T, double>> >
547-
bool show(C const& container_of_containers, const string& htmlPageName = dvs::kAppName, const Config& configuration = Config());
547+
bool show(C const& container_of_containers, const string& htmlPageName = dvs::makeUniqueDavisHtmlName(), const Config& configuration = Config());
548548

549549
template<typename C,
550550
typename E = std::decay_t<decltype(*std::begin(std::declval<C>()))>,

0 commit comments

Comments
 (0)