diff --git a/container/plugins/root/example.cc b/container/plugins/root/example.cc index 23b0248..19234bc 100644 --- a/container/plugins/root/example.cc +++ b/container/plugins/root/example.cc @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2024-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -22,14 +22,14 @@ // NOTE: API headers are included by default -//! \namespace docker_finance::plugin +//! \namespace dfi::plugin //! \brief docker-finance plugins //! \warning All plugins (repo/custom) must exist within this namespace //! and work within their own inner namespace //! \since docker-finance 1.0.0 -namespace docker_finance::plugin +namespace dfi::plugin { -//! \namespace docker_finance::plugin::my_plugin_namespace +//! \namespace dfi::plugin::my_plugin_namespace //! \brief docker-finance plugin example namespace //! \details An example namespace used only within this example file //! \warning Not a real namespace - for example purposes only @@ -43,8 +43,8 @@ namespace my_plugin_namespace //! \ingroup cpp_plugin_impl void example1() { - using g_Random = docker_finance::crypto::cryptopp::Random; - using g_Hash = docker_finance::crypto::libsodium::Hash; + using g_Random = dfi::crypto::cryptopp::Random; + using g_Hash = dfi::crypto::libsodium::Hash; g_Random r; g_Hash h; for (size_t i{}; i < std::numeric_limits::max(); i++) @@ -59,7 +59,7 @@ void example1() //! \ingroup cpp_plugin_impl void example2() { - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; auto print_env = [](const std::string& env) { std::cout << env << "=" << common::get_env(env) << "\n"; @@ -108,7 +108,7 @@ void example2() //! \ingroup cpp_plugin_impl void example3() { - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; const std::string base{ common::get_env("global_basename") + " " @@ -139,6 +139,6 @@ void example3() } } // namespace my_plugin_namespace -} // namespace docker_finance::plugin +} // namespace dfi::plugin // # vim: sw=2 sts=2 si ai et diff --git a/container/src/root/macro/common/crypto.hh b/container/src/root/macro/common/crypto.hh index 03252b8..276ccfb 100644 --- a/container/src/root/macro/common/crypto.hh +++ b/container/src/root/macro/common/crypto.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -28,27 +28,27 @@ #include "../../src/hash.hh" #include "../../src/random.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::common +//! \namespace dfi::macro::common //! \brief Shared ROOT macro-related functionality //! \since docker-finance 1.0.0 namespace common { -//! \namespace docker_finance::macro::common::crypto::botan +//! \namespace dfi::macro::common::crypto::botan //! \since docker-finance 1.0.0 namespace crypto::botan { //! \brief ROOT's Botan Hash class //! \ingroup cpp_macro -using Hash = ::docker_finance::crypto::botan::Hash; +using Hash = ::dfi::crypto::botan::Hash; //! \brief ROOT's Botan Hash instance //! \ingroup cpp_macro @@ -56,20 +56,20 @@ auto g_Hash = std::make_unique(); //! \brief ROOT's Botan Random class //! \ingroup cpp_macro -using Random = ::docker_finance::crypto::botan::Random; +using Random = ::dfi::crypto::botan::Random; //! \brief ROOT's Botan Random instance //! \ingroup cpp_macro auto g_Random = std::make_unique(); } // namespace crypto::botan -//! \namespace docker_finance::macro::common::crypto::cryptopp +//! \namespace dfi::macro::common::crypto::cryptopp //! \since docker-finance 1.0.0 namespace crypto::cryptopp { //! \brief ROOT's Crypto++ Hash class //! \ingroup cpp_macro -using Hash = ::docker_finance::crypto::cryptopp::Hash; +using Hash = ::dfi::crypto::cryptopp::Hash; //! \brief ROOT's Crypto++ Hash instance //! \ingroup cpp_macro @@ -77,20 +77,20 @@ auto g_Hash = std::make_unique(); //! \brief ROOT's Crypto++ Random class //! \ingroup cpp_macro -using Random = ::docker_finance::crypto::cryptopp::Random; +using Random = ::dfi::crypto::cryptopp::Random; //! \brief ROOT's Crypto++ Random instance //! \ingroup cpp_macro auto g_Random = std::make_unique(); } // namespace crypto::cryptopp -//! \namespace docker_finance::macro::common::crypto::libsodium +//! \namespace dfi::macro::common::crypto::libsodium //! \since docker-finance 1.0.0 namespace crypto::libsodium { //! \brief ROOT's libsodium Hash class //! \ingroup cpp_macro -using Hash = ::docker_finance::crypto::libsodium::Hash; +using Hash = ::dfi::crypto::libsodium::Hash; //! \brief ROOT's libsodium Hash instance //! \ingroup cpp_macro @@ -98,7 +98,7 @@ auto g_Hash = std::make_unique(); //! \brief ROOT's libsodium Random class //! \ingroup cpp_macro -using Random = ::docker_finance::crypto::libsodium::Random; +using Random = ::dfi::crypto::libsodium::Random; //! \brief ROOT's libsodium Random instance //! \ingroup cpp_macro @@ -107,7 +107,7 @@ auto g_Random = std::make_unique(); } // namespace common } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_COMMON_CRYPTO_HH_ diff --git a/container/src/root/macro/common/server.hh b/container/src/root/macro/common/server.hh index 03412ac..da29ebb 100644 --- a/container/src/root/macro/common/server.hh +++ b/container/src/root/macro/common/server.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,16 +27,16 @@ #include -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::common +//! \namespace dfi::macro::common //! \brief Shared ROOT macro-related functionality //! \since docker-finance 1.0.0 namespace common @@ -47,7 +47,7 @@ namespace common auto g_HTTPServer = std::make_unique<::THttpServer>("http:8080"); } // namespace common } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_COMMON_SERVER_HH_ diff --git a/container/src/root/macro/common/utility.hh b/container/src/root/macro/common/utility.hh index 8d308df..83929d4 100644 --- a/container/src/root/macro/common/utility.hh +++ b/container/src/root/macro/common/utility.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,16 +29,16 @@ #include #include -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::common +//! \namespace dfi::macro::common //! \brief Shared ROOT macro-related functionality //! \since docker-finance 1.0.0 namespace common @@ -122,7 +122,7 @@ std::string make_timestamp() //! \ingroup cpp_macro //! \details //! Example: -//!
  root [0] docker_finance::macro::load("test/unit.C")
