|
ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
|
Singleton configuration manager class. More...
#include <config.hpp>
Inheritance diagram for Config:
Collaboration diagram for Config:Public Member Functions | |
| Config (const Config &)=delete | |
| Deleted copy constructor. More... | |
| Config & | operator= (const Config &)=delete |
| Deleted assignment operator. More... | |
| void | setTestConfig () |
| Sets test configuration paths. More... | |
| void | setDefaultConfig () |
| Sets default production configuration paths. More... | |
Static Public Member Functions | |
| static Config & | config () |
| Gets the singleton configuration instance. More... | |
Protected Member Functions | |
| Config ()=default | |
| Protected constructor for singleton pattern. More... | |
Additional Inherited Members | |
Public Attributes inherited from arkanjo::ConfigSchema | |
| std::string | program_name = "arkanjo" |
| Name of the program. More... | |
| std::filesystem::path | base_path = "tmp/arkanjo" |
| Default base path for temporary files. More... | |
| std::filesystem::path | third_party_dir = "third-party" |
| Directory containing third-party dependencies. More... | |
| std::filesystem::path | name_container = "default" |
| Name of the cache container. More... | |
| std::string | project_version |
| Current project version. More... | |
| std::filesystem::path | source_path = "source" |
| Source subdirectory name. More... | |
| std::filesystem::path | header_path = "header" |
| Header subdirectory name. More... | |
| std::filesystem::path | info_path = "info" |
| Info subdirectory name. More... | |
| std::filesystem::path | similarity_path = "output_parsed.txt" |
| Similarity pairs file name. More... | |
| config::Theme | theme = config::Theme::Dark |
| Current terminal theme. More... | |
Singleton configuration manager class.
Manages application paths and runtime configuration settings. Implements the singleton pattern to ensure single instance access.
Definition at line 24 of file config.hpp.
|
protecteddefault |
Protected constructor for singleton pattern.
|
delete |
Deleted copy constructor.
|
static |
Gets the singleton configuration instance.
Definition at line 68 of file config.cpp.
| void Config::setDefaultConfig | ( | ) |
Sets default production configuration paths.
Definition at line 12 of file config.cpp.
| void Config::setTestConfig | ( | ) |
Sets test configuration paths.
Configures paths for end-to-end testing environment.
Definition at line 5 of file config.cpp.