forked from EvergreenCrypto/docker-finance
container: c++: dfi namespace refactor
Align with project alias, save the eyes and hands.
This commit is contained in:
@@ -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_
|
||||
|
||||
|
||||
@@ -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_
|
||||
|
||||
|
||||
@@ -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_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user