+//!
  root [0] dfi::macro::load("test/unit.C")
//! //! Will load: //!
  root/macro/test/unit.C
@@ -137,7 +137,7 @@ void load(const std::string& path) //! \ingroup cpp_macro //! \details //! Example: -//!
  root [0] docker_finance::macro::load({"test/unit.C", "../src/hash.hh"})
+//!
  root [0] dfi::macro::load({"test/unit.C", "../src/hash.hh"})
//! //! Will load: //!
  root/macro/test/unit.C and root/src/hash.hh
@@ -150,7 +150,7 @@ void load(const std::initializer_list& paths) } } // namespace macro -//! \namespace docker_finance::plugin +//! \namespace dfi::plugin //! \brief docker-finance plugins //! \warning All plugins (repo/custom) must exist within this namespace //! and work within their own inner namespace @@ -165,13 +165,13 @@ namespace plugin //! \ingroup cpp_plugin //! \details //! Example: -//!
  root [0] docker_finance::plugin::load("repo/example.cc")
+//!
  root [0] dfi::plugin::load("repo/example.cc")
//! //! Will load: //!
  ${DOCKER_FINANCE_CONTAINER_REPO}/plugins/root/example.cc
//! //! Example: -//!
  root [0] docker_finance::plugin::load("custom/example.cc")
+//!
  root [0] dfi::plugin::load("custom/example.cc")
//! //! Will load: //!
  ${DOCKER_FINANCE_CLIENT_PLUGINS}/root/example.cc
@@ -214,7 +214,7 @@ void load(const std::string& path) //! a client-side end-user's custom plugin path. //! \details //! Example: -//!
  root [0] docker_finance::plugin::load({"repo/example.cc", "custom/example.cc"})
+//!
  root [0] dfi::plugin::load({"repo/example.cc", "custom/example.cc"})
//! //! Will load: //!
  ${DOCKER_FINANCE_CONTAINER_REPO}/plugins/root/example.cc @@ -227,7 +227,7 @@ void load(const std::initializer_list& paths) macro::common::Command::load(path); } } // namespace plugin -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_COMMON_UTILITY_HH_ diff --git a/container/src/root/macro/crypto/hash.C b/container/src/root/macro/crypto/hash.C index c7b8a1d..d1a9998 100644 --- a/container/src/root/macro/crypto/hash.C +++ b/container/src/root/macro/crypto/hash.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2024-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,21 +29,21 @@ #include "../common/crypto.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::crypto +//! \namespace dfi::macro::crypto //! \brief ROOT cryptographic-based macros //! \since docker-finance 1.0.0 namespace crypto { -namespace common = ::docker_finance::macro::common; +namespace common = ::dfi::macro::common; namespace libsodium = common::crypto::libsodium; namespace cryptopp = common::crypto::cryptopp; namespace botan = common::crypto::botan; @@ -248,7 +248,7 @@ class Hash final }; } // namespace crypto } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_CRYPTO_HASH_C_ diff --git a/container/src/root/macro/crypto/random.C b/container/src/root/macro/crypto/random.C index 0f7f7cf..8ae9861 100644 --- a/container/src/root/macro/crypto/random.C +++ b/container/src/root/macro/crypto/random.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2024-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,21 +29,21 @@ #include "../common/crypto.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::crypto +//! \namespace dfi::macro::crypto //! \brief ROOT cryptographic-based macros //! \since docker-finance 1.0.0 namespace crypto { -namespace common = ::docker_finance::macro::common; +namespace common = ::dfi::macro::common; namespace libsodium = common::crypto::libsodium; namespace cryptopp = common::crypto::cryptopp; namespace botan = common::crypto::botan; @@ -134,7 +134,7 @@ class Random final }; } // namespace crypto } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_CRYPTO_RANDOM_C_ diff --git a/container/src/root/macro/rootlogon.C b/container/src/root/macro/rootlogon.C index ce2ed8d..ab21aaa 100644 --- a/container/src/root/macro/rootlogon.C +++ b/container/src/root/macro/rootlogon.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -28,11 +28,11 @@ // NOTE: the one-and-only header at startup that's not manually loaded #include "./common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro @@ -62,9 +62,9 @@ void help() << " numbers:\n" << "\n" << " root [0] using g_Random = " - "docker_finance::crypto::cryptopp::Random;\n" + "dfi::crypto::cryptopp::Random;\n" << " root [1] using g_Hash = " - "docker_finance::crypto::libsodium::Hash;\n" + "dfi::crypto::libsodium::Hash;\n" << " root [2] g_Random r; g_Hash h;\n" << " root [3] for (size_t i{}; i < " "std::numeric_limits::max(); i++) {\n" @@ -81,7 +81,7 @@ void help() << "\n" << " 2. Use Tools utility\n" << "\n" - << " root [0] docker_finance::utility::Tools tools;\n" + << " root [0] dfi::utility::Tools tools;\n" << "\n" << " // Create a variable within interpreter\n" << " root [1] btc=0.87654321+0.12345678+0.00000078\n" @@ -112,18 +112,18 @@ void help() << " 1. Connect to docker-finance API via plugins:\n" << "\n" << " // Load and run an example repository plugin\n" - << " root [0] docker_finance::plugin::load(\"repo/example.cc\");\n" + << " root [0] dfi::plugin::load(\"repo/example.cc\");\n" << " root [1] " - "docker_finance::plugin::my_plugin_namespace::example1();\n" + "dfi::plugin::my_plugin_namespace::example1();\n" << " root [2] " - "docker_finance::plugin::my_plugin_namespace::example2();\n" + "dfi::plugin::my_plugin_namespace::example2();\n" << " root [3] " - "docker_finance::plugin::my_plugin_namespace::example3();\n" + "dfi::plugin::my_plugin_namespace::example3();\n" << "\n" << " // Load and run your own custom plugin\n" - << " root [4] docker_finance::plugin::load(\"custom/example.cc\");\n" + << " root [4] dfi::plugin::load(\"custom/example.cc\");\n" << " root [5] " - "docker_finance::plugin::your_plugin_namespace::example();\n" + "dfi::plugin::your_plugin_namespace::example();\n" << "\n" << "Macros:\n" << "\n" @@ -131,28 +131,28 @@ void help() << "\n" << " 1. Load and run docker-finance unit tests and benchmarks:\n" << "\n" - << " root [0] docker_finance::macro::load(\"test/unit.C\")\n" - << " root [1] docker_finance::macro::test::Unit::run()\n" + << " root [0] dfi::macro::load(\"test/unit.C\")\n" + << " root [1] dfi::macro::test::Unit::run()\n" << " ...\n" - << " root [2] docker_finance::macro::load(\"test/benchmark.C\")\n" - << " root [3] docker_finance::macro::test::Benchmark::run()\n" + << " root [2] dfi::macro::load(\"test/benchmark.C\")\n" + << " root [3] dfi::macro::test::Benchmark::run()\n" << " ...\n" << "\n" << " 2. Load and run docker-finance cryptographic macros:\n" << "\n" - << " root [0] docker_finance::macro::load(\"crypto/hash.C\")\n" + << " root [0] dfi::macro::load(\"crypto/hash.C\")\n" << " root [1] " - << "docker_finance::macro::crypto::Hash::run(\"better to be raw than " + << "dfi::macro::crypto::Hash::run(\"better to be raw than " "digested\")\n" << " ...\n" - << " root [2] docker_finance::macro::load(\"crypto/random.C\")\n" - << " root [3] docker_finance::macro::crypto::Random::run()\n" + << " root [2] dfi::macro::load(\"crypto/random.C\")\n" + << " root [3] dfi::macro::crypto::Random::run()\n" << " ...\n" << "\n" << " 3. Load ROOT webserver and run commands for metadata analysis:\n" << "\n" - << " root [0] docker_finance::macro::load(\"web/server.C\")\n" - << " root [1] docker_finance::macro::web::Server::run()\n" + << " root [0] dfi::macro::load(\"web/server.C\")\n" + << " root [1] dfi::macro::web::Server::run()\n" << "\n" << " Now, open your web browser to http://127.0.0.1:8080\n" << "\n" @@ -168,12 +168,12 @@ void help() // TODO(unassigned): add multi-threading example of generating numbers and/or hashes } } // namespace macro -} // namespace docker_finance +} // namespace dfi //! \ingroup cpp_macro void help() { - docker_finance::macro::help(); + dfi::macro::help(); } //! \brief ROOT logon macro, runs on `root` startup diff --git a/container/src/root/macro/test/benchmark.C b/container/src/root/macro/test/benchmark.C index fba4ae5..975e3e4 100644 --- a/container/src/root/macro/test/benchmark.C +++ b/container/src/root/macro/test/benchmark.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -30,16 +30,16 @@ #include "../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::test +//! \namespace dfi::macro::test //! \brief ROOT macros for docker-finance testing //! \since docker-finance 1.0.0 namespace test @@ -70,7 +70,7 @@ class Benchmark {"../test/benchmark/random.hh"}, {"../test/benchmark/utility.hh"}}; - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; if (!loaded) { common::Command::load(paths); @@ -87,7 +87,7 @@ class Benchmark }; } // namespace test } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_TEST_BENCHMARK_C_ diff --git a/container/src/root/macro/test/unit.C b/container/src/root/macro/test/unit.C index 6457fc5..37abafe 100644 --- a/container/src/root/macro/test/unit.C +++ b/container/src/root/macro/test/unit.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -30,16 +30,16 @@ #include "../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::test +//! \namespace dfi::macro::test //! \brief ROOT macros for docker-finance testing //! \since docker-finance 1.0.0 namespace test @@ -71,7 +71,7 @@ class Unit {"../test/unit/type.hh"}, {"../test/unit/utility.hh"}}; - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; if (!loaded) { common::Command::load(paths); @@ -84,7 +84,7 @@ class Unit }; } // namespace test } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_TEST_UNIT_C_ diff --git a/container/src/root/macro/web/internal/crypto.C b/container/src/root/macro/web/internal/crypto.C index c7e15a1..4d4b0a4 100644 --- a/container/src/root/macro/web/internal/crypto.C +++ b/container/src/root/macro/web/internal/crypto.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -36,21 +36,21 @@ #include "../../common/crypto.hh" #include "../../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::web +//! \namespace dfi::macro::web //! \brief ROOT web-based macros //! \since docker-finance 1.0.0 namespace web { -//! \namespace docker_finance::macro::web::internal +//! \namespace dfi::macro::web::internal //! \brief ROOT web-based macros for internal use only //! \since docker-finance 1.0.0 namespace internal @@ -343,7 +343,7 @@ class Random final Random::fun_facts(c2, data); }); - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; const std::string timestamp{common::make_timestamp()}; @@ -368,7 +368,7 @@ class Random final } // namespace internal } // namespace web } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_WEB_INTERNAL_CRYPTO_C_ diff --git a/container/src/root/macro/web/internal/meta.C b/container/src/root/macro/web/internal/meta.C index 3257108..2d1fed8 100644 --- a/container/src/root/macro/web/internal/meta.C +++ b/container/src/root/macro/web/internal/meta.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -34,21 +34,21 @@ #include "../../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::web +//! \namespace dfi::macro::web //! \brief ROOT web-based macros //! \since docker-finance 1.0.0 namespace web { -//! \namespace docker_finance::macro::web::internal +//! \namespace dfi::macro::web::internal //! \brief ROOT web-based macros for internal use only //! \since docker-finance 1.0.0 namespace internal @@ -184,7 +184,7 @@ class Meta final //! \param column Existing CSV metadata column static void meta_sample(const std::string& column) { - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; // Import meta file const std::string path{common::get_env("global_conf_meta")}; @@ -231,7 +231,7 @@ class Meta final } // namespace internal } // namespace web } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_WEB_INTERNAL_META_C_ diff --git a/container/src/root/macro/web/server.C b/container/src/root/macro/web/server.C index b875d10..483aa4f 100644 --- a/container/src/root/macro/web/server.C +++ b/container/src/root/macro/web/server.C @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -26,16 +26,16 @@ #include "../common/server.hh" #include "../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::macro +//! \namespace dfi::macro //! \brief ROOT macros //! \since docker-finance 1.0.0 namespace macro { -//! \namespace docker_finance::macro::web +//! \namespace dfi::macro::web //! \brief ROOT web-based macros //! \since docker-finance 1.0.0 namespace web @@ -60,18 +60,18 @@ class Server final //! \details Registers internal macros static void register_commands() { - namespace common = ::docker_finance::macro::common; + namespace common = ::dfi::macro::common; common::Command::load({"web/internal/crypto.C"}); common::g_HTTPServer->RegisterCommand( "/rng_sample", - "::docker_finance::macro::web::internal::Random::rng_sample(\"%arg1%" + "::dfi::macro::web::internal::Random::rng_sample(\"%arg1%" "\")"); common::Command::load({"web/internal/meta.C"}); common::g_HTTPServer->RegisterCommand( "/meta_sample", - "::docker_finance::macro::web::internal::Meta::meta_sample(\"%arg1%" + "::dfi::macro::web::internal::Meta::meta_sample(\"%arg1%" "\")"); } @@ -81,7 +81,7 @@ class Server final }; } // namespace web } // namespace macro -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_MACRO_WEB_SERVER_C_ diff --git a/container/src/root/src/hash.hh b/container/src/root/src/hash.hh index 5d2e2af..1dfca88 100644 --- a/container/src/root/src/hash.hh +++ b/container/src/root/src/hash.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,19 +29,19 @@ #include "./internal/impl/hash.hh" #include "./internal/type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::crypto +//! \namespace dfi::crypto //! \brief Cryptographical libraries //! \since docker-finance 1.0.0 namespace crypto { -namespace type = docker_finance::internal::type; +namespace type = dfi::internal::type; -//! \namespace docker_finance::crypto::common +//! \namespace dfi::crypto::common //! \brief Common "interface" (specializations) to library-specific implementations //! \warning Not for direct public consumption (use library namespace instead) //! \since docker-finance 1.0.0 @@ -172,7 +172,7 @@ class Hash final : public t_impl }; } // namespace common -//! \namespace docker_finance::crypto::botan +//! \namespace dfi::crypto::botan //! \brief Public-facing API namespace (Botan) //! \since docker-finance 1.0.0 namespace botan @@ -201,17 +201,17 @@ namespace botan //! Example:
//! \code{.cpp} //! // Hash encode with SHA256 -//! using Hash = docker_finance::crypto::botan::Hash; // inherits internal::type::Hash +//! using Hash = dfi::crypto::botan::Hash; // inherits internal::type::Hash //! Hash hash; hash.encode(data); //! \endcode //! //! \see crypto::common::Hash for API details //! \note For public consumption //! \since docker-finance 1.0.0 -using Hash = ::docker_finance::crypto::common::Hash; +using Hash = ::dfi::crypto::common::Hash; } // namespace botan -//! \namespace docker_finance::crypto::cryptopp +//! \namespace dfi::crypto::cryptopp //! \brief Public-facing API namespace (Crypto++) //! \since docker-finance 1.0.0 namespace cryptopp @@ -241,17 +241,17 @@ namespace cryptopp //! Example:
//! \code{.cpp} //! // Hash encode with SHA256 -//! using Hash = docker_finance::crypto::cryptopp::Hash; // inherits internal::type::Hash +//! using Hash = dfi::crypto::cryptopp::Hash; // inherits internal::type::Hash //! Hash hash; hash.encode(data); //! \endcode //! //! \see crypto::common::Hash for API details //! \note For public consumption //! \since docker-finance 1.0.0 -using Hash = ::docker_finance::crypto::common::Hash; +using Hash = ::dfi::crypto::common::Hash; } // namespace cryptopp -//! \namespace docker_finance::crypto::libsodium +//! \namespace dfi::crypto::libsodium //! \brief Public-facing API namespace (libsodium) //! \since docker-finance 1.0.0 namespace libsodium @@ -267,18 +267,18 @@ namespace libsodium //! Example:
//! \code{.cpp} //! // Hash encode with SHA256 -//! using Hash = docker_finance::crypto::libsodium::Hash; // inherits internal::type::Hash +//! using Hash = dfi::crypto::libsodium::Hash; // inherits internal::type::Hash //! Hash hash; hash.encode(data); //! \endcode //! //! \see crypto::common::Hash for API details //! \note For public consumption //! \since docker-finance 1.0.0 -using Hash = ::docker_finance::crypto::common::Hash; +using Hash = ::dfi::crypto::common::Hash; } // namespace libsodium } // namespace crypto -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_HASH_HH_ diff --git a/container/src/root/src/internal/generic.hh b/container/src/root/src/internal/generic.hh index 18ee9e7..c3eaa9a 100644 --- a/container/src/root/src/internal/generic.hh +++ b/container/src/root/src/internal/generic.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -38,11 +38,11 @@ #include "./type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::internal +//! \namespace dfi::internal //! \brief For internal use only //! \since docker-finance 1.0.0 namespace internal @@ -323,7 +323,7 @@ class Random : private ImplBase }; } // namespace internal -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_INTERNAL_GENERIC_HH_ diff --git a/container/src/root/src/internal/impl/hash.hh b/container/src/root/src/internal/impl/hash.hh index 54a3682..a4a99e5 100644 --- a/container/src/root/src/internal/impl/hash.hh +++ b/container/src/root/src/internal/impl/hash.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -44,24 +44,24 @@ #include "../generic.hh" #include "../type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::crypto +//! \namespace dfi::crypto //! \brief Cryptographical libraries //! \since docker-finance 1.0.0 namespace crypto { -//! \namespace docker_finance::crypto::impl +//! \namespace dfi::crypto::impl //! \brief Cryptographical library implementations //! \since docker-finance 1.0.0 namespace impl { -namespace type = docker_finance::internal::type; +namespace type = dfi::internal::type; -//! \namespace docker_finance::crypto::impl::common +//! \namespace dfi::crypto::impl::common //! \brief Common implementation among all crypto implementations //! \since docker-finance 1.0.0 namespace common @@ -71,7 +71,7 @@ namespace common //! \since docker-finance 1.0.0 //! \todo Hash-type implementations only template -class HashImpl : public ::docker_finance::internal::Transform +class HashImpl : public ::dfi::internal::Transform { public: HashImpl() = default; @@ -147,7 +147,7 @@ class HashImpl : public ::docker_finance::internal::Transform }; } // namespace common -//! \namespace docker_finance::crypto::impl::botan +//! \namespace dfi::crypto::impl::botan //! \since docker-finance 1.0.0 namespace botan { @@ -269,7 +269,7 @@ class Hash : public common::HashImpl, public type::Hash }; } // namespace botan -//! \namespace docker_finance::crypto::impl::cryptopp +//! \namespace dfi::crypto::impl::cryptopp //! \since docker-finance 1.0.0 namespace cryptopp { @@ -409,7 +409,7 @@ class Hash : public common::HashImpl, public type::Hash }; } // namespace cryptopp -//! \namespace docker_finance::crypto::impl::libsodium +//! \namespace dfi::crypto::impl::libsodium //! \since docker-finance 1.0.0 namespace libsodium { @@ -513,7 +513,7 @@ class Hash : public common::HashImpl, public type::Hash } // namespace impl } // namespace crypto -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_INTERNAL_IMPL_HASH_HH_ diff --git a/container/src/root/src/internal/impl/random.hh b/container/src/root/src/internal/impl/random.hh index 560cd37..837823e 100644 --- a/container/src/root/src/internal/impl/random.hh +++ b/container/src/root/src/internal/impl/random.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -35,34 +35,34 @@ #include "../generic.hh" #include "../type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::crypto +//! \namespace dfi::crypto //! \brief Cryptographical libraries //! \since docker-finance 1.0.0 namespace crypto { -//! \namespace docker_finance::crypto::impl +//! \namespace dfi::crypto::impl //! \brief Cryptographical library implementations //! \since docker-finance 1.0.0 namespace impl { -//! \namespace docker_finance::crypto::impl::common +//! \namespace dfi::crypto::impl::common //! \brief Common implementation among all crypto implementations //! \since docker-finance 1.0.0 namespace common { -namespace type = docker_finance::internal::type; +namespace type = dfi::internal::type; //! \brief Generic Random implementation common among all library-specific implementations //! \ingroup cpp_API_impl //! \since docker-finance 1.0.0 //! \todo Random-type implementations only template -class RandomImpl : public ::docker_finance::internal::Random +class RandomImpl : public ::dfi::internal::Random { public: RandomImpl() = default; @@ -87,7 +87,7 @@ class RandomImpl : public ::docker_finance::internal::Random }; } // namespace common -//! \namespace docker_finance::crypto::impl::botan +//! \namespace dfi::crypto::impl::botan //! \since docker-finance 1.0.0 namespace botan { @@ -147,7 +147,7 @@ class Random : public common::RandomImpl }; } // namespace botan -//! \namespace docker_finance::crypto::impl::cryptopp +//! \namespace dfi::crypto::impl::cryptopp //! \since docker-finance 1.0.0 namespace cryptopp { @@ -201,7 +201,7 @@ class Random : public common::RandomImpl }; } // namespace cryptopp -//! \namespace docker_finance::crypto::impl::libsodium +//! \namespace dfi::crypto::impl::libsodium //! \since docker-finance 1.0.0 namespace libsodium { @@ -265,7 +265,7 @@ class Random : public common::RandomImpl } // namespace impl } // namespace crypto -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_INTERNAL_IMPL_RANDOM_HH_ diff --git a/container/src/root/src/internal/impl/utility.hh b/container/src/root/src/internal/impl/utility.hh index 19c6fe5..3fd912c 100644 --- a/container/src/root/src/internal/impl/utility.hh +++ b/container/src/root/src/internal/impl/utility.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -33,22 +33,22 @@ #include "../generic.hh" #include "../type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::utility +//! \namespace dfi::utility //! \brief Various docker-finance utilities //! \since docker-finance 1.0.0 namespace utility { -//! \namespace docker_finance::utility::impl +//! \namespace dfi::utility::impl //! \brief Implementations of various docker-finance utilities //! \since docker-finance 1.0.0 namespace impl { -namespace type = docker_finance::internal::type; +namespace type = dfi::internal::type; //! \brief Misc tools //! \ingroup cpp_API_impl @@ -200,13 +200,13 @@ class Tools } private: - ::docker_finance::crypto::cryptopp::Random m_random; + ::dfi::crypto::cryptopp::Random m_random; }; //! \brief Implements Byte transformer //! \ingroup cpp_API_impl //! \since docker-finance 1.0.0 -class Byte : public ::docker_finance::internal::Transform +class Byte : public ::dfi::internal::Transform { public: Byte() = default; @@ -236,7 +236,7 @@ class Byte : public ::docker_finance::internal::Transform }; } // namespace impl } // namespace utility -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_INTERNAL_IMPL_UTILITY_HH_ diff --git a/container/src/root/src/internal/type.hh b/container/src/root/src/internal/type.hh index b6143c6..abb38d6 100644 --- a/container/src/root/src/internal/type.hh +++ b/container/src/root/src/internal/type.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -55,16 +55,16 @@ //! \ingroup cpp_type_exceptions #define THROW_IMPL_EXPAND(message) #message -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::internal +//! \namespace dfi::internal //! \brief For internal use only //! \since docker-finance 1.0.0 namespace internal { -//! \namespace docker_finance::internal::type +//! \namespace dfi::internal::type //! \brief docker-finance defined types //! \since docker-finance 1.0.0 //! \todo *_v for all the booleans @@ -366,7 +366,7 @@ struct Hash } // namespace type } // namespace internal -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_INTERNAL_TYPE_HH_ diff --git a/container/src/root/src/random.hh b/container/src/root/src/random.hh index 4048538..b5feef5 100644 --- a/container/src/root/src/random.hh +++ b/container/src/root/src/random.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,16 +29,16 @@ #include "./internal/impl/random.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::crypto +//! \namespace dfi::crypto //! \brief Cryptographical libraries //! \since docker-finance 1.0.0 namespace crypto { -//! \namespace docker_finance::crypto::common +//! \namespace dfi::crypto::common //! \brief Common "interface" (specializations) to library-specific implementations //! \warning Not for direct public consumption (use library namespace instead) //! \since docker-finance 1.0.0 @@ -79,7 +79,7 @@ class Random final : public t_impl }; } // namespace common -//! \namespace docker_finance::crypto::botan +//! \namespace dfi::crypto::botan //! \brief Public-facing API namespace (Botan) //! \since docker-finance 1.0.0 namespace botan @@ -88,10 +88,10 @@ namespace botan //! \ingroup cpp_API //! \note For public consumption //! \since docker-finance 1.0.0 -using Random = ::docker_finance::crypto::common::Random; +using Random = ::dfi::crypto::common::Random; } // namespace botan -//! \namespace docker_finance::crypto::cryptopp +//! \namespace dfi::crypto::cryptopp //! \brief Public-facing API namespace (Crypto++) //! \since docker-finance 1.0.0 namespace cryptopp @@ -100,10 +100,10 @@ namespace cryptopp //! \ingroup cpp_API //! \note For public consumption //! \since docker-finance 1.0.0 -using Random = ::docker_finance::crypto::common::Random; +using Random = ::dfi::crypto::common::Random; } // namespace cryptopp -//! \namespace docker_finance::crypto::libsodium +//! \namespace dfi::crypto::libsodium //! \brief Public-facing API namespace (libsodium) //! \since docker-finance 1.0.0 namespace libsodium @@ -113,11 +113,11 @@ namespace libsodium //! \note For public consumption //! \since docker-finance 1.0.0 using Random = - ::docker_finance::crypto::common::Random; + ::dfi::crypto::common::Random; } // namespace libsodium } // namespace crypto -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_RANDOM_HH_ diff --git a/container/src/root/src/utility.hh b/container/src/root/src/utility.hh index 82c9b55..e2a0088 100644 --- a/container/src/root/src/utility.hh +++ b/container/src/root/src/utility.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -33,17 +33,17 @@ #include "./internal/impl/utility.hh" #include "./internal/type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::utility +//! \namespace dfi::utility //! \brief Various docker-finance utilities //! \since docker-finance 1.0.0 namespace utility { -namespace type = docker_finance::internal::type; +namespace type = dfi::internal::type; //! \brief Misc utility tools //! \ingroup cpp_utils @@ -198,7 +198,7 @@ class Byte final : public impl::Byte }; } // namespace utility -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_SRC_UTILITY_HH_ diff --git a/container/src/root/test/benchmark/hash.hh b/container/src/root/test/benchmark/hash.hh index 8c9a1e6..43c24fc 100644 --- a/container/src/root/test/benchmark/hash.hh +++ b/container/src/root/test/benchmark/hash.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -39,17 +39,17 @@ #include "../common/hash.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::benchmarks +//! \namespace dfi::tests::benchmarks //! \brief docker-finance benchmark cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -592,7 +592,7 @@ BENCHMARK_F(HashLibsodium, SHA2_512)(::benchmark::State& state) // NOLINT } } // namespace benchmarks } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_BENCHMARK_HASH_HH_ diff --git a/container/src/root/test/benchmark/random.hh b/container/src/root/test/benchmark/random.hh index 93d0097..9d836bb 100644 --- a/container/src/root/test/benchmark/random.hh +++ b/container/src/root/test/benchmark/random.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,17 +27,17 @@ #include "../common/random.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::benchmarks +//! \namespace dfi::tests::benchmarks //! \brief docker-finance benchmark cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -130,7 +130,7 @@ BENCHMARK_F(RandomLibsodium, generate)(::benchmark::State& state) // NOLINT } } // namespace benchmarks } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_BENCHMARK_RANDOM_HH_ diff --git a/container/src/root/test/benchmark/utility.hh b/container/src/root/test/benchmark/utility.hh index 7a087c1..f6d756e 100644 --- a/container/src/root/test/benchmark/utility.hh +++ b/container/src/root/test/benchmark/utility.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,17 +27,17 @@ #include "../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::benchmarks +//! \namespace dfi::tests::benchmarks //! \brief docker-finance benchmark cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -133,7 +133,7 @@ BENCHMARK_F(Tools, random_dist_TRandomRanluxpp) } // namespace benchmarks } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_BENCHMARK_UTILITY_HH_ diff --git a/container/src/root/test/common/hash.hh b/container/src/root/test/common/hash.hh index 07db833..eb761d9 100644 --- a/container/src/root/test/common/hash.hh +++ b/container/src/root/test/common/hash.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -34,13 +34,13 @@ #include "../../src/hash.hh" -namespace type = docker_finance::internal::type; +namespace type = dfi::internal::type; -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -128,7 +128,7 @@ struct HashInterface : protected HashData protected: //! \brief Hash mock implementation //! \since docker-finance 1.0.0 - struct HashImpl : public ::docker_finance::internal::Transform, + struct HashImpl : public ::dfi::internal::Transform, public type::Hash { //! \brief Implements trivial type mock Hash encoder @@ -170,7 +170,7 @@ struct HashInterface : protected HashData } }; - using Hash = ::docker_finance::crypto::common::Hash; + using Hash = ::dfi::crypto::common::Hash; Hash hash; }; @@ -1996,7 +1996,7 @@ struct HashData_SHAKE256 : protected HashData struct HashBotan_Impl { protected: - using Hash = ::docker_finance::crypto::botan::Hash; + using Hash = ::dfi::crypto::botan::Hash; Hash hash; }; @@ -2009,7 +2009,7 @@ struct HashBotan_Impl struct HashCryptoPP_Impl { protected: - using Hash = ::docker_finance::crypto::cryptopp::Hash; + using Hash = ::dfi::crypto::cryptopp::Hash; Hash hash; }; @@ -2022,11 +2022,11 @@ struct HashCryptoPP_Impl struct HashLibsodium_Impl { protected: - using Hash = ::docker_finance::crypto::libsodium::Hash; + using Hash = ::dfi::crypto::libsodium::Hash; Hash hash; }; } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_COMMON_HASH_HH_ diff --git a/container/src/root/test/common/random.hh b/container/src/root/test/common/random.hh index c752248..3b83312 100644 --- a/container/src/root/test/common/random.hh +++ b/container/src/root/test/common/random.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,11 +29,11 @@ #include "../../src/random.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -46,21 +46,21 @@ struct RandomInterface protected: //! \brief Random mock implementation //! \since docker-finance 1.0.0 - struct RandomImpl : public ::docker_finance::internal::Random + struct RandomImpl : public ::dfi::internal::Random { //! \brief Implements mock Random generator template t_random generate_impl() { static_assert( - ::docker_finance::internal::type::is_real_integral::value, + ::dfi::internal::type::is_real_integral::value, "Random interface has changed"); return t_random{std::numeric_limits::max()}; } }; - using Random = ::docker_finance::crypto::common::Random; + using Random = ::dfi::crypto::common::Random; Random random; }; @@ -69,7 +69,7 @@ struct RandomInterface struct RandomBotan_Impl { protected: - using Random = ::docker_finance::crypto::botan::Random; + using Random = ::dfi::crypto::botan::Random; Random random; }; @@ -78,7 +78,7 @@ struct RandomBotan_Impl struct RandomCryptoPP_Impl { protected: - using Random = ::docker_finance::crypto::cryptopp::Random; + using Random = ::dfi::crypto::cryptopp::Random; Random random; }; @@ -87,11 +87,11 @@ struct RandomCryptoPP_Impl struct RandomLibsodium_Impl { protected: - using Random = ::docker_finance::crypto::libsodium::Random; + using Random = ::dfi::crypto::libsodium::Random; Random random; }; } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_COMMON_RANDOM_HH_ diff --git a/container/src/root/test/common/type.hh b/container/src/root/test/common/type.hh index bc5ef9f..0a4b3d0 100644 --- a/container/src/root/test/common/type.hh +++ b/container/src/root/test/common/type.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,17 +29,17 @@ #include "../../src/internal/type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::unit +//! \namespace dfi::tests::unit //! \brief docker-finance unit test cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -55,7 +55,7 @@ struct Exception : public ::testing::Test }; } // namespace unit } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_COMMON_TYPE_HH_ diff --git a/container/src/root/test/common/utility.hh b/container/src/root/test/common/utility.hh index fca372d..572877d 100644 --- a/container/src/root/test/common/utility.hh +++ b/container/src/root/test/common/utility.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -30,11 +30,11 @@ #include "../../src/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -46,9 +46,9 @@ struct ToolsFixture { //! \brief Tools implementation wrapper //! \since docker-finance 1.0.0 - struct ToolsImpl : public ::docker_finance::utility::impl::Tools + struct ToolsImpl : public ::dfi::utility::impl::Tools { - using t_impl = ::docker_finance::utility::impl::Tools; + using t_impl = ::dfi::utility::impl::Tools; template std::vector @@ -68,7 +68,7 @@ struct ToolsFixture struct ByteFixture { protected: - using t_byte = ::docker_finance::utility::Byte; + using t_byte = ::dfi::utility::Byte; //! \since docker-finance 1.0.0 template @@ -94,7 +94,7 @@ struct ByteFixture t_byte byte; }; } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_COMMON_UTILITY_HH_ diff --git a/container/src/root/test/unit/hash.hh b/container/src/root/test/unit/hash.hh index 7bd38c0..5f979e2 100644 --- a/container/src/root/test/unit/hash.hh +++ b/container/src/root/test/unit/hash.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -41,17 +41,17 @@ #include "../common/hash.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::unit +//! \namespace dfi::tests::unit //! \brief docker-finance unit test cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -715,7 +715,7 @@ TEST_F(HashLibsodium_SHA2_512, encode) } } // namespace unit } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_UNIT_HASH_HH_ diff --git a/container/src/root/test/unit/random.hh b/container/src/root/test/unit/random.hh index 4cda322..b74e361 100644 --- a/container/src/root/test/unit/random.hh +++ b/container/src/root/test/unit/random.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -31,17 +31,17 @@ #include "../common/random.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::unit +//! \namespace dfi::tests::unit //! \brief docker-finance unit test cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -178,7 +178,7 @@ TEST_F(RandomLibsodium, generate_uint32_t) } // namespace unit } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_UNIT_RANDOM_HH_ diff --git a/container/src/root/test/unit/type.hh b/container/src/root/test/unit/type.hh index 831bbae..414a3f8 100644 --- a/container/src/root/test/unit/type.hh +++ b/container/src/root/test/unit/type.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,17 +29,17 @@ #include "../common/type.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::unit +//! \namespace dfi::tests::unit //! \brief docker-finance unit test cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -236,7 +236,7 @@ TEST_F(InvalidArgument, move_ctor) } // namespace unit } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_UNIT_TYPE_HH_ diff --git a/container/src/root/test/unit/utility.hh b/container/src/root/test/unit/utility.hh index 6f29275..4cca4e4 100644 --- a/container/src/root/test/unit/utility.hh +++ b/container/src/root/test/unit/utility.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -41,17 +41,17 @@ #include "../common/utility.hh" -//! \namespace docker_finance +//! \namespace dfi //! \since docker-finance 1.0.0 -namespace docker_finance +namespace dfi { -//! \namespace docker_finance::tests +//! \namespace dfi::tests //! \brief docker-finance common test framework //! \ingroup cpp_tests //! \since docker-finance 1.0.0 namespace tests { -//! \namespace docker_finance::tests::unit +//! \namespace dfi::tests::unit //! \brief docker-finance unit test cases //! \ingroup cpp_tests //! \since docker-finance 1.0.0 @@ -277,7 +277,7 @@ TEST_F(ByteTransform, unordered_set) } } // namespace unit } // namespace tests -} // namespace docker_finance +} // namespace dfi #endif // CONTAINER_SRC_ROOT_TEST_UNIT_UTILITY_HH_